Home > Database > Mysql Tutorial > body text

How Can I Check the Storage Engine Used by a MySQL Table?

Patricia Arquette
Release: 2024-11-13 17:20:02
Original
418 people have browsed it

How Can I Check the Storage Engine Used by a MySQL Table?

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'
Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template