Query time 0.00227
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "136.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "25.00"
},
"nested_loop": [
{
"table": {
"table_name": "q_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 25,
"rows_produced_per_join": 25,
"filtered": "100.00",
"index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('10482','10486','10487','10490','10491','10492','10493','10501','10506','10507','10508','10509','10510','10511','10512','10513')))",
"cost_info": {
"read_cost": "46.01",
"eval_cost": "5.00",
"prefix_cost": "51.01",
"data_read_per_join": "2K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "q_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"portal.q_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "25.00",
"eval_cost": "5.00",
"prefix_cost": "81.01",
"data_read_per_join": "19K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
],
"attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "q_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"portal.q_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "25.00",
"eval_cost": "5.00",
"prefix_cost": "111.01",
"data_read_per_join": "14K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_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 |
41ug0xSrYOL._SX342_.jpg |
342 |
342 |
N |
21518 |
10510 |
product |
23480 |
A |
1 |
|
23480 |
0 |
31kuLCMaUHL.jpg |
500 |
500 |
N |
21761 |
10482 |
product |
23723 |
A |
1 |
|
23723 |
0 |
51KKVhNfIKL._SL1080_.jpg |
1080 |
1080 |
N |
21775 |
10487 |
product |
23737 |
A |
1 |
|
23737 |
0 |
21XwLhi-aVL.jpg |
500 |
500 |
N |
21787 |
10491 |
product |
23749 |
A |
1 |
|
23749 |
0 |
71m1e-Zzx-L._SL1500_.jpg |
1500 |
935 |
N |
26765 |
10492 |
product |
28727 |
A |
1 |
|
28727 |
0 |
Xiaomi-Bluetooth-Headset-Young-Version-LYEJ02LM-Headphone-Bluetooth-V4-1-Hands-free-Calling-with-MIC.jpg_640x640.jpg |
640 |
640 |
N |
26834 |
10486 |
product |
28796 |
A |
1 |
|
28796 |
0 |
31VsrjKcV9L.jpg |
500 |
500 |
N |
21762 |
10482 |
product |
23724 |
A |
2 |
|
23724 |
0 |
31RXLFq0vhL.jpg |
500 |
271 |
N |
21776 |
10487 |
product |
23738 |
A |
2 |
|
23738 |
0 |
31_54RfsdHL.jpg |
500 |
500 |
N |
21788 |
10491 |
product |
23750 |
A |
2 |
|
23750 |
0 |
61Qk6Yiy1VL._SL1500_.jpg |
1500 |
884 |
N |
26766 |
10492 |
product |
28728 |
A |
2 |
|
28728 |
0 |
maxresdefault.jpg |
1280 |
720 |
N |
26835 |
10486 |
product |
28797 |
A |
2 |
|
28797 |
0 |
31E4sZHMEmL.jpg |
500 |
500 |
N |
21777 |
10487 |
product |
23739 |
A |
3 |
|
23739 |
0 |
31R-jx5DifL.jpg |
500 |
500 |
N |
21789 |
10491 |
product |
23751 |
A |
3 |
|
23751 |
0 |
51GZhPMVMCL._SL1500_.jpg |
1500 |
937 |
N |
26786 |
10492 |
product |
28748 |
A |
3 |
|
28748 |
0 |
31-aV1d6GXL.jpg |
500 |
500 |
N |
21778 |
10487 |
product |
23740 |
A |
4 |
|
23740 |
0 |
31Ypc6EAmmL.jpg |
500 |
500 |
N |
21790 |
10491 |
product |
23752 |
A |
4 |
|
23752 |
0 |
41iJZY5Q9xL._SL1000_.jpg |
1000 |
573 |
N |
21786 |
10490 |
product |
23748 |
A |
10 |
|
23748 |
0 |
51XyDVvrN1L._SL1024_.jpg |
1024 |
1024 |
N |
21791 |
10493 |
product |
23753 |
A |
10 |
|
23753 |
0 |
31yJPfaOT8L.jpg |
500 |
407 |
N |
21810 |
10501 |
product |
23772 |
A |
10 |
|
23772 |
0 |
41tF_Jdz3oL._SL1000_.jpg |
1000 |
1000 |
N |
21822 |
10506 |
product |
23784 |
A |
10 |
|
23784 |
0 |
4132bqdGMiL._SX342_.jpg |
342 |
429 |
N |
21825 |
10508 |
product |
23787 |
A |
10 |
|
23787 |
0 |
41K-tKJe2pL._SX342_.jpg |
342 |
342 |
N |
21827 |
10509 |
product |
23789 |
A |
10 |
|
23789 |
0 |
31b4W2iGRZL._SX342_.jpg |
342 |
346 |
N |
21830 |
10511 |
product |
23792 |
A |
10 |
|
23792 |
0 |
51Otg6DShQL._SX342_.jpg |
342 |
342 |
N |
21831 |
10512 |
product |
23793 |
A |
10 |
|
23793 |
0 |
41G7vZkBHSL._SY445_.jpg |
319 |
445 |
N |
21832 |
10513 |
product |
23794 |
A |
10 |
|
23794 |
0 |
Xiaomi-Universal-Wireless-Charging-Pad.jpg |
805 |
456 |
N |
26831 |
10490 |
product |
28793 |
A |
11 |
|
28793 |
0 |
wireless_charger_1.jpg |
1000 |
561 |
N |
26832 |
10490 |
product |
28794 |
A |
12 |
|
28794 |
0 |
51tioWF8OVL._SL1024_.jpg |
1024 |
1024 |
N |
21792 |
10493 |
product |
23754 |
A |
20 |
|
23754 |
0 |
51E6SZ8iUHL._SL1200_.jpg |
1200 |
1200 |
N |
21811 |
10501 |
product |
23773 |
A |
20 |
|
23773 |
0 |
51whV5bk5EL._SL1000_.jpg |
1000 |
1000 |
N |
21823 |
10506 |
product |
23785 |
A |
20 |
|
23785 |
0 |
41mvpR_r6WL._SX342_.jpg |
342 |
429 |
N |
21826 |
10508 |
product |
23788 |
A |
20 |
|
23788 |
0 |
41NlSyrQvcL._SX342_.jpg |
342 |
342 |
N |
21828 |
10509 |
product |
23790 |
A |
20 |
|
23790 |
0 |
61PgtOxbnGL._SL1500__zn07-5j.jpg |
1500 |
595 |
N |
21812 |
10501 |
product |
23774 |
A |
30 |
|
23774 |
0 |
31X_8QIe7EL.jpg |
500 |
500 |
N |
21824 |
10506 |
product |
23786 |
A |
30 |
|
23786 |
0 |
41m0MYFlvRL._SX342_.jpg |
342 |
342 |
N |
21829 |
10509 |
product |
23791 |
A |
30 |
|
23791 |