MySQL storage and engine classification

View table information: show table status like tableName \G


row_format: row format

rows: the number of rows in the table

avg_row_length: the average number of bytes included in each row

data_length: The amount of data in the entire table

max_data_length: The maximum amount of data the table can hold

index_length: The size of the space occupied by the index data

 

Engines supported by MySQL


 Image credit: High Performance MySQL Version 2.

 

MyISAM engine

MySQL's default storage engine does not support transactions and row-level searches.

 

.frm: Definition of storage table in file

.MYD: data file

.MYI: index file

 

InnoDB engine

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326051026&siteId=291194637