Query time 0.00157
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "75.69"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.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": 18,
"rows_produced_per_join": 18,
"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 (9765,6876,70243,9950,9951,35876,67447,9952,10004,31002,32922,34523,35857,67448,69929,69930,69959,69964)))",
"cost_info": {
"read_cost": "25.83",
"eval_cost": "1.80",
"prefix_cost": "27.63",
"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": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "1.80",
"prefix_cost": "43.43",
"data_read_per_join": "13K"
},
"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": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.46",
"eval_cost": "1.80",
"prefix_cost": "57.69",
"data_read_per_join": "10K"
},
"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 |
front__34__1654-zn.jpg |
1500 |
1500 |
N |
65733 |
9950 |
product |
67085 |
M |
0 |
|
67085 |
| 0 |
front__35__8yti-ep.jpg |
1500 |
1500 |
N |
65747 |
9951 |
product |
67099 |
M |
0 |
|
67099 |
| 0 |
front__36__8i2t-8z.jpg |
1500 |
1500 |
N |
65762 |
9952 |
product |
67114 |
M |
0 |
|
67114 |
| 0 |
Blackseed_oil_capsule_front.jpg |
1500 |
1500 |
N |
66150 |
10004 |
product |
67502 |
M |
0 |
|
67502 |
| 0 |
Weight_Watchers_Resolution_Kit.jpg |
1000 |
1000 |
N |
118844 |
31002 |
product |
120196 |
M |
0 |
|
120196 |
| 0 |
LYEF_Meta_Rebalance__1_.jpg |
720 |
1080 |
N |
129430 |
32922 |
product |
130782 |
M |
0 |
|
130782 |
| 0 |
uc_bd25-nj.jpg |
2000 |
2000 |
N |
148950 |
35857 |
product |
150302 |
M |
0 |
|
150302 |
| 0 |
uc_6iv0-ua.jpg |
1080 |
1080 |
N |
173604 |
34523 |
product |
174950 |
M |
0 |
|
174950 |
| 0 |
8908012692270-1.jpg |
3000 |
3000 |
N |
175788 |
6876 |
product |
177134 |
M |
0 |
|
177134 |
| 0 |
8908012692393-1_5gp3-08.jpg |
3000 |
3000 |
N |
176024 |
9765 |
product |
177370 |
M |
0 |
|
177370 |
| 0 |
Front_wmp7-xb.jpg |
2000 |
2000 |
N |
190823 |
67447 |
product |
192161 |
M |
0 |
|
192161 |
| 0 |
Front_k6nv-p4.jpg |
2000 |
2000 |
N |
190830 |
67448 |
product |
192168 |
M |
0 |
|
192168 |
| 0 |
8906132696659__1__3uhm-s2.jpg |
1000 |
1000 |
N |
206158 |
35876 |
product |
207442 |
M |
0 |
|
207442 |
| 0 |
uc_mfgy-l7.png |
1080 |
1080 |
N |
210672 |
69929 |
product |
211947 |
M |
0 |
|
211947 |
| 0 |
uc_6fb4-7d.png |
1080 |
1080 |
N |
210677 |
69930 |
product |
211952 |
M |
0 |
|
211952 |
| 0 |
uc_rbrz-k3.png |
1080 |
1080 |
N |
211650 |
69959 |
product |
212925 |
M |
0 |
|
212925 |
| 0 |
uc_esgk-xj.jpg |
679 |
679 |
N |
211689 |
69964 |
product |
212964 |
M |
0 |
|
212964 |
| 0 |
Copy_of_Artboard_2_copy_2i2o-sd.png |
1080 |
1080 |
N |
214905 |
70243 |
product |
216180 |
M |
0 |
|
216180 |