MySQL Forums
Forum List  »  Newbie

Re: How to get the database size and database free spce
Posted by: Rick James
Date: June 19, 2010 12:46AM

I think data_free is problematic... For MyISAM it does represent the free space in the data file. For InnoDB, it think it represents the freespace in the whole tablespace. This is further complicated by whether you have innodb_file_per_table turned on.

What do you hope to do with the database free space?

The _disk_ free space is best measured by the OS's df command.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to get the database size and database free spce
June 19, 2010 12:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.