Mysql explain 섹션 테이블 보기

1114 단어
mysql> explain select * from ClientActionTrack where startTime>'2016-08-25 00:00:00' and startTime explain extended select * from ClientActionTrack where startTime>'2016-08-25 00:00:00' and startTime explain partitions select * from ClientActionTrack where startTime>'2016-08-25 00:00:00' and startTime explain partitions SELECT *  from ClientActionTrack  PARTITION (p20160825);
+----+-------------+-------------------+------------+------+---------------+------+---------+------+-------+-------+
| id | select_type | table             | partitions | type | possible_keys | key  | key_len | ref  | rows  | Extra |
+----+-------------+-------------------+------------+------+---------------+------+---------+------+-------+-------+
|  1 | SIMPLE      | ClientActionTrack | p20160825  | ALL  | NULL          | NULL | NULL    | NULL | 33868 | NULL  |
+----+-------------+-------------------+------------+------+---------------+------+---------+------+-------+-------+
1 row in set (0.00 sec)

전재 대상:https://www.cnblogs.com/zhaoyangjian724/p/6199305.html

좋은 웹페이지 즐겨찾기