Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Data length for INNODB tables (no replies)

$
0
0
I need to calculate total space,used space and free space for a table. For this I have used "Data_length","Data_free" columns of information_schema.tables.

As per Mysql documemtation data_length column gives the clustered index length in pages.

But I have not created index on that table.Soon after creating the table the data_length column shows 16384 bytes.

Also after deleting more rows from the table "data_free" column gives value zero.

The storage engine for the table is INNODB.

How to calculate exact total space,used space and free space for a table ?

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>