MYSQL中EXPLAIN的说明
来源:互联网 发布:sql server数据库教程 编辑:程序博客网 时间:2024/06/05 00:18
mysql> explain select count(id) from t_prehandle_zhigao_05 as zhigao where start_time > '2008-05-30';
+----+-------------+--------+-------+---------------+------------+---------+------+---------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------+-------+---------------+------------+---------+------+---------+--------------------------+
| 1 | SIMPLE | zhigao | range | start_time | start_time | 8 | NULL | 1061762 | Using where; Using index |
+----+-------------+--------+-------+---------------+------------+---------+------+---------+--------------------------+
1 row in set (0.00 sec)
mysql>
EXPLAIN列的解释:
中使用USE INDEX(indexname)来强制使用一个索引或者用IGNORE INDEX(indexname)来强制MYSQL忽略索引
extra列返回的描述的意义
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/9817/showart_1008236.html
- MYSQL中EXPLAIN的说明
- MYSQL中EXPLAIN的说明
- MYSQL中EXPLAIN的说明
- MYSQL中EXPLAIN的说明
- MYSQL中EXPLAIN的说明
- MYSQL中EXPLAIN的说明
- mysql中explain说明
- mysql explain中key_len值的说明
- MySQL的explain详细说明
- MySQL的explain中的参数说明
- mysql 中explain的用法
- mysql中explain的用法
- mysql中explain的用法
- MySQL中EXPLAIN的解释
- mysql中explain的使用
- mysql explain字段说明
- MYSQL explain说明
- mysql explain 说明
- JAVA数据库连接池
- SQLite使用总结4_增删改查
- LeetCode - Best Time to Buy and Sell Stock II
- maven 打包
- Remove Norman Security Suite with WindowsUninstaller.Org Removal Tips
- MYSQL中EXPLAIN的说明
- js一些方法的兼容性问题
- poj 2406 poj 1961 个人对吉大KMP模板的理解 KMP 基础题--找周期串
- Python网络页面抓取和页面分析
- 链表面试题
- 黑马程序员-String类的总结和用法
- java遍历Properties文件
- 漂亮玫瑰
- Linux搜索文件及目录命令