faqts : Computers : Databases : MySQL : General Information

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

21 of 38 people (55%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How do you estimate the size of existing MySQL database?

Feb 14th, 2000 22:37
Chris Kings-Lynne, Willie duMaine,


Well, since MySQL keeps all its databases as directories, and all its 
tables as simple files in those directories, you can just change into 
the directory that contains your MySQL databases (/var/db/mysql under 
FreeBSD ports) and go 'du -s databasename' and get the _exact_ size of 
a database...