Query time 0.00126
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "77.07"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "24.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": 24,
"rows_produced_per_join": 24,
"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 (65070,69192,68307,34809,69790,70134,11758,65190,69791,65192,6868,8928,11756,11757,11759,69733,69741,69778,65163,65184,38456,65178,64480,65177)))",
"cost_info": {
"read_cost": "24.19",
"eval_cost": "2.40",
"prefix_cost": "26.59",
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.89",
"eval_cost": "2.40",
"prefix_cost": "40.88",
"data_read_per_join": "18K"
},
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.78",
"eval_cost": "2.40",
"prefix_cost": "53.07",
"data_read_per_join": "14K"
},
"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 |
UNFLAVOURED_F.jpg |
1000 |
1000 |
N |
116328 |
11756 |
product |
117680 |
M |
0 |
|
117680 |
| 0 |
uc.jpg |
813 |
1080 |
N |
140673 |
34809 |
product |
142025 |
M |
0 |
|
142025 |
| 0 |
1_ecnb-3u.png |
1000 |
1000 |
N |
172137 |
64480 |
product |
173483 |
M |
0 |
|
173483 |
| 0 |
8908020854769-1.jpg |
3000 |
3000 |
N |
174469 |
65070 |
product |
175815 |
M |
0 |
|
175815 |
| 0 |
1_po3h-5y.jpg |
1200 |
1200 |
N |
175484 |
65177 |
product |
176830 |
M |
0 |
|
176830 |
| 0 |
1_kfgv-p6.jpg |
1200 |
1200 |
N |
175492 |
65178 |
product |
176838 |
M |
0 |
|
176838 |
| 0 |
1_gfw2-c5.jpg |
1200 |
1200 |
N |
175538 |
65184 |
product |
176884 |
M |
0 |
|
176884 |
| 0 |
1_23tf-vy.jpg |
1001 |
1001 |
N |
175579 |
65190 |
product |
176925 |
M |
0 |
|
176925 |
| 0 |
1_h8dz-o6.png |
2000 |
2000 |
N |
175599 |
65192 |
product |
176945 |
M |
0 |
|
176945 |
| 0 |
EDP-400_1_7qi7-i6.png |
1000 |
1000 |
N |
195584 |
6868 |
product |
196922 |
M |
0 |
|
196922 |
| 0 |
EDP-900_1_5588-nt.png |
1000 |
1000 |
N |
195605 |
8928 |
product |
196943 |
M |
0 |
|
196943 |
| 0 |
71_Hd8q1RuL._SL1500_.jpg |
1449 |
1500 |
N |
201217 |
38456 |
product |
202501 |
M |
0 |
|
202501 |
| 0 |
uc_pal5-f1.jpg |
1080 |
1080 |
N |
204120 |
69192 |
product |
205404 |
M |
0 |
|
205404 |
| 0 |
Copy_of_Pro_Coffee_FOP_copy_utjg-2b.jpg |
2520 |
2520 |
N |
205741 |
68307 |
product |
207025 |
M |
0 |
|
207025 |
| 0 |
uc_6wra-ic.jpg |
3000 |
3000 |
N |
209221 |
69733 |
product |
210496 |
M |
0 |
|
210496 |
| 0 |
uc_a6h9-dc.jpg |
1500 |
1500 |
N |
209253 |
69741 |
product |
210528 |
M |
0 |
|
210528 |
| 0 |
uc_2sa1-nq.jpg |
1500 |
1500 |
N |
209530 |
69790 |
product |
210805 |
M |
0 |
|
210805 |
| 0 |
uc_g58c-is.jpg |
1500 |
1500 |
N |
209534 |
69791 |
product |
210809 |
M |
0 |
|
210809 |
| 0 |
uc_9k89-19.jpg |
1080 |
1080 |
N |
213688 |
70134 |
product |
214963 |
M |
0 |
|
214963 |
| 0 |
71xe-0zGfIL._SL1500_.jpg |
1500 |
1500 |
N |
210769 |
69778 |
product |
212044 |
M |
3 |
|
212044 |
| 0 |
1_54fj-gw.jpg |
1000 |
1000 |
N |
115713 |
11757 |
product |
117065 |
M |
5 |
|
117065 |
| 0 |
Power_Protein_4lb_Front.jpg |
1500 |
1500 |
N |
214847 |
65163 |
product |
216122 |
M |
5 |
|
216122 |
| 0 |
1_5pyv-0y.jpg |
1000 |
1000 |
N |
115703 |
11759 |
product |
117055 |
M |
6 |
|
117055 |
| 0 |
1_bdqk-m1.jpg |
1000 |
1000 |
N |
115708 |
11758 |
product |
117060 |
M |
6 |
|
117060 |