Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 11,
"rows_produced_per_join": 11,
"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 (613,783,793,804,814,824,835,846,857,3312,7360)))",
"cost_info": {
"read_cost": "6.61",
"eval_cost": "1.10",
"prefix_cost": "7.71",
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "11.56",
"data_read_per_join": "8K"
},
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "15.41",
"data_read_per_join": "6K"
},
"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 |
1337327177-22599_600x600_2x_f7gx-x2.jpg |
580 |
462 |
N |
6832 |
7360 |
product |
10315 |
M |
0 |
|
10315 |
| 0 |
Flaschendruckminderer-Vulkan-F-20-300-Effect-CO2-Argon-einstufig-2_600x600_2x_4xwe-y3.jpg |
500 |
451 |
N |
13314 |
613 |
product |
16794 |
M |
0 |
|
16794 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Pr_fgas-einstufig-2_600x600_2x_6rfd-3j.jpg |
500 |
451 |
N |
13484 |
783 |
product |
16964 |
M |
0 |
|
16964 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Druckluft-einstufig-2_600x600_2x_pid0-px.jpg |
500 |
451 |
N |
13494 |
793 |
product |
16974 |
M |
0 |
|
16974 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Formiergas-einstufig-2_600x600_2x_z8af-bz.jpg |
500 |
451 |
N |
13505 |
804 |
product |
16985 |
M |
0 |
|
16985 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Wasserstoff-einstufig-2_600x600_2x_843u-ew.jpg |
500 |
451 |
N |
13515 |
814 |
product |
16995 |
M |
0 |
|
16995 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Stickstoff-einstufig-2_600x600_2x_7pp3-wt.jpg |
500 |
451 |
N |
13525 |
824 |
product |
17005 |
M |
0 |
|
17005 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Helium-einstufig-2_600x600_2x_wrjc-xq.jpg |
500 |
451 |
N |
13536 |
835 |
product |
17016 |
M |
0 |
|
17016 |
| 0 |
Druckminderer-Vulkan-F-20-300-Effect-Sauerstoff-einstufig-2_600x600_2x_1np3-62.jpg |
500 |
451 |
N |
13547 |
846 |
product |
17027 |
M |
0 |
|
17027 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Methan-2_600x600_2x_savn-ud.jpg |
500 |
494 |
N |
13558 |
857 |
product |
17038 |
M |
0 |
|
17038 |
| 0 |
1354552331-9872_600x600_2x.jpg |
500 |
494 |
N |
16013 |
3312 |
product |
19494 |
M |
0 |
|
19494 |