Query time 0.00119
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "88.25"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "27.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": 27,
"rows_produced_per_join": 27,
"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 (68983,68978,68977,68979,68980,68981,68982,68984,68985,68986,68987,68988,68989,68990,68991,68992,68993,68994,68995,68996,69216,69217,65817,65814,65815,65816,65813)))",
"cost_info": {
"read_cost": "28.04",
"eval_cost": "2.70",
"prefix_cost": "30.74",
"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": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.74",
"eval_cost": "2.70",
"prefix_cost": "47.18",
"data_read_per_join": "20K"
},
"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": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.37",
"eval_cost": "2.70",
"prefix_cost": "61.25",
"data_read_per_join": "16K"
},
"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 |
SF-01-01.PNG |
1080 |
1080 |
N |
178935 |
65813 |
product |
180281 |
M |
0 |
|
180281 |
| 0 |
SF-02-01.PNG |
1080 |
1080 |
N |
178936 |
65814 |
product |
180282 |
M |
0 |
|
180282 |
| 0 |
SF-03-01.PNG |
1080 |
1080 |
N |
178945 |
65815 |
product |
180291 |
M |
0 |
|
180291 |
| 0 |
SF-03-01_95dv-lc.PNG |
1080 |
1080 |
N |
178951 |
65816 |
product |
180297 |
M |
0 |
|
180297 |
| 0 |
SF-05-01.PNG |
1080 |
1080 |
N |
178960 |
65817 |
product |
180306 |
M |
0 |
|
180306 |
| 0 |
uc_xwj8-t8.jpg |
1080 |
1440 |
N |
202029 |
68977 |
product |
203313 |
M |
0 |
|
203313 |
| 0 |
uc_klda-ku.jpg |
1080 |
1440 |
N |
202037 |
68978 |
product |
203321 |
M |
0 |
|
203321 |
| 0 |
uc_v0ql-cq.jpg |
1080 |
1440 |
N |
202053 |
68980 |
product |
203337 |
M |
0 |
|
203337 |
| 0 |
uc_otwn-s1.jpg |
1080 |
1440 |
N |
202061 |
68981 |
product |
203345 |
M |
0 |
|
203345 |
| 0 |
uc_g27r-4s.jpg |
1080 |
1440 |
N |
202069 |
68982 |
product |
203353 |
M |
0 |
|
203353 |
| 0 |
uc_mq6y-vy.jpg |
1080 |
1440 |
N |
202076 |
68983 |
product |
203360 |
M |
0 |
|
203360 |
| 0 |
uc_qwhb-qj.jpg |
1080 |
1440 |
N |
202084 |
68984 |
product |
203368 |
M |
0 |
|
203368 |
| 0 |
uc_6hvb-tq.jpg |
1080 |
1440 |
N |
202092 |
68985 |
product |
203376 |
M |
0 |
|
203376 |
| 0 |
uc_c07m-ap.jpg |
1080 |
1440 |
N |
202100 |
68986 |
product |
203384 |
M |
0 |
|
203384 |
| 0 |
uc_xo9s-wh.jpg |
1080 |
1440 |
N |
202108 |
68987 |
product |
203392 |
M |
0 |
|
203392 |
| 0 |
uc_pmxw-u0.jpg |
1080 |
1440 |
N |
202116 |
68988 |
product |
203400 |
M |
0 |
|
203400 |
| 0 |
uc_vmlg-fl.jpg |
1080 |
1440 |
N |
202124 |
68989 |
product |
203408 |
M |
0 |
|
203408 |
| 0 |
uc_p95g-t1.jpg |
1080 |
1440 |
N |
202518 |
68979 |
product |
203802 |
M |
0 |
|
203802 |
| 0 |
uc_twrp-1q.png |
800 |
800 |
N |
204720 |
69216 |
product |
206004 |
M |
0 |
|
206004 |
| 0 |
uc_j2s7-40.png |
800 |
800 |
N |
204727 |
69217 |
product |
206011 |
M |
0 |
|
206011 |
| 0 |
01_PURE_VANILLA.jpg |
1000 |
1000 |
N |
213815 |
68990 |
product |
215090 |
M |
0 |
|
215090 |
| 0 |
PURE_CORAL.jpg |
1000 |
1000 |
N |
213816 |
68993 |
product |
215091 |
M |
0 |
|
215091 |
| 0 |
PURE_CHERRY.jpg |
500 |
500 |
N |
213817 |
68994 |
product |
215092 |
M |
0 |
|
215092 |
| 0 |
PURE_ROSE.jpg |
750 |
750 |
N |
213818 |
68995 |
product |
215093 |
M |
0 |
|
215093 |
| 0 |
PURE_CHILI.jpg |
1200 |
1200 |
N |
213819 |
68996 |
product |
215094 |
M |
0 |
|
215094 |
| 0 |
PURE_PINK.jpg |
1200 |
1200 |
N |
213821 |
68992 |
product |
215096 |
M |
0 |
|
215096 |
| 0 |
PURE_RED.png |
225 |
225 |
N |
213822 |
68991 |
product |
215097 |
M |
0 |
|
215097 |