mysql - Data_length in 'show table status' -
i trying find out size of database table. ran 'show table status' query, , have data_length parameter in result. represent actual size of database table?
for innodb, data_length
estimate of table size, in bytes, not counting secondary indexes. documentation says "size of data file" language assumes have data in separate file, isn't case innodb.
the size of table bit fuzzy innodb, because innodb stores copies of rows globally in rollback segment, , there other uses of on-disk storage (data dictionary, change buffer).
you should add index_length
, size of secondary indexes.
Comments
Post a Comment