MySQL Forums
Forum List  »  MyISAM

Calculate bytes stored per row for dynamic format
Posted by: Myra Lords
Date: July 03, 2012 12:29PM

Have MyISAM (dynamic format) as the storage engine. How can I calculate the number of bytes a row will consume in a specific table. Say for instance, I have a table TEST_TABLE with 2 columns - BIGINT(20) and VARCHAR(150).
There is no data in the table. How to calculate number of bytes stored for each row entered into table. I need this figure for each row so that I can find out what's the total storage need if say #100000 rows are inserted in this table.

Options: ReplyQuote

Written By
Calculate bytes stored per row for dynamic format
July 03, 2012 12:29PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.