SQL Disk Usage In Control Panel

bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
I just noticed that SQL disk usage is now presented in Cpanel next to Disk Usage.

Is SQL disk Usage counted against regular DISK usage? Example, for a customer who has 50 mb allotted space, will their SQL disk usage now count against their space?
 

ecoutez

Well-Known Member
May 23, 2002
152
0
316
hmm

Interesting... the feature &cpanel Mysql=&diskusage()&& doesn't seem to work correctly for users that have no databases. I got a result of 37.16MB on an account that has 0/0 databases. I can't even see where it got that number from.

It does not appear to count against overall quota. Presumably it's just checking the size of /var/lib/mysql/username_* and displaying the sum.

- Jason
 

bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
Hmmmmm. Interesting. Guess I'll do a du command on the /home/username and the /var/lib/mysql/username_* to sum it up and be sure. Just need to know for sure so we can tell our customers.

Thanks.