MySQL Forums
Forum List  »  General

Re: Text(1024)
Posted by: Rick James
Date: April 03, 2011 10:29PM

In MyISAM, the leaf node of an Index (in the .MYI file) contains a pointer to the data record (in the .MYD file). For FIXED, this pointer is a record number; for DYNAMIC it is a byte offset. The only difference in lookup is whether it has to multiply by the record size to get the byte offset.

In InnoDB, FIXED is irrelevant. Everything (data and indexes) is in BTree structure in 16KB-sized blocks. There are big numbers (6-byte?) to point to a block. Within the block is a complex structure, wherein the hundred (or so) records in the block can be located. The complexity is largely for Transactional processing.

Options: ReplyQuote


Subject
Written By
Posted
April 03, 2011 02:54AM
April 03, 2011 08:06AM
April 03, 2011 08:10AM
April 03, 2011 08:21AM
April 03, 2011 08:25AM
April 03, 2011 05:21PM
April 03, 2011 05:30PM
April 03, 2011 07:45PM
April 03, 2011 08:00PM
April 03, 2011 09:04PM
April 03, 2011 09:17PM
Re: Text(1024)
April 03, 2011 10:29PM
April 04, 2011 02:23AM
April 04, 2011 02:28AM
April 04, 2011 02:42AM


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.