Query time 0.00110
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.96"
},
"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 (11215,11226,11225,11224,11223,11222,11221,11220,11219,11218,11217,11216)))",
"cost_info": {
"read_cost": "7.56",
"eval_cost": "1.30",
"prefix_cost": "8.86",
"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.41",
"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": "17.96",
"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-15-200-Effect-Helium-2_600x600_2x.jpg |
500 |
476 |
N |
10687 |
11215 |
product |
14170 |
M |
0 |
|
14170 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_t2j7-7v.jpg |
500 |
476 |
N |
10688 |
11216 |
product |
14171 |
M |
0 |
|
14171 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_b0zo-6r.jpg |
500 |
476 |
N |
10689 |
11217 |
product |
14172 |
M |
0 |
|
14172 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_yep4-pn.jpg |
500 |
476 |
N |
10690 |
11218 |
product |
14173 |
M |
0 |
|
14173 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_ryju-sv.jpg |
500 |
476 |
N |
10691 |
11219 |
product |
14174 |
M |
0 |
|
14174 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_ggyk-es.jpg |
500 |
476 |
N |
10692 |
11220 |
product |
14175 |
M |
0 |
|
14175 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_nrr2-r1.jpg |
500 |
476 |
N |
10693 |
11221 |
product |
14176 |
M |
0 |
|
14176 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_0rtn-j9.jpg |
500 |
476 |
N |
10694 |
11222 |
product |
14177 |
M |
0 |
|
14177 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_xlpx-s1.jpg |
500 |
476 |
N |
10695 |
11223 |
product |
14178 |
M |
0 |
|
14178 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_8cfs-ta.jpg |
500 |
476 |
N |
10696 |
11224 |
product |
14179 |
M |
0 |
|
14179 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_j4zt-20.jpg |
500 |
476 |
N |
10697 |
11225 |
product |
14180 |
M |
0 |
|
14180 |
| 0 |
Druckminderer-Vulkan-F-15-200-Effect-Helium-2_600x600_2x_1ad0-yz.jpg |
500 |
476 |
N |
10698 |
11226 |
product |
14181 |
M |
0 |
|
14181 |