My MySQL database contains tables using different storage engines (specifically myisam,innodb and others...).
mysql>SELECT TABLE_NAME, ENGINE FROM information_schema.TABLES where TABLE_SCHEMA = 'dbname';
A way to find out how many tables you have of different types:
mysql>select count(*), engine from information_schema.tables group by engine;
mysql>SELECT TABLE_NAME, ENGINE FROM information_schema.TABLES where TABLE_SCHEMA = 'dbname';
A way to find out how many tables you have of different types:
mysql>select count(*), engine from information_schema.tables group by engine;
No comments:
Post a Comment