If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have a number of large tables (who doesn’t) and often need to pick the smallest of a subset of these. Does MySQL store any kind of system meta-table with information on the size of user-created tables? Then I could query that instead of re-counting each row each time I need to find the smallest. How is this information best accessed?
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,413
Just because a table has the "smallest" row count, does NOT mean that this table is necessarily the smallest in total size.
A table with only two rows which contain "large" BLOB datatypes
could easily be the largest table in the DB.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.