Query time 0.00179
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "81.21"
},
"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": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (81611,149176,81624,81625,81627,81634,81636,81647,149125,149128,149123,149124,81655,81657)))",
"cost_info": {
"read_cost": "30.81",
"eval_cost": "2.80",
"prefix_cost": "33.61",
"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": [
"webmarco.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "50.41",
"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": [
"webmarco.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "67.21",
"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 |
Abito-Corto-Perline-Con-Tulle-Webmarco.png |
800 |
800 |
N |
96797 |
81611 |
product |
89072 |
M |
0 |
|
89072 |
0 |
Abito-in-Tulle-Webmarco.png |
800 |
800 |
N |
96811 |
81624 |
product |
89085 |
M |
0 |
|
89085 |
0 |
Abito-in-Tulle-Webmarco__1_.png |
800 |
800 |
N |
96813 |
81625 |
product |
89086 |
M |
0 |
|
89086 |
0 |
23.jpg |
470 |
470 |
N |
96816 |
81627 |
product |
89088 |
M |
0 |
|
89088 |
0 |
Abito-Lungo-Plisse_Tessuto-Webmarco.png |
800 |
800 |
N |
96829 |
81636 |
product |
89095 |
M |
0 |
|
89095 |
0 |
Abito-Lungo-Plisse-Tessuto-Webmarco.png |
800 |
800 |
N |
96831 |
81634 |
product |
89100 |
M |
0 |
|
89100 |
0 |
Abito-Lungo-Gonna-Ampia-Glitter-Webmarco__3__gyyx-sh.png |
800 |
800 |
N |
96850 |
81647 |
product |
89116 |
M |
0 |
|
89116 |
0 |
Abito-Lungo-In-Tulle-A-Veli-Meraviglioso-Webmarco.png |
800 |
800 |
N |
96858 |
81655 |
product |
89124 |
M |
0 |
|
89124 |
0 |
Abito-Lungo-In-Tulle-A-Veli-Meraviglioso-Webmarco__1_.png |
800 |
800 |
N |
96861 |
81657 |
product |
89126 |
M |
0 |
|
89126 |
0 |
Abito-Lungo-Gonna-Ampia-Glitter-Webmarco__3__gyyx-sh.png |
800 |
800 |
N |
183384 |
149123 |
product |
89116 |
M |
0 |
|
89116 |
0 |
Abito-Lungo-Gonna-Ampia-Glitter-Webmarco__3__gyyx-sh.png |
800 |
800 |
N |
183385 |
149124 |
product |
89116 |
M |
0 |
|
89116 |
0 |
Abito-Lungo-Gonna-Ampia-Glitter-Blu-Webmarco_v06b-sc.png |
800 |
800 |
N |
183392 |
149125 |
product |
162500 |
M |
1 |
|
162500 |
0 |
Abito-Lungo-Gonna-Ampia-Glitter-Azure-Webmarco_u6b7-a2.png |
800 |
800 |
N |
183395 |
149128 |
product |
162503 |
M |
1 |
|
162503 |
0 |
Abito-Corto-Perline-Con-Tulle-Blu-Webmarco.png |
800 |
800 |
N |
183741 |
149176 |
product |
162519 |
M |
1 |
|
162519 |