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


Post Reply 
[SOLVED] MySQL on external server - no quota?
Author Message
zmediaguru Offline
Junior Member
*

Posts: 16
Joined: Jan 2007
Reputation: 0
Post: #9
RE: MySQL on external server - no quota?
(10-08-2008 07:06 PM)FeG Wrote:  Hi,

(10-08-2008 06:47 AM)zmediaguru Wrote:  One quick note - the table status Data_length and Index_length values used by this functions appear to be returning data size in bits, and need to be converted to MB
This is not correct. Yes, they are in bytes, but the disk usage is calculated in bytes, too and the column 'domain_disk_usage' in the table 'domain' stores it's value as bytes.

So no conversion is needed here.

If no conversion is needed, then, how come then with no conversion added to the script, the Quota count is returning over a Petabyte of storage space used (see attachment ) where actual disk space used is roughly 6.7GB as reported by 'du'??
Here is the quota calculation with my conversion in place


Attached File(s) Thumbnail(s)
       
(This post was last modified: 10-09-2008 02:36 AM by zmediaguru.)
10-09-2008 02:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MySQL on external server - no quota? - zmediaguru - 10-09-2008 02:22 AM

Forum Jump:


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