Definition
Linear Hashing is a dynamically updateable disk-based index structure which implements a hashing scheme and which grows or shrinks one bucket at a time. The index is used to support exact match queries, i.e., find the record with a given key. Compared with the B+-tree index which also supports exact match queries (in logarithmic number of I/Os), Linear Hashing has better expected query cost O(1) I/O. Compared with Extendible Hashing, Linear Hashing does not use a bucket directory, and when an overflow occurs, it is not always the overflown bucket that is split. The name Linear Hashing is used because the number of buckets grows or shrinks in a linear fashion. Overflows are handled by creating a chain of pages under the overflown bucket. The hashing function changes dynamically and at any given instant there can be at most two hashing functions used by the scheme.
Historical Background
A hash table is an in-memory data structure that associates keys with values. The primary...
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsRecommended Reading
Griswold WG, Townsend GM. The design and implementation of dynamic hashing for sets and tables in icon. Softw Pract Ex. 1993;23(4):351–67.
Litwin W. Linear hashing: a new tool for file and table addressing. In: Proceedings of the Sixth International Conference on Very Large Databases; 1980. p. 212–23.
Manolopoulos Y, Lorentzos N. Performance of linear hashing schemes for primary key retrieval. Inf Syst. 1994;19(5):433–46.
Schneider DA., DeWitt DJ. Tradeoffs in processing complex join queries via hashing in multiprocessor database machines. In: Proceedings of the 16th International Conference on Very Large Databases; 1990. p. 469–80.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Section Editor information
Rights and permissions
Copyright information
© 2018 Springer Science+Business Media, LLC, part of Springer Nature
About this entry
Cite this entry
Zhang, D., Manolopoulos, Y., Theodoridis, Y., Tsotras, V.J. (2018). Linear Hashing. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_742
Download citation
DOI: https://doi.org/10.1007/978-1-4614-8265-9_742
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-8266-6
Online ISBN: 978-1-4614-8265-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering