搜索

MySQL explain实际操作流程说明

发表于 2025-11-04 20:26:50 来源:益强智未来
MySQL explain实际操作流程说明
实际说明复制MySQL> explain SELECT * FROM `whisper` WHERE to_id = 6696 AND del = 0 AND whisper=0 ORDER BY `send_time` DESC LIMIT 4;   +----+-------------+---------+------+---------------+-------+---------+-------+------+-----------------------------+   | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |   +----+-------------+---------+------+---------------+-------+---------+-------+------+-----------------------------+   | 1 | SIMPLE | whisper | ref | to_id | to_id | 4 | const | 1 | Using where; Using filesort |   +----+-------------+---------+------+---------------+-------+---------+-------+------+-----------------------------+   1 row in set (0.00 sec)  1.2.3.4.5.6.7.
随机为您推荐
版权声明:本站资源均来自互联网,如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

Copyright © 2016 Powered by MySQL explain实际操作流程说明,益强智未来  滇ICP备2023006006号-17sitemap

回顶部