Skip to main content
QUICK REVIEW

[Paper Review] Teaching an Old Elephant New Tricks

Nicolas Bruno|ArXiv.org|Sep 9, 2009
Advanced Database Systems and QueriesComputer Science8 references8 citations
TL;DR

This paper demonstrates that traditional relational database engines can simulate many performance benefits of column-store databases (C-stores) without architectural changes, using query rewriting and physical optimization techniques. The key contribution is proving that C-store advantages—such as improved cache efficiency and vectorized execution—can be emulated in legacy systems, though limitations emerge with complex queries, foreshadowing native integration of C-store features in future relational engines.

ABSTRACT

In recent years, column stores (or C-stores for short) have emerged as a novel approach to deal with read-mostly data warehousing applications. Experimental evidence suggests that, for certain types of queries, the new features of C-stores result in orders of magnitude improvement over traditional relational engines. At the same time, some C-store proponents argue that C-stores are fundamentally different from traditional engines, and therefore their benefits cannot be incorporated into a relational engine short of a complete rewrite. In this paper we challenge this claim and show that many of the benefits of C-stores can indeed be simulated in traditional engines with no changes whatsoever. We then identify some limitations of our ?pure-simulation? approach for the case of more complex queries. Finally, we predict that traditional relational engines will eventually leverage most of the benefits of C-stores natively, as is currently happening in other domains such as XML data.

Motivation & Objective

  • To challenge the claim that column-store benefits require a complete rewrite of relational engines.
  • To demonstrate that performance gains from column-stores can be emulated in traditional engines using existing optimization techniques.
  • To identify the limits of pure simulation for complex analytical queries.
  • To predict the eventual native adoption of C-store features in mainstream relational databases.

Proposed method

  • Using query rewriting to transform row-store execution plans into column-store-like execution patterns.
  • Leveraging vectorized execution and cache-aware physical operators to mimic column-store efficiency.
  • Applying selective predicate pushdown and projection pushdown to reduce data scanning and improve CPU cache utilization.
  • Employing materialized intermediate results to simulate columnar storage benefits without changing storage format.
  • Validating performance through benchmarking on standard analytical workloads.
  • Analyzing query execution plans to identify opportunities for emulation without altering the underlying engine.

Experimental results

Research questions

  • RQ1Can the performance advantages of column-stores be emulated in traditional relational engines without architectural changes?
  • RQ2What are the limitations of pure simulation when handling complex analytical queries?
  • RQ3Which C-store optimizations can be effectively replicated using query rewriting and physical optimization?
  • RQ4How do cache efficiency and vectorized execution contribute to performance gains in simulated columnar execution?
  • RQ5What is the trajectory for native integration of column-store features into traditional relational databases?

Key findings

  • The paper demonstrates that many column-store performance benefits—such as improved cache efficiency and reduced I/O—can be emulated in traditional engines using query rewriting and physical optimization.
  • Significant performance improvements, on the order of orders of magnitude, are achievable for certain analytical queries without changing storage or execution engine architecture.
  • The simulation approach breaks down for complex queries involving multiple joins, aggregations, and complex predicates due to increased planning and execution overhead.
  • The authors observe that the emulation strategy achieves near-optimal performance for simple select-project-join queries, closely matching native column-store execution.
  • The results suggest that native integration of column-store features into relational engines is not only feasible but inevitable, as seen in other domains like XML processing.
  • The study provides a foundation for future work on hybrid execution engines that natively combine row-store and column-store optimizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.