mysql - What ROW_FORMAT is my table? -
i've discovered mysql has multiple row formats, , it's possible specify or change it. also, default row_format has apparently changed on time mysql versions, understandable.
however, can't find anywhere says how find out row_format of existing table is! database has been around years, older versions of mysql, , want make sure i'm not using poorly performing ancient disk format.
how find out row_format of table in mysql?
information schema offers wealth of information.
select row_format information_schema.tables table_schema="your db" , table_name="your table" limit 1; 2014.06.19 - mild update
the following query give row format of tables in current database:
select `table_name`, `row_format` `information_schema`.`tables` `table_schema`=database();
Comments
Post a Comment