Query time 0.00126
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "110.79"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "24.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": 24,
"rows_produced_per_join": 24,
"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 (66968,69702,26800,67228,67565,29766,35966,65280,69059,7257,31829,67573,69060,67030,67694,67567,10510,15969,69069,28242,67568,67574,14173,31830)))",
"cost_info": {
"read_cost": "41.56",
"eval_cost": "2.40",
"prefix_cost": "43.96",
"data_read_per_join": "2K"
},
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.85",
"eval_cost": "2.40",
"prefix_cost": "66.21",
"data_read_per_join": "18K"
},
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "18.18",
"eval_cost": "2.40",
"prefix_cost": "86.79",
"data_read_per_join": "14K"
},
"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 |
6.1_z273-xk.jpg |
1500 |
1500 |
N |
50127 |
14173 |
product |
51479 |
M |
0 |
|
51479 |
| 0 |
Face_mosturizing_cream_.jpg |
768 |
768 |
N |
58342 |
15969 |
product |
59694 |
M |
0 |
|
59694 |
| 0 |
uc.jpg |
2250 |
2250 |
N |
99022 |
26800 |
product |
100374 |
M |
0 |
|
100374 |
| 0 |
Aloe_Vera___Saffron_Gel.1_dsoo-qu.jpg |
3000 |
3000 |
N |
105393 |
28242 |
product |
106745 |
M |
0 |
|
106745 |
| 0 |
8806182528835_adcl-fg.jpg |
1000 |
1000 |
N |
112860 |
29766 |
product |
114212 |
M |
0 |
|
114212 |
| 0 |
uc_z156-q1.jpg |
2362 |
2362 |
N |
124231 |
31829 |
product |
125583 |
M |
0 |
|
125583 |
| 0 |
613DlMq7reL._SY450_.jpg |
450 |
450 |
N |
124237 |
31830 |
product |
125589 |
M |
0 |
|
125589 |
| 0 |
slide1.jpg |
1800 |
1800 |
N |
147775 |
10510 |
product |
149127 |
M |
0 |
|
149127 |
| 0 |
4-800x1067.jpg |
800 |
1067 |
N |
176503 |
65280 |
product |
177849 |
M |
0 |
|
177849 |
| 0 |
1_vird-6j.jpg |
1200 |
1200 |
N |
185486 |
66968 |
product |
186832 |
M |
0 |
|
186832 |
| 0 |
41NbTzlNfFL._SL1000_.jpg |
1000 |
1000 |
N |
186043 |
67030 |
product |
187389 |
M |
0 |
|
187389 |
| 0 |
front_cover_x460-b6.jpg |
1000 |
1000 |
N |
187544 |
67228 |
product |
188882 |
M |
0 |
|
188882 |
| 0 |
front_cover_lek0-ha.jpg |
1000 |
1000 |
N |
190565 |
67694 |
product |
191903 |
M |
0 |
|
191903 |
| 0 |
uc_8fy3-4h.png |
1081 |
1081 |
N |
197183 |
67565 |
product |
198521 |
M |
0 |
|
198521 |
| 0 |
uc_j669-qm.jpg |
1081 |
1081 |
N |
197199 |
67567 |
product |
198537 |
M |
0 |
|
198537 |
| 0 |
uc_1dyk-ts.png |
1080 |
1080 |
N |
197206 |
67568 |
product |
198544 |
M |
0 |
|
198544 |
| 0 |
uc_76l3-kh.png |
1081 |
1080 |
N |
197247 |
67573 |
product |
198585 |
M |
0 |
|
198585 |
| 0 |
uc_5wqo-9g.jpg |
1081 |
1081 |
N |
197253 |
67574 |
product |
198591 |
M |
0 |
|
198591 |
| 0 |
35966_1.jpg |
1500 |
1500 |
N |
200240 |
35966 |
product |
201524 |
M |
0 |
|
201524 |
| 0 |
uc_387p-qq.jpg |
2250 |
2250 |
N |
202885 |
69059 |
product |
204169 |
M |
0 |
|
204169 |
| 0 |
uc_rcjv-q4.jpg |
2250 |
2250 |
N |
202893 |
69060 |
product |
204177 |
M |
0 |
|
204177 |
| 0 |
uc_8lbq-k0.jpg |
2250 |
2250 |
N |
202985 |
69069 |
product |
204269 |
M |
0 |
|
204269 |
| 0 |
SEBG030_1.png |
1500 |
1500 |
N |
211541 |
69702 |
product |
212816 |
M |
0 |
|
212816 |
| 0 |
8806182509728_1.jpg |
1000 |
1000 |
N |
74411 |
7257 |
product |
75763 |
M |
14 |
|
75763 |