+----+-------------+--------+------+---------------------------+-----------+---------+-------------------------+------+--------------------------+
| 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是否表示该语句有可能出现性能问题?
解决方案 »
- navicat,能否实现,只执行选中的sql语句呢?执行选中语句功能如何实现呢?
- 求助:Mysql安装失败,error 1335
- mysql插入图片数据
- mysql 表的拆分
- 简单的SQL问题
- 求一sql语句,怎样一次更新多条记录?
- 连接MySQL出错
- 求助一个sql语句该怎么写,数据库中一张表存代码,另一张表存代码对应的名字,现在想查询代码表但显示名字
- myql意外1067停止怎么办?网上找了很多都没解决,不知my.ini怎么配置,求助。。。。
- centos7安装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语句
这个不报错?