Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/include/innodb_stats_table_flag_analyze.inc |
SHOW CREATE TABLE test_ps_flag; DELETE FROM mysql.innodb_index_stats WHERE table_name = 'test_ps_flag'; DELETE FROM mysql.innodb_table_stats WHERE table_name = 'test_ps_flag'; # must be 0, we have just deleted the rows SELECT COUNT(*) AS cnt_before FROM mysql.innodb_table_stats WHERE table_name = 'test_ps_flag'; ANALYZE TABLE test_ps_flag; # if the table is PS enabled, then this should be 1 and 0 otherwise SELECT COUNT(*) AS cnt_after FROM mysql.innodb_table_stats WHERE table_name = 'test_ps_flag';