SHOW
Syntax
1199
•
Engine
The storage engine for the table. See
Chapter 14, Storage Engines
.
•
Version
The version number of the table's
.frm
file.
•
Row_format
The row-storage format (
Fixed
,
Dynamic
,
Compressed
,
Redundant
,
Compact
). For
MyISAM
tables, (
Dynamic
corresponds to what
myisamchk -dvv
reports as
Packed
. Starting with MySQL/
InnoDB 5.0.3, the format of
InnoDB
tables is reported as
Redundant
or
Compact
. Prior to 5.0.3,
InnoDB
tables are always in the
Redundant
format.
•
Rows
The number of rows. Some storage engines, such as
MyISAM
, store the exact count. For other
storage engines, such as
InnoDB
, this value is an approximation, and may vary from the actual
value by as much as 40 to 50%. In such cases, use
SELECT COUNT(*)
to obtain an accurate count.
The
Rows
value is
NULL
for tables in the
INFORMATION_SCHEMA
database.
•
Avg_row_length
The average row length.
•
Data_length
The length of the data file.
•
Max_data_length
The maximum length of the data file. This is the total number of bytes of data that can be stored in
the table, given the data pointer size used.
•
Index_length
The length of the index file.
•
Data_free
The number of allocated but unused bytes.
•
Auto_increment
The next
AUTO_INCREMENT
value.
•
Create_time
When the table was created.
•
Update_time
When the data file was last updated. For some storage engines, this value is
NULL
. For example,
InnoDB
stores multiple tables in its tablespace and the data file timestamp does not apply. For
MyISAM
, the data file timestamp is used; however, on Windows the timestamp is not updated by
updates so the value is inaccurate.
•
Check_time
When the table was last checked. Not all storage engines update this time, in which case the value is
always
NULL
.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...