Retrieving MySQL Table Engine Types
Your MySQL database may contain tables utilizing various storage engines, such as MyISAM and InnoDB. To determine engine types assigned to specific tables, utilize the following query:
Query:
SHOW TABLE STATUS WHERE Name = 'table_name'
where 'table_name' is the name of the table you wish to inspect.
Output:
Upon executing this query, you will obtain a detailed result set pertaining to the table's attributes. The "Engine" column within the results will specify the storage engine currently employed for that table.
The above is the detailed content of How Can I Check the Storage Engine Used by a MySQL Table?. For more information, please follow other related articles on the PHP Chinese website!