MySQL storage engine report
Replace YOURDATABASENAME with something slightly more relevant.
To get a list of all InnoDB tables:
SELECT TABLE_NAME AS name, ENGINE FROM information_schema.TABLES WHERE TABLES.table_schema = "YOURDATABASENAME" AND ENGINE = "InnoDB";
To get a list of all MyISAM tables:
SELECT TABLE_NAME AS name, ENGINE FROM information_schema.TABLES WHERE TABLES.table_schema = "YOURDATABASENAME" AND ENGINE = "MyISAM";
Written by Jon Peck
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#