Main{memory Linear Hashing { Some Enhancements of Larson's Algorithm

نویسنده

  • Mikael Pettersson
چکیده

Linear Hashing has been proposed as a simple and eecient technique for storing and retrieving key sets whose cardinality is not known in advance. Its main advantage is that it allows tables to grow and shrink gracefully without major reorganizations. In this paper, several modiications of the basic scheme are presented, together with performance measurements. It is also shown that the seemingly{popular hashpjw hashing function presented in \the dragon book" can perform fairly poorly if the so{called randomizing mod operation is omitted. A simple and fast hashing function is presented that has performed well in this experiment. When combined, the algorithm changes presented here are shown to yield a performance improvement of roughly a factor of 4:5. The nal version is shown to be about 16% slower than a standard hash table using table doubling on overrow. A sample implementation is provided in the appendix.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Extendible Chained Bucket Hashing for Main Memory Databases

The objective of this paper is to develop a high performance hash-based access method for main memory database systems. Chained bucket hashing is known to provide the fastest random access to a static file stored in main memory. For a dynamic file, however, chained bucket hashing is inappropriate because its address space cannot be adapted to the file size without total reorganization. Extendib...

متن کامل

Image authentication using LBP-based perceptual image hashing

Feature extraction is a main step in all perceptual image hashing schemes in which robust features will led to better results in perceptual robustness. Simplicity, discriminative power, computational efficiency and robustness to illumination changes are counted as distinguished properties of Local Binary Pattern features. In this paper, we investigate the use of local binary patterns for percep...

متن کامل

Application of Minimal Perfect Hashing in Main Memory Indexing

With the rapid decrease in the cost of random access memory (RAM), it will soon become economically feasible to place full-text indexes of a library in main memory. One essential component of the indexing system is a hashing algorithm, which maps a keyword into the memory address of the index information corresponding to that keyword. This thesis studies the application of the minimal perfect h...

متن کامل

Distributed Linear Hashing and Parallel Projection in Main Memory Databases

This paper extends the concepts of the distributed linear hashed main memory file system with the objective of supporting higher level parallel dambase operations. The basic distributed linear hashing technique provides a high speed hash based dynamic file system on a NUMA atchitecture multi-processor system. Distributed linear hashing has been extended to include the ability to perform high sp...

متن کامل

How Caching Affects Hashing

A number of recent papers have considered the influence of modern computer memory hierarchies on the performance of hashing algorithms [1, 2, 3]. Motivation for these papers is drawn from recent technology trends that have produced an ever-widening gap between the speed of CPUs and the latency of dynamic random access memories. The result is an emerging computing folklore which contends that in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993