| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Basil Hussain | Date: | January 5 2001 6:23pm |
| Subject: | Meaning of SHOW TABLE STATUS info? (Was: How to find most recently added table in a database) | ||
| View as plain text | |||
Hi all,
> "SHOW TABLE STATUS" has a "Create_Time" column.
I must've missed this in the manual. It's really quite useful and revealing.
So, I have a question about a bit of info it provides.
I see that the 'Data_free' column shows the (to quote from the manual)
"number of allocated but not used bytes". I ran it on a couple of databases
on my MySQL server and saw that this column showed a fairly large number for
some frequently updated tables. For example, one table that gets a batch of
thousands of records deleted and imported into it every day showed 77,004
bytes unused.
Firstly, if there is a reasonable amount of bytes unused, would this
indicate that the table needs to have OPTIMIZE TABLE run on it, or is it
nothing to worry about?
Secondly, what would be a reasonable figure be in order to make it worth
optimising?
Regards,
------------------------------------------------
Basil Hussain (basil.hussain@stripped)
| Thread | ||
|---|---|---|
| • How to find most recently added table in a database | Peter T Garner | 5 Jan |
| • Re: How to find most recently added table in a database | David Hodgkinson | 5 Jan |
| • Re: How to find most recently added table in a database | Basil Hussain | 5 Jan |
| • Re: How to find most recently added table in a database | Peter T Garner | 5 Jan |
| • Re: How to find most recently added table in a database | Dan Nelson | 5 Jan |
| • Meaning of SHOW TABLE STATUS info? (Was: How to find mostrecently added table in a database) | Basil Hussain | 5 Jan |
| • Re: Meaning of SHOW TABLE STATUS info? (Was: How to find mostrecently added table in a database) | Jody Williams | 5 Jan |
| • RE: Meaning of SHOW TABLE STATUS info? | Carsten H. Pedersen | 5 Jan |
| • Re: Meaning of SHOW TABLE STATUS info? | Tim Bunce | 8 Jan |
