Computer >> Computer tutorials >  >> Programming >> MySQL

How can we find out the storage engine used for a particular table in MySQL?


The following MySQL statement can find out the storage engine used for ‘Student’ table in database named ‘tutorial’ −

mysql> SELECT ENGINE FROM information_schema.TABLES
  -> WHERE TABLE_SCHEMA = 'tutorial'
  -> AND TABLE_NAME = 'Student';
+--------+
| ENGINE |
+--------+
| MyISAM |
+--------+
1 row in set (0.13 sec)