Abstract
Hashing is a well-known technique for organizing direct access files. Extendible hashing removes the restriction on the expansion of the file and thus allows dynamic files. We generalize the technique to store multi-attribute keys. Exact-match queries (searching) can be done in constant time usingn-dimensional hashing. Ann-dimensional partial-match queries givenk attributes can be answered inO(N**((n −k)/n)) time whereN is the number of records stored. It is shown thatn-dimensional hashing is a special case of one-dimensional hashing, thus the storage utilization of the buckets is independent ofn. Simulation results are presented to show the advantages of multidimensional hashing.
Similar content being viewed by others
References
D. E. Knuth The art of computer programming, Vol. 3, Addison-Wesley (1973).
R. Fagin, J. Nievergelt, N. Pippenger, and H. Strong Extendible hashing-A fast Access method for dynamic files.ACM TODS 4(3):315–344 (1979).
P. A. Larson Dynamic hashing,BIT,18:184–201 (1978).
W. Litwin Virtual Hashing: A dynamically changing Hashing,Proc. Fourth Conf. on VLDB, p. 517–523 (1978).
W. Litwin Linear Hashing: A new tool for file and table addressing,Proc. sixth Conf. on VLDB, p. 212–223 (1980).
J. W. Lloyd and K. Ramamohanarao Partial-match Retrieval for dynamic files,BIT 22:150–168 (1982).
T. Nakamura and T. Mizoguchi An analysis of storage utilization factor in block split data structuring scheme,Proc. Fourth Conf. on VLDB, p. 489–495 (1978).
M. Scholl New file organizations based on dynamic hashing,ACM TODS,6(1):194–211 (1981).
J. J. Yang Multi dimensional extendible hashing, MS Thesis, University of Houston, (December 1982).
J. L. Bentley Multi dimensional binary search trees used for associative searching,CACM 18(9):509–517 (1975).
Author information
Authors and Affiliations
Additional information
This research was partially supported by a Research Initiation Grant from the University of Houston.
Rights and permissions
About this article
Cite this article
Huang, SH.S. Multidimensional extendible hashing for partial-match queries. International Journal of Computer & Information Sciences 14, 73–82 (1985). https://doi.org/10.1007/BF00996923
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF00996923