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)

Updated on: 20-Jun-2020

55 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements