Created
August 5, 2014 13:36
-
-
Save jayjanssen/1d1edde1541864a5e9c4 to your computer and use it in GitHub Desktop.
Find Non Innodb Tables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select engine, table_schema, table_name from information_schema.TABLES | |
WHERE table_schema NOT IN ('performance_schema','information_schema','mysql') | |
and engine != 'Innodb'; | |
select table_schema, engine, count(*) as non_innodb_tables from information_schema.TABLES where table_schema NOT IN ('performance_schema','information_schema','mysql') | |
and engine != 'Innodb' group by table_schema, engine with rollup; | |
select table_schema, count(*) as non_innodb_tables from information_schema.TABLES where table_schema NOT IN ('performance_schema','information_schema','mysql') | |
and engine != 'Innodb' group by table_schema with rollup; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment