Query time 0.00091
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "31.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "13.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": 13,
"rows_produced_per_join": 13,
"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 (3318,7059,6862,3304,3309,6865,6856,6849,3298,3297,3308,3314,6857)))",
"cost_info": {
"read_cost": "7.81",
"eval_cost": "1.30",
"prefix_cost": "9.11",
"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": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "13.66",
"data_read_per_join": "9K"
},
"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": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "18.21",
"data_read_per_join": "7K"
},
"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 |
Druckminderer-Vulkan-F-10-200-Standard-Sauerstoff-2_600x600_2x.jpg |
500 |
474 |
N |
6321 |
6849 |
product |
9804 |
M |
0 |
|
9804 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Ethen-2_600x600_2x.jpg |
500 |
474 |
N |
6328 |
6856 |
product |
9811 |
M |
0 |
|
9811 |
| 0 |
1336123665-11619_600x600_2x.jpg |
580 |
517 |
N |
6329 |
6857 |
product |
9812 |
M |
0 |
|
9812 |
| 0 |
1430122151-16708-1_600x600_2x.jpg |
500 |
300 |
N |
6334 |
6862 |
product |
9817 |
M |
0 |
|
9817 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Lachgas-2_600x600_2x.jpg |
500 |
474 |
N |
6337 |
6865 |
product |
9820 |
M |
0 |
|
9820 |
| 0 |
1387466304-20319-1_600x600_2x_emnn-mp.jpg |
483 |
500 |
N |
6531 |
7059 |
product |
10014 |
M |
0 |
|
10014 |
| 0 |
1336129216-14840-1_600x600_2x.jpg |
580 |
524 |
N |
15998 |
3297 |
product |
19479 |
M |
0 |
|
19479 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Helium-2_600x600_2x.jpg |
500 |
474 |
N |
15999 |
3298 |
product |
19480 |
M |
0 |
|
19480 |
| 0 |
1430122360-23701-1_600x600_2x.jpg |
500 |
300 |
N |
16005 |
3304 |
product |
19486 |
M |
0 |
|
19486 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Methan-2_600x600_2x.jpg |
500 |
474 |
N |
16009 |
3308 |
product |
19490 |
M |
0 |
|
19490 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Propan-2_600x600_2x.jpg |
500 |
474 |
N |
16010 |
3309 |
product |
19491 |
M |
0 |
|
19491 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Wasserstoff-2_600x600_2x.jpg |
500 |
474 |
N |
16015 |
3314 |
product |
19496 |
M |
0 |
|
19496 |
| 0 |
Druckminderer-Vulkan-F-10-200-Standard-Stickstoff-2_600x600_2x.jpg |
500 |
474 |
N |
16019 |
3318 |
product |
19500 |
M |
0 |
|
19500 |