Find Storage Engine for a 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: 2020-06-20T13:48:16+05:30

106 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements