Query time 0.00090
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 11,
"rows_produced_per_join": 11,
"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 (3307,7108,7224,7246,7268,7271,6854,6864,6860,3315,6855)))",
"cost_info": {
"read_cost": "6.61",
"eval_cost": "1.10",
"prefix_cost": "7.71",
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "11.56",
"data_read_per_join": "8K"
},
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "15.41",
"data_read_per_join": "6K"
},
"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 |
1430122303-22033-1_600x600_2x.jpg |
500 |
300 |
N |
6326 |
6854 |
product |
9809 |
M |
0 |
|
9809 |
| 0 |
1430122255-20710-1_600x600_2x.jpg |
500 |
300 |
N |
6327 |
6855 |
product |
9810 |
M |
0 |
|
9810 |
| 0 |
1430122237-20160-1_600x600_2x.jpg |
500 |
300 |
N |
6332 |
6860 |
product |
9815 |
M |
0 |
|
9815 |
| 0 |
1430122090-15331-1_600x600_2x.jpg |
500 |
300 |
N |
6336 |
6864 |
product |
9819 |
M |
0 |
|
9819 |
| 0 |
306-770-LHR-300-200-Seite-35iC667EhBYIRFc_600x600_2x_id6o-s6.jpg |
1200 |
800 |
N |
6580 |
7108 |
product |
10063 |
M |
0 |
|
10063 |
| 0 |
1387466348-21616-1_600x600_2x_3fuh-ny.jpg |
483 |
500 |
N |
6696 |
7224 |
product |
10179 |
M |
0 |
|
10179 |
| 0 |
306-770-LHR-300-200-Seite-35QAn3UK2M6eDWe_600x600_2x_ghow-o3.jpg |
1200 |
800 |
N |
6718 |
7246 |
product |
10201 |
M |
0 |
|
10201 |
| 0 |
Druckminderer-Vulkan-F-10-200-Effect-Sauerstoff-zweistufig-2_600x600_2x_kmk9-8u.jpg |
500 |
399 |
N |
6740 |
7268 |
product |
10223 |
M |
0 |
|
10223 |
| 0 |
Druckminderer-Vulkan-F-10-200-Effect-Sauerstoff-zweistufig-2_600x600_2x_1sig-0d.jpg |
500 |
399 |
N |
6743 |
7271 |
product |
10226 |
M |
0 |
|
10226 |
| 0 |
1430122280-21441-1_600x600_2x.jpg |
500 |
300 |
N |
16008 |
3307 |
product |
19489 |
M |
0 |
|
19489 |
| 0 |
1430122131-16154-1_600x600_2x.jpg |
500 |
300 |
N |
16016 |
3315 |
product |
19497 |
M |
0 |
|
19497 |