Query time 0.00151
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "116.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "21.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": 21,
"rows_produced_per_join": 21,
"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 ('9517','9518','9519','9520','9521','9522','9523','9524','9525','9526','9527','9528','9529','9530','9531','9532')))",
"cost_info": {
"read_cost": "41.21",
"eval_cost": "4.20",
"prefix_cost": "45.41",
"data_read_per_join": "1K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "4.20",
"prefix_cost": "70.61",
"data_read_per_join": "16K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "4.20",
"prefix_cost": "95.81",
"data_read_per_join": "12K"
},
"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 |
8114s6FtJOL._SL1500_.jpg |
1500 |
1500 |
N |
25828 |
9519 |
product |
27790 |
A |
1 |
|
27790 |
0 |
71fxmHI-KKL._SL1500__iy7v-sk.jpg |
1500 |
1500 |
N |
25831 |
9517 |
product |
27793 |
A |
1 |
|
27793 |
0 |
41g1Yg_bM0L._SL1000_.jpg |
1000 |
1000 |
N |
25852 |
9530 |
product |
27814 |
A |
1 |
|
27814 |
0 |
41cNKXeURML._SL1000_.jpg |
1000 |
1000 |
N |
25854 |
9531 |
product |
27816 |
A |
1 |
|
27816 |
0 |
51meNwaj7SL._SL1500_.jpg |
561 |
1500 |
N |
25856 |
9529 |
product |
27818 |
A |
1 |
|
27818 |
0 |
71-3vR1JnbL._SL1500_.jpg |
1500 |
1500 |
N |
25858 |
9527 |
product |
27820 |
A |
1 |
|
27820 |
0 |
51k68xzd0kL._SL1000_.jpg |
1000 |
1000 |
N |
25860 |
9526 |
product |
27822 |
A |
1 |
|
27822 |
0 |
incipio-feather-pure-iphone-8-plus-case-clear-ab-v3.jpg |
560 |
560 |
N |
25862 |
9525 |
product |
27824 |
A |
1 |
|
27824 |
0 |
41BF5G5EjxL._SL1000_.jpg |
1000 |
1000 |
N |
25866 |
9523 |
product |
27828 |
A |
1 |
|
27828 |
0 |
image_25684_1_17980.jpg |
68 |
68 |
N |
25868 |
9528 |
product |
27830 |
A |
1 |
|
27830 |
0 |
51k68xzd0kL._SL1000__3d2u-iu.jpg |
1000 |
1000 |
N |
25870 |
9521 |
product |
27832 |
A |
1 |
|
27832 |
0 |
71E7xhED2ML._SL1000_.jpg |
1000 |
1000 |
N |
25872 |
9522 |
product |
27834 |
A |
1 |
|
27834 |
0 |
41wv9kvJFXL._SL1000_.jpg |
1000 |
1000 |
N |
25874 |
9532 |
product |
27836 |
A |
1 |
|
27836 |
0 |
71fxmHI-KKL._SL1500_.jpg |
1500 |
1500 |
N |
25824 |
9518 |
product |
27786 |
A |
2 |
|
27786 |
0 |
71TA5OjilOL._SL1500_.jpg |
1500 |
1500 |
N |
25829 |
9519 |
product |
27791 |
A |
2 |
|
27791 |
0 |
71ba5Rjx2OL._SL1500_.jpg |
1500 |
1500 |
N |
25832 |
9517 |
product |
27794 |
A |
2 |
|
27794 |
0 |
51IDUMlgo2L._SL1000_.jpg |
1000 |
1000 |
N |
25853 |
9530 |
product |
27815 |
A |
2 |
|
27815 |
0 |
61D9e2Z-xRL._SL1000_.jpg |
1000 |
1000 |
N |
25855 |
9531 |
product |
27817 |
A |
2 |
|
27817 |
0 |
61lNhSXEc3L._SL1500_.jpg |
564 |
1500 |
N |
25857 |
9529 |
product |
27819 |
A |
2 |
|
27819 |
0 |
61_o6vwRG3L._SL1500_.jpg |
1500 |
1500 |
N |
25859 |
9527 |
product |
27821 |
A |
2 |
|
27821 |
0 |
618HM_YcBPL._SL1000_.jpg |
1000 |
1000 |
N |
25861 |
9526 |
product |
27823 |
A |
2 |
|
27823 |
0 |
incipio-feather-pure-iphone-8-case-clear-a-v3.jpg |
560 |
560 |
N |
25863 |
9525 |
product |
27825 |
A |
2 |
|
27825 |
0 |
IPH-1474-SMK_b_1024x.jpg |
1024 |
1024 |
N |
25865 |
9524 |
product |
27827 |
A |
2 |
|
27827 |
0 |
51un4qqtzvL._SL1000_.jpg |
1000 |
1000 |
N |
25867 |
9523 |
product |
27829 |
A |
2 |
|
27829 |
0 |
image_25684_1_17978.jpg |
68 |
68 |
N |
25869 |
9528 |
product |
27831 |
A |
2 |
|
27831 |
0 |
618HM_YcBPL._SL1000__ddzj-7z.jpg |
1000 |
1000 |
N |
25871 |
9521 |
product |
27833 |
A |
2 |
|
27833 |
0 |
51OmOHKvtpL._SL1000_.jpg |
1000 |
1000 |
N |
25873 |
9522 |
product |
27835 |
A |
2 |
|
27835 |
0 |
51K2LE9rW1L._SL1000_.jpg |
1000 |
1000 |
N |
25875 |
9532 |
product |
27837 |
A |
2 |
|
27837 |
0 |
71lUio3eCAL._SL1500_.jpg |
1500 |
1500 |
N |
25825 |
9518 |
product |
27787 |
A |
3 |
|
27787 |
0 |
51glr6P7UyL._SL1000_.jpg |
1000 |
1000 |
N |
25876 |
9532 |
product |
27838 |
A |
3 |
|
27838 |
0 |
81jivcNRb5L._SL1500_.jpg |
1500 |
1500 |
N |
25826 |
9518 |
product |
27788 |
A |
4 |
|
27788 |
0 |
81_jZ16aKyL._SL1500_.jpg |
1500 |
1500 |
N |
25830 |
9519 |
product |
27792 |
A |
4 |
|
27792 |