Query time 0.00139
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "64.31"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "27.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 27,
"rows_produced_per_join": 27,
"filtered": "100.00",
"index_condition": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (13133,13132,13131,13130,13129,13128,13127,13148,13149,13159,13161,13157,13155,13153,13151,13152,13134,13136,13138,13140,12928,13142,13144,13146,12929)))",
"cost_info": {
"read_cost": "15.71",
"eval_cost": "2.70",
"prefix_cost": "18.41",
"data_read_per_join": "2K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"test2_gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.75",
"eval_cost": "2.70",
"prefix_cost": "27.86",
"data_read_per_join": "20K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "108",
"ref": [
"test2_gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.75",
"eval_cost": "2.70",
"prefix_cost": "37.31",
"data_read_per_join": "16K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
410901_600x600.jpg |
600 |
430 |
N |
18641 |
12928 |
product |
22122 |
M |
0 |
|
22122 |
| 0 |
Seite-68-SE-10-300K-LabLinehhetSQbq1WfDf_600x600.jpg |
600 |
400 |
N |
18642 |
12929 |
product |
22123 |
M |
0 |
|
22123 |
| 0 |
Seite-63-474-310-BS-50-300-LabLine_600x600.jpg |
600 |
400 |
N |
18840 |
13127 |
product |
22321 |
M |
0 |
|
22321 |
| 0 |
Seite-63-474-310-BS-50-300-LabLinepB4avxtQSV3da_600x600.jpg |
600 |
400 |
N |
18841 |
13128 |
product |
22322 |
M |
0 |
|
22322 |
| 0 |
Seite-63-474-310-BS-50-300-LabLineJwpphJcukclTh_600x600.jpg |
600 |
400 |
N |
18842 |
13129 |
product |
22323 |
M |
0 |
|
22323 |
| 0 |
Seite-63-474-310-BS-50-300-LabLinev6trbPfjN5C8I_600x600.jpg |
600 |
400 |
N |
18843 |
13130 |
product |
22324 |
M |
0 |
|
22324 |
| 0 |
Seite-63-474-310-BS-50-300-LabLinerjkWUnF3lxOhu_600x600.jpg |
600 |
400 |
N |
18844 |
13131 |
product |
22325 |
M |
0 |
|
22325 |
| 0 |
Seite-63-474-310-BS-50-300-LabLinelsAAWOot1HEfG_600x600.jpg |
600 |
400 |
N |
18845 |
13132 |
product |
22326 |
M |
0 |
|
22326 |
| 0 |
Seite-63-474-310-BS-50-300-LabLineB7L85hw9QqMTW_600x600.jpg |
600 |
400 |
N |
18846 |
13133 |
product |
22327 |
M |
0 |
|
22327 |
| 0 |
Seite-68-SE-10-300K-LabLine_600x600.jpg |
600 |
400 |
N |
18847 |
13134 |
product |
22328 |
M |
0 |
|
22328 |
| 0 |
Seite-68-SE-10-300K-LabLineKGvrUQ1I9ZlqW_600x600.jpg |
600 |
400 |
N |
18849 |
13136 |
product |
22330 |
M |
0 |
|
22330 |
| 0 |
Seite-68-SE-10-300K-LabLine1zRoBjd0Pe37z_600x600.jpg |
600 |
400 |
N |
18851 |
13138 |
product |
22332 |
M |
0 |
|
22332 |
| 0 |
Seite-68-SE-10-300K-LabLine4HjNc2r9LAUtZ_600x600.jpg |
600 |
400 |
N |
18853 |
13140 |
product |
22334 |
M |
0 |
|
22334 |
| 0 |
Seite-68-SE-10-300K-LabLineeEKRHI7paiXSD_600x600.jpg |
600 |
400 |
N |
18855 |
13142 |
product |
22336 |
M |
0 |
|
22336 |
| 0 |
Seite-68-SE-10-300K-LabLinejl90AtceKO2fC_600x600.jpg |
600 |
400 |
N |
18857 |
13144 |
product |
22338 |
M |
0 |
|
22338 |
| 0 |
Seite-68-SE-10-300K-LabLineOAEUPf8atBq9r_600x600.jpg |
600 |
400 |
N |
18859 |
13146 |
product |
22340 |
M |
0 |
|
22340 |
| 0 |
Seite-68-SE-10-300K-LabLine-LG_600x600.jpg |
600 |
400 |
N |
18861 |
13148 |
product |
22342 |
M |
0 |
|
22342 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGZS6nx8a9W1PKI_600x600.jpg |
600 |
400 |
N |
18862 |
13149 |
product |
22343 |
M |
0 |
|
22343 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGuegeKPlHRwntI_600x600.jpg |
600 |
400 |
N |
18864 |
13151 |
product |
22345 |
M |
0 |
|
22345 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGgXodSkIt6qlRE_600x600.jpg |
600 |
400 |
N |
18865 |
13152 |
product |
22346 |
M |
0 |
|
22346 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGH9hVI7YZ2IaLA_600x600.jpg |
600 |
400 |
N |
18866 |
13153 |
product |
22347 |
M |
0 |
|
22347 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGsP0rx3NSA0QuW_600x600.jpg |
600 |
400 |
N |
18868 |
13155 |
product |
22349 |
M |
0 |
|
22349 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGywG1fz3KXdIxH_600x600.jpg |
600 |
400 |
N |
18870 |
13157 |
product |
22351 |
M |
0 |
|
22351 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGDIC8RCYzwyCx7_600x600.jpg |
600 |
400 |
N |
18872 |
13159 |
product |
22353 |
M |
0 |
|
22353 |
| 0 |
Seite-68-SE-10-300K-LabLine-LGIkcMdIAuz4M2j_600x600.jpg |
600 |
400 |
N |
18874 |
13161 |
product |
22355 |
M |
0 |
|
22355 |