mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 23:45:44 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
9
t/pt-visual-explain/samples/pk_lookup_sakila_film.sql
Normal file
9
t/pt-visual-explain/samples/pk_lookup_sakila_film.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
mysql> explain select film_id from sakila.film where film_id = 1;
|
||||
+----+-------------+-------+-------+---------------+---------+---------+-------+------+-------------+
|
||||
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
||||
+----+-------------+-------+-------+---------------+---------+---------+-------+------+-------------+
|
||||
| 1 | SIMPLE | film | const | PRIMARY | PRIMARY | 2 | const | 1 | Using index |
|
||||
+----+-------------+-------+-------+---------------+---------+---------+-------+------+-------------+
|
||||
1 row in set (0.00 sec)
|
||||
|
||||
mysql> notee
|
Reference in New Issue
Block a user