Re: Mysql DB / Table Disk Usage
| From: | Joe Stump | Date: | Sat, 23 Dec 2000 18:25:41 +0000 |
| Subject: | Re: Mysql DB / Table Disk Usage | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31699@lists.php.net to get a copy of this message | ||
MySQL is VERY picky about who it lets into its data directory. I don't think
there is a good way to do it. I would "man mysqladmin" and see if that might
be able to do it. Other than that You would have to cycle through every table
and add up all the bytes (which would suck).
--Joe
On Sat, Dec 23, 2000 at 06:15:48PM -0000, Cybercandy Ltd wrote:
> I've search the archives and haven't found an answer to this question.
>
> Is there anyway in php and/or mySQL to report on the amount of disk space
> that a
> database and/or a table is occupying.
>
> Bearing in my that because I'm using an ISP rather than my own webserver I
> don't think
> I have access to the database file itself.
>
>
>
> Allan Goacher
> www.cybercandy.co.uk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
---
Joe Stump
PHP Programmer
www.Care2.com