Main-memory index structures with fixed-size partial keys
Authors:
Open Access
- 1 May 2001
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 30 (2) , 163-174
Abstract
The performance of main-memory index structures is increasingly determined by the number of CPU cache misses incurred when traversing the index. When keys are stored indirectly, as is standard in main-memory databases, the cost of key retrieval in terms of cache misses can dominate the cost of an index traversal. Yet it is inefficient in both time and space to store even moderate sized keys directly in index nodes. In this paper, we investigate the performance of tree structures suitable for OLTP workloads in the face of expensive cache misses and non-trivial key sizes. We propose two index structures, pkT-trees and pkB-trees, which significantly reduce cache misses by storing partial-key information in the index. We show that a small, fixed amount of key information allows most cache misses to be avoided, allowing for a simple node structure and efficient implementation. Finally, we study the performance and cache behavior of partial-key trees by comparing them with other main-memory tree structures for a wide variety of key sizes and key value distributions.Keywords
This publication has 12 references indexed in Scilit:
- In-memory data management for consumer transactions the timesten approach1999
- DataBlitz storage manager1999
- Virtual memory in contemporary microprocessorsIEEE Micro, 1998
- Block-oriented compression techniques for large statistical databasesIEEE Transactions on Knowledge and Data Engineering, 1997
- Main memory database systems: an overviewIEEE Transactions on Knowledge and Data Engineering, 1992
- Bit-Tree: a data structure for fast file processingCommunications of the ACM, 1992
- An evaluation of Starburst's memory resident storage componentIEEE Transactions on Knowledge and Data Engineering, 1992
- Implementation techniques for main memory database systems1984
- Prefix B -treesACM Transactions on Database Systems, 1977
- Organization and maintenance of large ordered indexesActa Informatica, 1972