Query time 0.00095
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "134.03"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "36.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": 36,
"rows_produced_per_join": 36,
"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 (68137,37263,65285,63942,69361,37830,38680,33114)))",
"cost_info": {
"read_cost": "34.68",
"eval_cost": "3.60",
"prefix_cost": "38.28",
"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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "28.05",
"eval_cost": "3.60",
"prefix_cost": "69.92",
"data_read_per_join": "27K"
},
"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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "24.51",
"eval_cost": "3.60",
"prefix_cost": "98.03",
"data_read_per_join": "21K"
},
"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__4__f1bp-2e.jpg |
750 |
750 |
N |
130572 |
33114 |
product |
131924 |
A |
1 |
|
131924 |
| 0 |
2_dvub-0o.jpg |
679 |
679 |
N |
166017 |
37830 |
product |
167366 |
A |
1 |
|
167366 |
| 0 |
61TDXdwbBlL._SX425_mask6.jpg |
425 |
425 |
N |
176465 |
65285 |
product |
177811 |
A |
1 |
|
177811 |
| 0 |
71pgYrAjcHL._SX425_.jpg |
425 |
425 |
N |
180481 |
63942 |
product |
181827 |
A |
1 |
|
181827 |
| 0 |
10_r3zw-3c.jpg |
1080 |
1080 |
N |
193893 |
68137 |
product |
195231 |
A |
1 |
|
195231 |
| 0 |
71tfm-oNvKL._SL1500_.jpg |
1500 |
1500 |
N |
206448 |
69361 |
product |
207732 |
A |
1 |
|
207732 |
| 0 |
Biodance_yki7-dh.jpg |
2480 |
3508 |
N |
214462 |
37263 |
product |
215737 |
A |
1 |
|
215737 |
| 0 |
1__5__lcf5-36.jpg |
750 |
750 |
N |
130573 |
33114 |
product |
131925 |
A |
2 |
|
131925 |
| 0 |
5_vi20-5f.jpg |
679 |
679 |
N |
166019 |
37830 |
product |
167368 |
A |
2 |
|
167368 |
| 0 |
61VTrSWMlGL._SX425_mask2.jpg |
425 |
425 |
N |
176466 |
65285 |
product |
177812 |
A |
2 |
|
177812 |
| 0 |
71vxHRHu-6L._SX425_.jpg |
425 |
425 |
N |
180482 |
63942 |
product |
181828 |
A |
2 |
|
181828 |
| 0 |
9_su9b-gp.jpg |
1080 |
1080 |
N |
193892 |
68137 |
product |
195230 |
A |
2 |
|
195230 |
| 0 |
71cJ4Z5mXoL._SL1500_.jpg |
1500 |
1500 |
N |
206449 |
69361 |
product |
207733 |
A |
2 |
|
207733 |
| 0 |
1__8__bhdj-za.jpg |
750 |
750 |
N |
130574 |
33114 |
product |
131926 |
A |
3 |
|
131926 |
| 0 |
4_ev0l-jg.jpg |
679 |
679 |
N |
166016 |
37830 |
product |
167365 |
A |
3 |
|
167365 |
| 0 |
61r6UCiN-JL._SX425_mask4.jpg |
425 |
425 |
N |
176467 |
65285 |
product |
177813 |
A |
3 |
|
177813 |
| 0 |
71JxVyQbQrL._SX425_.jpg |
425 |
425 |
N |
180483 |
63942 |
product |
181829 |
A |
3 |
|
181829 |
| 0 |
81XpdrC1xNL._SL1500_.jpg |
1500 |
1500 |
N |
206450 |
69361 |
product |
207734 |
A |
3 |
|
207734 |
| 0 |
1__2__hpdt-06.jpg |
750 |
750 |
N |
130575 |
33114 |
product |
131927 |
A |
4 |
|
131927 |
| 0 |
6_g2am-ff.jpg |
679 |
679 |
N |
166018 |
37830 |
product |
167367 |
A |
4 |
|
167367 |
| 0 |
61TDXdwbBlL._SX425_mask3.jpg |
425 |
425 |
N |
176468 |
65285 |
product |
177814 |
A |
4 |
|
177814 |
| 0 |
61og2KsZT0L._SX425_.jpg |
425 |
425 |
N |
180484 |
63942 |
product |
181830 |
A |
4 |
|
181830 |
| 0 |
61oG4rbLQNL._SL1500_.jpg |
1500 |
1500 |
N |
206451 |
69361 |
product |
207735 |
A |
4 |
|
207735 |
| 0 |
1__3__lfo1-jh.jpg |
750 |
750 |
N |
130576 |
33114 |
product |
131928 |
A |
5 |
|
131928 |
| 0 |
7_kyq9-ey.jpg |
679 |
679 |
N |
166020 |
37830 |
product |
167369 |
A |
5 |
|
167369 |
| 0 |
71RU9mbogsL._SL1500_.jpg |
1500 |
1500 |
N |
206452 |
69361 |
product |
207736 |
A |
5 |
|
207736 |
| 0 |
Biodance_d7nb-g5.jpg |
2480 |
3508 |
N |
214472 |
65285 |
product |
215747 |
A |
5 |
|
215747 |
| 0 |
1__6__9g8t-0h.jpg |
750 |
750 |
N |
130577 |
33114 |
product |
131929 |
A |
6 |
|
131929 |
| 0 |
3_tnzg-x2.jpg |
679 |
679 |
N |
166021 |
37830 |
product |
167370 |
A |
6 |
|
167370 |
| 0 |
81I-zpbfQDL._SL1500_.jpg |
1500 |
1500 |
N |
206453 |
69361 |
product |
207737 |
A |
6 |
|
207737 |
| 0 |
1__9__2ukl-u8.jpg |
750 |
750 |
N |
130578 |
33114 |
product |
131930 |
A |
7 |
|
131930 |
| 0 |
71QceAZAAQL._SL1500_.jpg |
1500 |
1500 |
N |
206454 |
69361 |
product |
207738 |
A |
7 |
|
207738 |
| 0 |
I'm-from_w00f-wd.jpg |
2480 |
3508 |
N |
214622 |
37830 |
product |
215897 |
A |
7 |
|
215897 |
| 0 |
1__10__dwyc-c8.jpg |
750 |
750 |
N |
130579 |
33114 |
product |
131931 |
A |
8 |
|
131931 |
| 0 |
1__1__yejy-ba.jpg |
750 |
750 |
N |
130580 |
33114 |
product |
131932 |
A |
9 |
|
131932 |
| 0 |
Biodance_7b3c-i6.jpg |
2480 |
3508 |
N |
214469 |
38680 |
product |
215744 |
A |
16 |
|
215744 |