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
Regards
FeG