mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
10 lines
802 B
SQL
10 lines
802 B
SQL
mysql> explain select film_id, count(*) from sakila.film group by film_id order by count(*);
|
|
+----+-------------+-------+-------+---------------+---------+---------+------+------+----------------------------------------------+
|
|
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
|
+----+-------------+-------+-------+---------------+---------+---------+------+------+----------------------------------------------+
|
|
| 1 | SIMPLE | film | index | NULL | PRIMARY | 2 | NULL | 951 | Using index; Using temporary; Using filesort |
|
|
+----+-------------+-------+-------+---------------+---------+---------+------+------+----------------------------------------------+
|
|
1 row in set (0.00 sec)
|
|
|
|
mysql> notee
|