MySQL Forums
Forum List  »  InnoDB

Re: Innodb vs. myisam storage usage *shocked*
Posted by: James Day
Date: February 03, 2005 09:04PM

If you don't mind alpha software you might try version 5.0.3 or later, whcih has this change: " InnoDB: Introduced a compact record format that does not store the number of columns or the lengths of fixed-size columns. The old format can be requested by specifying ROW_FORMAT=REDUNDANT. The new format (ROW_FORMAT=COMPACT) is the default".

Also, "A record contains also a pointer to each field of the record. If the total length of the fields in a record is less than 128 bytes, the pointer is one byte; otherwise, two bytes".

So it may be that your small and efficient field types are actually smaller than the field information InnoDB keeps in current production releases of InnoDB.

Options: ReplyQuote

Written By
February 02, 2005 10:26AM
Re: Innodb vs. myisam storage usage *shocked*
February 03, 2005 09:04PM

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.