+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
| 1 | SIMPLE | btitle | ref | bbdbshr,btdbshi,bbtdbshri | bbtdbshri | 316 | const,const,const,const | 3656 | Using where; Using index |
+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
有几列字段不是太清楚。
ref字段从文档中看,是一个常量。在这里却是const,const,const,const,这个表示什么意思?
Extra字段Using where; Using index 表示什么意思?出现类似Using index、Using filesort和Using temporary是否表示该语句有可能出现性能问题?
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
| 1 | SIMPLE | btitle | ref | bbdbshr,btdbshi,bbtdbshri | bbtdbshri | 316 | const,const,const,const | 3656 | Using where; Using index |
+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
有几列字段不是太清楚。
ref字段从文档中看,是一个常量。在这里却是const,const,const,const,这个表示什么意思?
Extra字段Using where; Using index 表示什么意思?出现类似Using index、Using filesort和Using temporary是否表示该语句有可能出现性能问题?
解决方案 »
- mysql存储过程问题
- xammp 安装后mysql无法启动!求解~~~
- 如何把表里的数据分到多个表中去.
- 什么都试了 就是连不上 使用ODBC来连MySQL
- mysql 自定义函数拼接一个字段的多条记录
- sql查询问题 在线等待
- 多表查询的问题
- ID从1000-2000的表都update为200-300的随机数 该怎么写啊?
- 50分跪求mysql5的编码问题-----------------
- 一个表字段很多,insert这个表时除了insert into (col1,col2,...) values(1,2,...);还有它法吗在MySql下
- mysql里面的datetime和date的问题。
- #1045 - Access denied for user 'root'@'localhost'
mysql-[groupon]> explain select max(id) from t_Groupon_order
-> where from_unixtime(create_time/1000)<CURDATE()\G
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: t_Groupon_order
type: index
possible_keys: NULL
key: ORDER_PAID_INDEX
key_len: 20
ref: NULL
rows: 6711312
Extra: Using where; Using index
1 row in set (0.00 sec)
这个是我的SQL语句
这个不报错?