Current time: 12-24-2024, 05:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] MySQL on external server - no quota?
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #19
RE: [SOLVED] MySQL on external server - no quota?
Thank you, sci2tech, for applying my patch.

I've found out, that there is a discrepance between what SHOW TABLE STATUS measures and what du measures when there are InnoDB tables.

See:
- http://arcterex.net/blog/archives/2008/0...usage.html
- http://dev.mysql.com/doc/refman/5.1/en/s...tatus.html

This is because MySQL uses shared tablespace to store InnoDB tables which means that disk usage != data size for these tables. On my server, there are databases where the difference are factor 50; the data size is much more than the disk usage shown by du.

I suppose to go on by using the mysqldb_quota_by_mysql_engine function as it is done in the current trunk, since phpMyAdmin also shows the data size given by SHOW TABLES STATUS; so I think this will be okay.

I hope the dev team agrees with my opinion Smile

Regards
FeG
10-17-2008 12:56 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [SOLVED] MySQL on external server - no quota? - FeG - 10-17-2008 12:56 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)