How to find out the Mysql storage engine type of a table.
The following queries will show the engine type of a table
SHOW
TABLE STATUS
WHERE
name= 'tablename';
The Following query will also help you to find out the storage engine.
Each Mysql table's informations are stored in the 'INFORMATION_SCHEMA' table.
The following query will show the storage engine's of the given databse table.
SELECT
TABLE_NAME,ENGINE
FROM information_schema.TABLES
WHERE
TABLE_SCHEMA = 'dbname'
To show particular table's mysql engine type.
SELECT TABLE_NAME,
ENGINE FROM information_schema.TABLES
WHERE TABLE_SCHEMA = 'dbname'
AND TABLE_NAME = 'tablename'
Hope this will helpful for you all.
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.