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".
http://dev.mysql.com/doc/mysql/en/news-5-0-3.html
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".
http://dev.mysql.com/doc/mysql/en/innodb-physical-record.html
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.
Subject
Views
Written By
Posted
10929
February 02, 2005 10:26AM
Re: Innodb vs. myisam storage usage *shocked*
5774
February 03, 2005 09:04PM
4305
February 04, 2005 07:49AM
3521
February 04, 2005 12:22PM
4132
February 04, 2005 11:57AM
4621
February 04, 2005 12:30PM
7241
February 05, 2005 02:40AM
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.