GNU Info

Info Node: (mysql.info)InnoDB physical structure

(mysql.info)InnoDB physical structure


Next: InnoDB Insert buffering Prev: Table and index Up: Table and index
Enter node , (file) or (file)node

Physical structure of an index
..............................

All indexes in InnoDB are B-trees where the index records are stored in
the leaf pages of the tree. The default size of an index page is 16 kB.
When new records are inserted, InnoDB tries to leave 1 / 16 of the page
free for future insertions and updates of the index records.

If index records are inserted in a sequential (ascending or descending)
order, the resulting index pages will be about 15/16 full.  If records
are inserted in a random order, then the pages will be 1/2 - 15/16
full. If the fillfactor of an index page drops below 1/2, InnoDB will
try to contract the index tree to free the page.


automatically generated by info2www version 1.2.2.9