Query time 0.00089
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "33.36"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.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": 14,
"rows_produced_per_join": 14,
"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 (419,2368,2477,2481,2547,2551,2636,2640,2976,2980,3311,6866,7448)))",
"cost_info": {
"read_cost": "8.16",
"eval_cost": "1.40",
"prefix_cost": "9.56",
"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": [
"test2_gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.50",
"eval_cost": "1.40",
"prefix_cost": "14.46",
"data_read_per_join": "10K"
},
"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": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.50",
"eval_cost": "1.40",
"prefix_cost": "19.36",
"data_read_per_join": "8K"
},
"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 |
1474006897-19496_600x600_2x.jpg |
500 |
430 |
N |
6338 |
6866 |
product |
9821 |
M |
0 |
|
9821 |
| 0 |
Druckminderer-Vulkan-F-10-300-Effect-Stickstoff-zweistufig-2_600x600_2x_gbra-au.jpg |
500 |
364 |
N |
6920 |
7448 |
product |
10403 |
M |
0 |
|
10403 |
| 0 |
Flaschendruckminderer-Vulkan-F-40-300-Effect-Sauerstoff-einstufig-2_600x600_2x_0ldo-rc.jpg |
500 |
430 |
N |
13120 |
419 |
product |
16600 |
M |
0 |
|
16600 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-Druckluft-einstufig-2_600x600_2x_0rrd-9v.jpg |
500 |
430 |
N |
15069 |
2368 |
product |
18550 |
M |
0 |
|
18550 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-Helium-einstufig-2_600x600_2x_xlf7-uf.jpg |
500 |
430 |
N |
15178 |
2477 |
product |
18659 |
M |
0 |
|
18659 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-CO2-Argon-einstufig-2_600x600_2x_cflr-or.jpg |
500 |
430 |
N |
15182 |
2481 |
product |
18663 |
M |
0 |
|
18663 |
| 0 |
Druckminderer-F40-300-Vulkan-Effect-Formiergas-2_600x600_2x_0gfv-w6.jpg |
500 |
430 |
N |
15248 |
2547 |
product |
18729 |
M |
0 |
|
18729 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-Wasserstoff-einstufig-2_600x600_2x_pakq-sw.jpg |
500 |
430 |
N |
15252 |
2551 |
product |
18733 |
M |
0 |
|
18733 |
| 0 |
Druckminderer-Vulkan-F40-300-bar_600x600_2x_rcyv-7a.jpg |
500 |
430 |
N |
15337 |
2636 |
product |
18818 |
M |
0 |
|
18818 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-Stickstoff-einstufig-2_600x600_2x_qwoq-r7.jpg |
500 |
430 |
N |
15341 |
2640 |
product |
18822 |
M |
0 |
|
18822 |
| 0 |
Druckminderer-Vulkan-F-40-200-Effect-Wasserstoff-2_600x600_2x_c37z-oy.jpg |
500 |
430 |
N |
15677 |
2976 |
product |
19158 |
M |
0 |
|
19158 |
| 0 |
Druckminderer-Vulkan-F-40-200-Effect-Methan-2_600x600_2x_qviq-i9.jpg |
500 |
430 |
N |
15681 |
2980 |
product |
19162 |
M |
0 |
|
19162 |
| 0 |
1354552700-14314_600x600_2x.jpg |
500 |
430 |
N |
16012 |
3311 |
product |
19493 |
M |
0 |
|
19493 |