Query time 0.00108
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 (12863,12865,12867,12861,12864,12868,12857,12856,12855,12852,12851,12850,12862)))",
"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 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Sauerstoff-2_600x600.jpg |
256 |
500 |
N |
18563 |
12850 |
product |
22044 |
M |
0 |
|
22044 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Acetylen-2_600x600.jpg |
256 |
500 |
N |
18564 |
12851 |
product |
22045 |
M |
0 |
|
22045 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-CO2-Argon-2_600x600.jpg |
256 |
500 |
N |
18565 |
12852 |
product |
22046 |
M |
0 |
|
22046 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Helium-2_600x600.jpg |
256 |
500 |
N |
18568 |
12855 |
product |
22049 |
M |
0 |
|
22049 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Stickstoff-2_600x600.jpg |
256 |
500 |
N |
18569 |
12856 |
product |
22050 |
M |
0 |
|
22050 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Wasserstoff-2_600x600.jpg |
256 |
500 |
N |
18570 |
12857 |
product |
22051 |
M |
0 |
|
22051 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Formiergas-0-50-2_600x600.jpg |
256 |
500 |
N |
18574 |
12861 |
product |
22055 |
M |
0 |
|
22055 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Druckluft-2_600x600.jpg |
256 |
500 |
N |
18575 |
12862 |
product |
22056 |
M |
0 |
|
22056 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Pr_fgas-2_600x600.jpg |
256 |
500 |
N |
18576 |
12863 |
product |
22057 |
M |
0 |
|
22057 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Lachgas-2_600x600.jpg |
256 |
500 |
N |
18577 |
12864 |
product |
22058 |
M |
0 |
|
22058 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Propan-2_600x600.jpg |
256 |
500 |
N |
18578 |
12865 |
product |
22059 |
M |
0 |
|
22059 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Ethen-2_600x600.jpg |
256 |
500 |
N |
18580 |
12867 |
product |
22061 |
M |
0 |
|
22061 |
| 0 |
Druckminderer-Vulkan-E10-Vulkan-LabLine-Methan-2_600x600.jpg |
256 |
500 |
N |
18581 |
12868 |
product |
22062 |
M |
0 |
|
22062 |