Files
percona-toolkit/t/pt-visual-explain/samples/fulltext.sql
2011-06-24 16:02:05 -06:00

9 lines
604 B
SQL

mysql> explain select * from foo where match(a) against('hello');
+----+-------------+-------+----------+---------------+------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-------+----------+---------------+------+---------+------+------+-------------+
| 1 | SIMPLE | foo | fulltext | a | a | 0 | | 1 | Using where |
+----+-------------+-------+----------+---------------+------+---------+------+------+-------------+
1 row in set (0.00 sec)
mysql>