SELECTENGINEFROMinformation_schema.TABLES ->WHERETABLE_SCHEMA='tutorial' ->ANDTABLE_NAME='Student';+----- ---+|ENGINE|+--------+|MyISAM|+"/> SELECTENGINEFROMinformation_schema.TABLES ->WHERETABLE_SCHEMA='tutorial' ->ANDTABLE_NAME='Student';+----- ---+|ENGINE|+--------+|MyISAM|+">

Home  >  Article  >  Database  >  How can we find out the storage engine used by a specific table in MySQL?

How can we find out the storage engine used by a specific table in MySQL?

PHPz
PHPzforward
2023-09-15 11:41:10907browse

How can we find out the storage engine used by a specific table in MySQL?

The following MySQL statement can find out the storage engine used by the "Student" table in the 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)

The above is the detailed content of How can we find out the storage engine used by a specific table in MySQL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete