June 2001
Intermediate to advanced
688 pages
19h 18m
English
The Btree access method is an implementation of a sorted, balanced tree structure. Searches, insertions, and deletions in the tree all take O(log base_b N) time, where base_b is the average number of keys per page, and N is the total number of keys stored. Often, inserting ordered data into Btree implementations results in pages that are only half-full. Berkeley DB makes ordered (or inverse-ordered) insertion the best case, resulting in nearly full-page space utilization.
The Hash access method data structure is an implementation of Extended Linear Hashing, as described in “Linear Hashing: A New Tool for File and Table Addressing,” by Witold Litwin in the Proceedings of the 6th International Conference on Very Large Databases (VLDB) ...