Query time 0.00142
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "43.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.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": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (519,529,539,941,951,1002,1013,1024,1035,1045,1129,2724,3303,6861,7010,7247,6851,3305)))",
"cost_info": {
"read_cost": "10.81",
"eval_cost": "1.80",
"prefix_cost": "12.61",
"data_read_per_join": "1K"
},
"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": [
"gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "1.80",
"prefix_cost": "18.91",
"data_read_per_join": "13K"
},
"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": [
"gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "1.80",
"prefix_cost": "25.21",
"data_read_per_join": "10K"
},
"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 |
1439449846-1572_600x600_2x.jpg |
500 |
399 |
N |
6323 |
6851 |
product |
9806 |
M |
0 |
|
9806 |
| 0 |
1354553002-17499_600x600_2x.jpg |
500 |
474 |
N |
6333 |
6861 |
product |
9816 |
M |
0 |
|
9816 |
| 0 |
1447432387-1306-1_600x600_2x_3fno-mc.jpg |
500 |
495 |
N |
6482 |
7010 |
product |
9965 |
M |
0 |
|
9965 |
| 0 |
306-770-LHR-300-200-Seite-35QAn3UK2M6eDWe_600x600_2x_5rav-4n.jpg |
1200 |
800 |
N |
6719 |
7247 |
product |
10202 |
M |
0 |
|
10202 |
| 0 |
226711-F10-300F-Effect-Flowmeter-Seite-49ihw6ccUhGKjGw_600x600_2x_u8fa-08.jpg |
1178 |
1200 |
N |
13220 |
519 |
product |
16700 |
M |
0 |
|
16700 |
| 0 |
226711-F10-300F-Effect-Flowmeter-Seite-49ihw6ccUhGKjGw_600x600_2x_m3ko-vw.jpg |
1178 |
1200 |
N |
13230 |
529 |
product |
16710 |
M |
0 |
|
16710 |
| 0 |
226711-F10-300F-Effect-Flowmeter-Seite-49ihw6ccUhGKjGw_600x600_2x_9l1b-z3.jpg |
1178 |
1200 |
N |
13240 |
539 |
product |
16720 |
M |
0 |
|
16720 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Pr_fgas-2_600x600_2x_w8ub-vs.jpg |
500 |
446 |
N |
13642 |
941 |
product |
17123 |
M |
0 |
|
17123 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Druckluft-2_600x600_2x_ouc3-i1.jpg |
500 |
446 |
N |
13652 |
951 |
product |
17133 |
M |
0 |
|
17133 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Stickstoff-2_600x600_2x_v337-or.jpg |
500 |
446 |
N |
13703 |
1002 |
product |
17184 |
M |
0 |
|
17184 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Helium-2_600x600_2x_ax4q-mr.jpg |
500 |
446 |
N |
13714 |
1013 |
product |
17195 |
M |
0 |
|
17195 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Sauerstoff-2_600x600_2x_190u-v8.jpg |
500 |
446 |
N |
13725 |
1024 |
product |
17206 |
M |
0 |
|
17206 |
| 0 |
Druckminderer-Vulkan-F-10-200-Effect-Methan-2_600x600_2x_4mok-mh.jpg |
500 |
474 |
N |
13736 |
1035 |
product |
17217 |
M |
0 |
|
17217 |
| 0 |
Druckminderer-Vulkan-F-10-200-Effect-Lachgas-2_600x600_2x_t4al-u3.jpg |
500 |
474 |
N |
13746 |
1045 |
product |
17227 |
M |
0 |
|
17227 |
| 0 |
Druckminderer-Vulkan-F-10-200-Effect-Wasserstoff-3_600x600_2x_s367-6j.jpg |
500 |
474 |
N |
13830 |
1129 |
product |
17311 |
M |
0 |
|
17311 |
| 0 |
209000-F10-Ace-3_600x600_2x_6wng-5t.jpg |
500 |
330 |
N |
15425 |
2724 |
product |
18906 |
M |
0 |
|
18906 |
| 0 |
1412750063-5992_600x600_2x.jpg |
500 |
494 |
N |
16004 |
3303 |
product |
19485 |
M |
0 |
|
19485 |
| 0 |
1412662955-22965_600x600_2x.jpg |
500 |
474 |
N |
16006 |
3305 |
product |
19487 |
M |
0 |
|
19487 |