Re: Getting the size of a mysql table using php
| From: | Greg Donald | Date: | Sat, 14 Aug 2004 07:28:00 +0000 |
| Subject: | Re: Getting the size of a mysql table using php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193785@lists.php.net to get a copy of this message | ||
On Sat, 14 Aug 2004 01:52:31 -0500, Brent Clements
<bclem@imaginative-enterprises.com> wrote:
> How does one get the size of a mysql table using php? I tried taking a look at how phpmyadmin
> does it but got lost in the code. Anyone have any simple or elegant ways of doing this?
show table status like 'table_name';
size = Data_length + Index_length
--
Greg Donald
http://destiney.com/