Dynamic external hashing: The limit of buffering?

13Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Hash tables are one of the most fundamental data structures in computer science, in both theory and practice. They are especially useful in external memory, where their query per-formance approaches the ideal cost of just one disk access. Knuth [16] gave an elegant analysis showing that with some simple collision resolution strategies such as linear probing or chaining, the expected average number of disk I/Os of a lookup is merely 1 + 1/2Ω(b) , where each I/O can read and/or write a disk block containing b items. Inserting a new item into the hash table also costs 1 + 1/2Ω(b) I/Os, which is again almost the best one can do if the hash ta-ble is entirely stored on disk. However, this requirement is unrealistic since any algorithm operating on an external hash table must have some internal memory (at least Ω(1) blocks) to work with. The availability of a small internal memory buffer can dramatically reduce the amortized insertion cost to o(1) I/Os for many external memory data structures. In this paper we study the inherent query-insertion tradeoff of external hash tables in the presence of a memory buffer. In particular, we show that for any constant c > 1, if the expected average successful query cost is targeted at 1+O(1/bc) I/Os, then it is not possible to support insertions in less than 1-O(1/bc-1/6) I/Os amortized, which means that the memory buffer is essentially useless. While if the query cost is relaxed to 1+O(1/bc) I/Os for any constant c < 1, there is a simple dynamic hash table with o(1) insertion cost. Copyright 2009 ACM.

Cite

CITATION STYLE

APA

Wei, Z., Yi, K., & Zhang, Q. (2009). Dynamic external hashing: The limit of buffering? In Annual ACM Symposium on Parallelism in Algorithms and Architectures (pp. 253–259). https://doi.org/10.1145/1583991.1584055

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free