Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.75"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "9.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 9,
"rows_produced_per_join": 9,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (32160,39122,64429,69708,68616,68398,67976,67918)))",
"cost_info": {
"read_cost": "8.79",
"eval_cost": "0.90",
"prefix_cost": "9.69",
"data_read_per_join": "864"
},
"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": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.54",
"eval_cost": "0.90",
"prefix_cost": "15.13",
"data_read_per_join": "6K"
},
"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": "107",
"ref": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.72",
"eval_cost": "0.90",
"prefix_cost": "19.75",
"data_read_per_join": "5K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
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 |
1__1__ju8u-cu.jpg |
1000 |
1000 |
N |
125799 |
32160 |
product |
127151 |
M |
0 |
|
127151 |
| 0 |
IUNIK-Centella-calming-daily-sunscreen-mini-pureseoul.png |
1000 |
1000 |
N |
170512 |
39122 |
product |
171861 |
M |
0 |
|
171861 |
| 0 |
Conscious-Chemist-Sun-Drink-Hybrid-Lightweight-Gel-Sunscreen-SPF50-PA------With-No-White-Cast-20g-17379574053705442.jpeg |
1200 |
1200 |
N |
174324 |
64429 |
product |
175670 |
M |
0 |
|
175670 |
| 0 |
asaya.jpg |
2000 |
2000 |
N |
192705 |
67976 |
product |
194043 |
M |
0 |
|
194043 |
| 0 |
asaya_k09v-1x.jpg |
2000 |
2000 |
N |
192706 |
67976 |
product |
194044 |
M |
0 |
|
194044 |
| 0 |
Sun_Protection_Spf_50_Spray_Mini_-_10_ml.webp |
800 |
800 |
N |
196894 |
68398 |
product |
198232 |
M |
0 |
|
198232 |
| 0 |
1-8.webp |
720 |
720 |
N |
198635 |
68616 |
product |
199919 |
M |
0 |
|
199919 |
| 0 |
spot_light_combo.webp |
1000 |
1000 |
N |
209120 |
69708 |
product |
210395 |
M |
0 |
|
210395 |
| 0 |
FD1.jpg |
1000 |
1000 |
N |
208850 |
67918 |
product |
210125 |
M |
2 |
|
210125 |