Details of each column output by MySQL SHOW TABLE

  • Name: table name
  • Engine: The storage engine of the table (in the old version, the value is Type)
  • Row_format: The format of the row. For MyISAM tables, the optional values ​​are Dynamic, Fixed, or Copressed.
    • Dynamic: Variable length, generally contains variable length fields, such as VARCHAR or BLOB.
    • Fixed: Fixed length, only fixed-length columns, such as CHAR and INTEGER.
    • Compressed: only exists in compressed tables
  • Rows: The number of rows in the table. For MyISAM and some other storage engines, this value is exact, but for InnoDB it is an estimate.
  • Avg_row_length: Average number of bytes per row
  • Data_length: The size of the table data (in bytes)
  • Max_data_length: The maximum capacity of table data, related to the storage engine
  • index_length: the size of the index
  • Data_free: For MyISAM tables, the space that has been allocated but not currently used. This part of the space contains the previously deleted rows and the space that can be used by INSERT later.
  • Auto_increment: The value of the next AUTO_INCREMENT.
  • Create_time: the creation time of the table
  • Update_time: The last modification time of the table data
  • Check_time: The last time the table was checked using the CKECK TABLE command or the myisamchk tool.
  • Collation: The default character set and collation of character columns for the table.
  • Checksum: If enabled, the real-time checksum of the entire table is saved.
  • Create_options: Additional options specified when creating the table.
  • Coment: This column contains some other additional information. For the MyIsAM table, it saves the comments attached to the table when it was created. For the InnoDB table, it saves the remaining space information of the InnoDB table space. If a view, this column contains the text for VIEW.

Guess you like

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