Query time 0.00185
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "139.03"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "34.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": 34,
"rows_produced_per_join": 34,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (37830,68137,32165,32147,3562,37536,32163,66982)))",
"cost_info": {
"read_cost": "38.48",
"eval_cost": "3.40",
"prefix_cost": "41.88",
"data_read_per_join": "3K"
},
"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": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "28.95",
"eval_cost": "3.40",
"prefix_cost": "74.23",
"data_read_per_join": "26K"
},
"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": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "27.40",
"eval_cost": "3.40",
"prefix_cost": "105.03",
"data_read_per_join": "20K"
},
"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 |
AXIS-Y_HEARTLEAF_MY_TYPE_CALMING_CREAM_FEATURED_1000x.png |
1000 |
1000 |
N |
125731 |
32147 |
product |
127083 |
A |
1 |
|
127083 |
| 0 |
1__1__yucx-dy.jpg |
1000 |
1000 |
N |
125814 |
32163 |
product |
127166 |
A |
1 |
|
127166 |
| 0 |
1__1__z7c4-gn.webp |
800 |
1200 |
N |
125821 |
32165 |
product |
127173 |
A |
1 |
|
127173 |
| 0 |
2_dvub-0o.jpg |
679 |
679 |
N |
166017 |
37830 |
product |
167366 |
A |
1 |
|
167366 |
| 0 |
Axis_Y_Certificate.jpg |
2480 |
3508 |
N |
192444 |
37536 |
product |
193782 |
A |
1 |
|
193782 |
| 0 |
10_r3zw-3c.jpg |
1080 |
1080 |
N |
193893 |
68137 |
product |
195231 |
A |
1 |
|
195231 |
| 0 |
0012_1_1000x.jpg |
1000 |
1000 |
N |
125732 |
32147 |
product |
127084 |
A |
2 |
|
127084 |
| 0 |
1__1__3lkn-90.png |
1000 |
1000 |
N |
125822 |
32165 |
product |
127174 |
A |
2 |
|
127174 |
| 0 |
5_vi20-5f.jpg |
679 |
679 |
N |
166019 |
37830 |
product |
167368 |
A |
2 |
|
167368 |
| 0 |
9_su9b-gp.jpg |
1080 |
1080 |
N |
193892 |
68137 |
product |
195230 |
A |
2 |
|
195230 |
| 0 |
Axis-y_f816-rh.jpg |
2480 |
3508 |
N |
214375 |
32163 |
product |
215650 |
A |
2 |
|
215650 |
| 0 |
0013_1000x.jpg |
1000 |
1000 |
N |
125733 |
32147 |
product |
127085 |
A |
3 |
|
127085 |
| 0 |
1__1__qsgn-nm.jpg |
1000 |
1000 |
N |
125823 |
32165 |
product |
127175 |
A |
3 |
|
127175 |
| 0 |
4_ev0l-jg.jpg |
679 |
679 |
N |
166016 |
37830 |
product |
167365 |
A |
3 |
|
167365 |
| 0 |
B502.jpeg |
486 |
649 |
N |
185603 |
66982 |
product |
186949 |
A |
3 |
|
186949 |
| 0 |
AXIS-Y_heartleaf_my_type_calming_cream_01_1000x.jpg |
1000 |
1000 |
N |
125734 |
32147 |
product |
127086 |
A |
4 |
|
127086 |
| 0 |
6_g2am-ff.jpg |
679 |
679 |
N |
166018 |
37830 |
product |
167367 |
A |
4 |
|
167367 |
| 0 |
B503.jpeg |
486 |
649 |
N |
185604 |
66982 |
product |
186950 |
A |
4 |
|
186950 |
| 0 |
Axis-y_fn1z-si.jpg |
2480 |
3508 |
N |
214377 |
32165 |
product |
215652 |
A |
4 |
|
215652 |
| 0 |
7_kyq9-ey.jpg |
679 |
679 |
N |
166020 |
37830 |
product |
167369 |
A |
5 |
|
167369 |
| 0 |
B504.jpeg |
486 |
649 |
N |
185605 |
66982 |
product |
186951 |
A |
5 |
|
186951 |
| 0 |
AXIS-Y_heartleaf_my_type_calming_cream_02_1000x.jpg |
1000 |
1000 |
N |
125735 |
32147 |
product |
127087 |
A |
6 |
|
127087 |
| 0 |
3_tnzg-x2.jpg |
679 |
679 |
N |
166021 |
37830 |
product |
167370 |
A |
6 |
|
167370 |
| 0 |
B505.jpeg |
486 |
649 |
N |
185606 |
66982 |
product |
186952 |
A |
6 |
|
186952 |
| 0 |
Axis-y_epin-8r.jpg |
2480 |
3508 |
N |
214359 |
32147 |
product |
215634 |
A |
7 |
|
215634 |
| 0 |
I'm-from_w00f-wd.jpg |
2480 |
3508 |
N |
214622 |
37830 |
product |
215897 |
A |
7 |
|
215897 |
| 0 |
Klairs009__2__xj9d-s7.jpg |
1838 |
2130 |
N |
46803 |
3562 |
product |
48155 |
A |
10 |
|
48155 |
| 0 |
Klairs009__3__fxk6-n3.jpg |
1840 |
2130 |
N |
46804 |
3562 |
product |
48156 |
A |
11 |
|
48156 |
| 0 |
Klairs009__4__296p-qr.jpg |
1840 |
2136 |
N |
46805 |
3562 |
product |
48157 |
A |
12 |
|
48157 |
| 0 |
Klairs009__5__7on6-j2.jpg |
1840 |
2136 |
N |
46806 |
3562 |
product |
48158 |
A |
13 |
|
48158 |
| 0 |
Klairs009__6__srmo-76.jpg |
1840 |
2136 |
N |
46807 |
3562 |
product |
48159 |
A |
14 |
|
48159 |
| 0 |
Klairs009__7__xwuk-em.jpg |
1840 |
2136 |
N |
46808 |
3562 |
product |
48160 |
A |
15 |
|
48160 |
| 0 |
Klairs009__8__xfuw-c1.jpg |
1840 |
2136 |
N |
46809 |
3562 |
product |
48161 |
A |
16 |
|
48161 |
| 0 |
Dear-Klairs_ya4m-8n.jpg |
2480 |
3508 |
N |
214531 |
3562 |
product |
215806 |
A |
18 |
|
215806 |