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: 2020-06-20T13:48:16+05:30

126 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements