List:Internals« Previous MessageNext Message »
From:Michael Widenius Date:May 19 2002 2:22pm
Subject:MyISAM Static Row Header
View as plain text  

>>>>> "Mike" == Mike Grover <mmgrover@stripped> writes:

Mike> Can anyone point me to the right source code file(s) in the "myisam" sub
Mike> directory
Mike> that shows me how the byte count and values are read and wrote for
Mike> MyISAM Static row tables.

Mike> I looked at "myisam.txt" but didn't seem to see anything in there.

All static row handling is don in myisam/mi_static.c

Static rows are very simple;  All column data is just put after
eachother, where numbers are stored in low-byte format.

myisamchk -dvv filename.MYI

will give you a lot of information of how data is stored.
(Look at recordlength and field map)


For technical support contracts, goto
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Michael Widenius <monty@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, CTO
/_/  /_/\_, /___/\___\_\___/   Helsinki, Finland

MyISAM Static Row HeaderMike Grover13 May
  • MyISAM Static Row HeaderMichael Widenius19 May