Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.56"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "12.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": 12,
"rows_produced_per_join": 12,
"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 (10985,10995,10986,10987,10988,10989,10990,10991,10992,10993,10994)))",
"cost_info": {
"read_cost": "6.96",
"eval_cost": "1.20",
"prefix_cost": "8.16",
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.36",
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "16.56",
"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-20-200-Effect-Formiergas-2_600x600_2x.jpg |
500 |
494 |
N |
10457 |
10985 |
product |
13940 |
M |
0 |
|
13940 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_s9cx-ps.jpg |
500 |
494 |
N |
10458 |
10986 |
product |
13941 |
M |
0 |
|
13941 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_aq0n-qj.jpg |
500 |
494 |
N |
10459 |
10987 |
product |
13942 |
M |
0 |
|
13942 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_29a8-zj.jpg |
500 |
494 |
N |
10460 |
10988 |
product |
13943 |
M |
0 |
|
13943 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_cesq-i4.jpg |
500 |
494 |
N |
10461 |
10989 |
product |
13944 |
M |
0 |
|
13944 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_re66-nt.jpg |
500 |
494 |
N |
10462 |
10990 |
product |
13945 |
M |
0 |
|
13945 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_fivo-bl.jpg |
500 |
494 |
N |
10463 |
10991 |
product |
13946 |
M |
0 |
|
13946 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_wycv-f5.jpg |
500 |
494 |
N |
10464 |
10992 |
product |
13947 |
M |
0 |
|
13947 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_us8z-5y.jpg |
500 |
494 |
N |
10465 |
10993 |
product |
13948 |
M |
0 |
|
13948 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_vqnk-ux.jpg |
500 |
494 |
N |
10466 |
10994 |
product |
13949 |
M |
0 |
|
13949 |
| 0 |
Druckminderer-Vulkan-F-20-200-Effect-Formiergas-2_600x600_2x_2dwm-xp.jpg |
500 |
494 |
N |
10467 |
10995 |
product |
13950 |
M |
0 |
|
13950 |