Performance tradeoffs in read-optimized databases
Stavros Harizopoulos, Velen Liang, Daniel J. Abadi et al. · 2006
Database systems have traditionally optimized performance for write-intensive workloads. Recently, there has been renewed interest in architectures that optimize read performance by using column-oriented data representation and light-weight compression. This previous work has shown that under certain broad classes of workloads, column-based systems can outperform rowbased systems. Previous work, however, has not characterized the precise conditions under which a particular query workload can be expected to perform better on a column-oriented database. In this paper we first identify the distinctive components of a read-optimized DBMS and describe our implementation of a high-performance query engine that can operate on both row and column-oriented data. We then use our prototype to perform an in-depth analysis of the tradeoffs between column and row-oriented architectures. We explore these tradeoffs in terms of disk bandwidth, CPU cache latency, and CPU cycles. We show that for most database workloads, a carefully designed column system can outperform a carefully designed row system, sometimes by an order of magnitude. We also present an analytical model to predict whether a given workload on a particular hardware configuration is likely to perform better on a row or column-based system. 1.
Cited by 144 works.
Authors
References
- Computer Architecture: A Quantitative Approach
- Computer architecture (2nd ed.): a quantitative approach
- Computer Architecture: A Quantitative Approach, 2nd Edition
- A decomposition storage model
- Weaving Relations for Cache Performance
- Integrating compression and execution in column-oriented database systems
- DBMSs on a Modern Processor: Where Does Time Go?
- MonetDB/X100: Hyper-Pipelining Query Execution
- Database Architecture Optimized for the New Bottleneck: Memory Access
- Performance characterization of a Quad Pentium Pro SMP using OLTP workloads