Query time 0.00111
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "187.24"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "48.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": 48,
"rows_produced_per_join": 48,
"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 (3562,3978,69690,17320,37276,37518,37830,37831)))",
"cost_info": {
"read_cost": "49.63",
"eval_cost": "4.80",
"prefix_cost": "54.43",
"data_read_per_join": "4K"
},
"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": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "39.40",
"eval_cost": "4.80",
"prefix_cost": "98.63",
"data_read_per_join": "36K"
},
"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": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.82",
"eval_cost": "4.80",
"prefix_cost": "139.24",
"data_read_per_join": "28K"
},
"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_qi8h-yc.jpg |
1840 |
2130 |
N |
45000 |
3978 |
product |
46352 |
A |
1 |
|
46352 |
| 0 |
2_dvub-0o.jpg |
679 |
679 |
N |
166017 |
37830 |
product |
167366 |
A |
1 |
|
167366 |
| 0 |
3_cqao-dw.jpg |
679 |
679 |
N |
166024 |
37831 |
product |
167373 |
A |
1 |
|
167373 |
| 0 |
2_5831-vi.png |
1080 |
1080 |
N |
167422 |
17320 |
product |
168771 |
A |
1 |
|
168771 |
| 0 |
2_40ad-pc.jpg |
1840 |
2130 |
N |
45001 |
3978 |
product |
46353 |
A |
2 |
|
46353 |
| 0 |
5_vi20-5f.jpg |
679 |
679 |
N |
166019 |
37830 |
product |
167368 |
A |
2 |
|
167368 |
| 0 |
2_7s3q-54.jpg |
679 |
679 |
N |
166025 |
37831 |
product |
167374 |
A |
2 |
|
167374 |
| 0 |
3_s0t8-tw.png |
1080 |
1080 |
N |
167423 |
17320 |
product |
168772 |
A |
2 |
|
168772 |
| 0 |
3_6ezn-f1.jpg |
1840 |
2130 |
N |
45002 |
3978 |
product |
46354 |
A |
3 |
|
46354 |
| 0 |
4_ev0l-jg.jpg |
679 |
679 |
N |
166016 |
37830 |
product |
167365 |
A |
3 |
|
167365 |
| 0 |
5_cbpu-hx.jpg |
679 |
679 |
N |
166026 |
37831 |
product |
167375 |
A |
3 |
|
167375 |
| 0 |
5_m19a-o3.png |
1080 |
1080 |
N |
167424 |
17320 |
product |
168773 |
A |
3 |
|
168773 |
| 0 |
4_g3gl-5g.jpg |
1840 |
2130 |
N |
45003 |
3978 |
product |
46355 |
A |
4 |
|
46355 |
| 0 |
6_g2am-ff.jpg |
679 |
679 |
N |
166018 |
37830 |
product |
167367 |
A |
4 |
|
167367 |
| 0 |
4_4xm6-1b.png |
1080 |
1080 |
N |
167425 |
17320 |
product |
168774 |
A |
4 |
|
168774 |
| 0 |
I'm-from_6vnd-k8.jpg |
2480 |
3508 |
N |
214623 |
37831 |
product |
215898 |
A |
4 |
|
215898 |
| 0 |
5_jq5u-9b.jpg |
1840 |
2130 |
N |
45004 |
3978 |
product |
46356 |
A |
5 |
|
46356 |
| 0 |
7_kyq9-ey.jpg |
679 |
679 |
N |
166020 |
37830 |
product |
167369 |
A |
5 |
|
167369 |
| 0 |
6_h64n-6t.png |
1080 |
1080 |
N |
167426 |
17320 |
product |
168775 |
A |
5 |
|
168775 |
| 0 |
2_gas1-9u.png |
800 |
1067 |
N |
197380 |
37276 |
product |
198718 |
A |
5 |
|
198718 |
| 0 |
6_ddn6-ru.jpg |
1840 |
2130 |
N |
45005 |
3978 |
product |
46357 |
A |
6 |
|
46357 |
| 0 |
3_tnzg-x2.jpg |
679 |
679 |
N |
166021 |
37830 |
product |
167370 |
A |
6 |
|
167370 |
| 0 |
3_hha3-12_syv9-25.png |
800 |
1067 |
N |
197387 |
37276 |
product |
198725 |
A |
6 |
|
198725 |
| 0 |
COSRX_wmm4-87.jpg |
595 |
842 |
N |
25507 |
3978 |
product |
26859 |
A |
7 |
|
26859 |
| 0 |
The6_Peptid_Serum_1.jpg |
800 |
1067 |
N |
163689 |
37518 |
product |
165041 |
A |
7 |
|
165041 |
| 0 |
4_9rqs-lh_1kxv-2d.png |
800 |
1067 |
N |
197388 |
37276 |
product |
198726 |
A |
7 |
|
198726 |
| 0 |
I'm-from_w00f-wd.jpg |
2480 |
3508 |
N |
214622 |
37830 |
product |
215897 |
A |
7 |
|
215897 |
| 0 |
The6_Peptid_Serum_2.jpg |
800 |
1067 |
N |
163690 |
37518 |
product |
165042 |
A |
8 |
|
165042 |
| 0 |
5_i76x-2y_9oaf-a7.png |
800 |
1067 |
N |
197389 |
37276 |
product |
198727 |
A |
8 |
|
198727 |
| 0 |
The6_Peptid_Serum_3.jpg |
800 |
1067 |
N |
163691 |
37518 |
product |
165043 |
A |
9 |
|
165043 |
| 0 |
6_s1j0-h2_mg8j-0i.png |
800 |
1067 |
N |
197390 |
37276 |
product |
198728 |
A |
9 |
|
198728 |
| 0 |
Klairs009__2__xj9d-s7.jpg |
1838 |
2130 |
N |
46803 |
3562 |
product |
48155 |
A |
10 |
|
48155 |
| 0 |
The6_Peptid_Serum_4.jpg |
800 |
1067 |
N |
163692 |
37518 |
product |
165044 |
A |
10 |
|
165044 |
| 0 |
ACMF070_2.jpg |
1000 |
1000 |
N |
211470 |
69690 |
product |
212745 |
A |
10 |
|
212745 |
| 0 |
Klairs009__3__fxk6-n3.jpg |
1840 |
2130 |
N |
46804 |
3562 |
product |
48156 |
A |
11 |
|
48156 |
| 0 |
The6_Peptid_Serum_5.jpg |
800 |
1067 |
N |
163693 |
37518 |
product |
165045 |
A |
11 |
|
165045 |
| 0 |
Klairs009__4__296p-qr.jpg |
1840 |
2136 |
N |
46805 |
3562 |
product |
48157 |
A |
12 |
|
48157 |
| 0 |
The6_Peptid_Serum_9.jpg |
800 |
1067 |
N |
163694 |
37518 |
product |
165046 |
A |
12 |
|
165046 |
| 0 |
Klairs009__5__7on6-j2.jpg |
1840 |
2136 |
N |
46806 |
3562 |
product |
48158 |
A |
13 |
|
48158 |
| 0 |
COSRX_4myw-l5_x65z-j9.jpg |
595 |
842 |
N |
173304 |
37518 |
product |
174650 |
A |
13 |
|
174650 |
| 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 |
| 0 |
ACMF070_3.jpg |
1000 |
1000 |
N |
211471 |
69690 |
product |
212746 |
A |
20 |
|
212746 |
| 0 |
ACMF070_4.jpg |
1000 |
1000 |
N |
211472 |
69690 |
product |
212747 |
A |
30 |
|
212747 |
| 0 |
ACMF070_5.jpg |
1000 |
1000 |
N |
211473 |
69690 |
product |
212748 |
A |
40 |
|
212748 |
| 0 |
ACMF070_6.jpg |
1000 |
1000 |
N |
211474 |
69690 |
product |
212749 |
A |
50 |
|
212749 |