Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL QUERRY

Author  Topic 

RUBIYA
Starting Member

1 Post

Posted - 2012-07-20 : 01:00:39
HI,

I need to find allocated ,consumed ,free space of mysql DATABASE(with group of tables).

On browsing i found.
date_free -gives allocated but free space of DB.
data_length + index_length - gives allocated DB size
data_length + index_length -date_free -gives actually consumed space of DB.

But after using this in query i found,
free space to be greater than the allocated space.How it is possible.

Can any1 clear me on this.

Thanks,
Rubiya.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-07-20 : 01:08:51
are you using mysql? if yes you may be better of posting it in MySQL forum. this is MS SQL SErver forum

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -