Query time 0.00031
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 (259,260,261,262,263)"
}
}
}
},
{
"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 = 'en' 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 |
| 9057 |
ab-fn-549.png |
200 |
200 |
N |
N |
3736 |
259 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9057 |
| 9058 |
ab-fn-550.png |
100 |
100 |
N |
N |
3737 |
260 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9058 |
| 9059 |
ab-fn-551.png |
100 |
100 |
N |
N |
3738 |
261 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9059 |
| 9060 |
ab-fn-552.png |
100 |
100 |
N |
N |
3739 |
262 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9060 |
| 9061 |
ab-fn-553.png |
100 |
100 |
N |
N |
3740 |
263 |
ab__fn_menu_icon |
0 |
M |
0 |
|
9061 |