Query time 0.00114
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "156.27"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "39.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": 39,
"rows_produced_per_join": 39,
"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,37831,66982,38680,33698,65259,32160,69312)))",
"cost_info": {
"read_cost": "42.77",
"eval_cost": "3.90",
"prefix_cost": "46.67",
"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": 39,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.59",
"eval_cost": "3.90",
"prefix_cost": "83.15",
"data_read_per_join": "29K"
},
"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": 39,
"filtered": "100.00",
"cost_info": {
"read_cost": "30.22",
"eval_cost": "3.90",
"prefix_cost": "117.28",
"data_read_per_join": "23K"
},
"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__2__wwhp-9t.jpg |
1000 |
1500 |
N |
125800 |
32160 |
product |
127152 |
A |
1 |
|
127152 |
| 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_jdyz-e5.jpg |
1500 |
1500 |
N |
205476 |
69312 |
product |
206760 |
A |
1 |
|
206760 |
| 0 |
2_4xyw-4q.jpg |
1500 |
1500 |
N |
208653 |
33698 |
product |
209928 |
A |
1 |
|
209928 |
| 0 |
1__3__41tp-0k.jpg |
1000 |
1000 |
N |
125801 |
32160 |
product |
127153 |
A |
2 |
|
127153 |
| 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_jp2z-m3.jpg |
1500 |
1500 |
N |
205477 |
69312 |
product |
206761 |
A |
2 |
|
206761 |
| 0 |
3_0p5z-03.jpg |
1500 |
1500 |
N |
208654 |
33698 |
product |
209929 |
A |
2 |
|
209929 |
| 0 |
8809652581781_2.jpg |
2000 |
2000 |
N |
215008 |
65259 |
product |
216283 |
A |
2 |
|
216283 |
| 0 |
1__5__56l4-q2.jpg |
800 |
1244 |
N |
125802 |
32160 |
product |
127154 |
A |
3 |
|
127154 |
| 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 |
B502.jpeg |
486 |
649 |
N |
185603 |
66982 |
product |
186949 |
A |
3 |
|
186949 |
| 0 |
4_g6u1-62.jpg |
1500 |
1500 |
N |
205478 |
69312 |
product |
206762 |
A |
3 |
|
206762 |
| 0 |
4_k5mc-m0.jpg |
1500 |
1500 |
N |
208655 |
33698 |
product |
209930 |
A |
3 |
|
209930 |
| 0 |
8809652581781_3.jpg |
2000 |
2000 |
N |
215009 |
65259 |
product |
216284 |
A |
3 |
|
216284 |
| 0 |
1__4__e1zo-qa.jpg |
1000 |
1000 |
N |
125803 |
32160 |
product |
127155 |
A |
4 |
|
127155 |
| 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 |
5_gevy-8j.jpg |
1500 |
1500 |
N |
205479 |
69312 |
product |
206763 |
A |
4 |
|
206763 |
| 0 |
5_x1rf-2a.jpg |
1500 |
1500 |
N |
208656 |
33698 |
product |
209931 |
A |
4 |
|
209931 |
| 0 |
I'm-from_6vnd-k8.jpg |
2480 |
3508 |
N |
214623 |
37831 |
product |
215898 |
A |
4 |
|
215898 |
| 0 |
8809652581781_4.jpg |
2000 |
2000 |
N |
215010 |
65259 |
product |
216285 |
A |
4 |
|
216285 |
| 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 |
6_3sng-2u.jpg |
1500 |
1500 |
N |
205480 |
69312 |
product |
206764 |
A |
5 |
|
206764 |
| 0 |
6_jayl-zd.jpg |
1500 |
1500 |
N |
208657 |
33698 |
product |
209932 |
A |
5 |
|
209932 |
| 0 |
Axis-y_6s0c-0l.jpg |
2480 |
3508 |
N |
214372 |
32160 |
product |
215647 |
A |
5 |
|
215647 |
| 0 |
Numbuzin_o18m-e8.jpg |
2480 |
3508 |
N |
214457 |
65259 |
product |
215732 |
A |
5 |
|
215732 |
| 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 |
7_e8an-ok.jpg |
1500 |
1500 |
N |
205481 |
69312 |
product |
206765 |
A |
6 |
|
206765 |
| 0 |
7_qnl0-1y.jpg |
1500 |
1500 |
N |
208658 |
33698 |
product |
209933 |
A |
6 |
|
209933 |
| 0 |
8_ift4-g5.jpg |
1500 |
1500 |
N |
205482 |
69312 |
product |
206766 |
A |
7 |
|
206766 |
| 0 |
8_65fe-e0.jpg |
1500 |
1500 |
N |
208659 |
33698 |
product |
209934 |
A |
7 |
|
209934 |
| 0 |
I'm-from_w00f-wd.jpg |
2480 |
3508 |
N |
214622 |
37830 |
product |
215897 |
A |
7 |
|
215897 |
| 0 |
Biodance_7b3c-i6.jpg |
2480 |
3508 |
N |
214469 |
38680 |
product |
215744 |
A |
16 |
|
215744 |