Query time 0.00032
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "vi_images_links.position, vi_images_links.pair_id",
"table": {
"table_name": "vi_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 5,
"filtered": 100,
"index_condition": "vi_images_links.object_type = 'ab__fn_menu_icon' and vi_images_links.`type` = 'M' and vi_images_links.object_id in (253,254,255,256,257)"
}
}
}
},
{
"table": {
"table_name": "vi_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["devvipiriscom.vi_images_links.image_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "vi_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["devvipiriscom.vi_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(vi_common_descriptions.object_holder = 'images' and vi_common_descriptions.lang_code = 'pt' and trigcond(vi_images.image_id is not null))"
}
}
]
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 9051 |
ab-fn-543.png |
100 |
100 |
N |
N |
3730 |
253 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9051 |
| 9052 |
ab-fn-544.png |
100 |
100 |
N |
N |
3731 |
254 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9052 |
| 9053 |
ab-fn-545.png |
100 |
100 |
N |
N |
3732 |
255 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9053 |
| 9054 |
ab-fn-546.png |
100 |
100 |
N |
N |
3733 |
256 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9054 |
| 9055 |
ab-fn-547.png |
100 |
100 |
N |
N |
3734 |
257 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9055 |