List:General Discussion« Previous MessageNext Message »
From:ewen fortune Date:April 28 2009 7:35am
Subject:Re: size of database on disk
View as plain text  
Hi,

On Mon, Apr 27, 2009 at 7:33 PM, Randomcoder <randomcoder1@stripped> wrote:
> Hi,
>
> I'm using Mysql on Linux.
> How can I see the space a certain database is taking on disk ?

If you are using MyISAM you can pretty much just use du -sh /path/to/$table

Alternatively you can query the information_schema

http://www.mysqlperformanceblog.com/2008/03/17/researching-your-mysql-table-sizes/


Cheers,

Ewen

>
> Thank you
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
>
>
Thread
size of database on diskRandomcoder28 Apr
  • Re: size of database on diskMichael Dykman28 Apr
  • Re: size of database on diskewen fortune28 Apr