Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Size on harddrive of certain tables

Status
Not open for further replies.

Masali

Programmer
Jun 19, 2002
143
SE
Hello!

I would like to know if there is a way to get the datasize on harddrive of certain rows in a table?

Best regards
Masali
 
You can find out the storage of an entire table. Just perform a directory listing on the database's directory.

Getting the storage used by a particular set of rows is harder -- you'll probably have to calculate them yourself. This page tells you the storage requirements for various MySQL column types:
Want the best answers? Ask the best questions: TANSTAAFL!!
 
To get the average row size do a,

show table status;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top