Skip to main content
QUICK REVIEW

[Paper Review] L-Store: A Real-time OLTP and OLAP System

Mohammad Sadoghi, Souvik Bhattacherjee|arXiv (Cornell University)|Jan 15, 2016
Cloud Computing and Resource ManagementComputer Science35 references17 citations
TL;DR

L-Store proposes a unified, lineage-based storage architecture that enables real-time OLTP and OLAP processing within a single engine by lazily merging write-optimized data into read-optimized columnar form without data replication. It achieves contention-free transaction processing and up to 7.91× faster short update transactions compared to state-of-the-art systems.

ABSTRACT

Arguably data is the new natural resource in the enterprise world with an unprecedented degree of proliferation. But to derive real-time actionable insights from the data, it is important to bridge the gap between managing the data that is being updated at a high velocity (i.e., OLTP) and analyzing a large volume of data (i.e., OLAP). However, there has been a divide where specialized solutions were often deployed to support either OLTP or OLAP workloads but not both; thus, limiting the analysis to stale and possibly irrelevant data. In this paper, we present Lineage-based Data Store (L-Store) that combines the real-time processing of transactional and analytical workloads within a single unified engine by introducing a novel lineage-based storage architecture. By exploiting the lineage, we develop a contention-free and lazy staging of columnar data from a write-optimized form (suitable for OLTP) into a read-optimized form (suitable for OLAP) in a transactionally consistent approach that also supports querying and retaining the current and historic data. Our working prototype of L-Store demonstrates its superiority compared to state-of-the-art approaches under a comprehensive experimental evaluation.

Motivation & Objective

  • To address the fundamental challenge of unifying real-time OLTP and OLAP workloads in a single, scalable database system.
  • To eliminate the need for dual data representations (row vs. columnar) or multiple loosely integrated engines.
  • To enable transactionally consistent, real-time analytics on the latest data without sacrificing performance.
  • To design a storage architecture that supports both high-throughput updates and efficient analytical scans.

Proposed method

  • L-Store uses a lineage-based storage model where each base page tracks lineage information to enable recovery and coordination-free merging.
  • Recent updates are appended to tail pages in a write-optimized, clustered manner to eliminate read/write contention.
  • A contention-free, lazy merging process independently updates base pages using epoch-based page de-allocation to avoid blocking.
  • The system employs an embedded indirection layer to enable at-most-two-hop access to the latest version of any record.
  • It leverages an optimistic concurrency control model with speculative reads and 2VCC semantics to support high concurrency.
  • The architecture avoids data replication and maintains only a single, unified data representation in columnar form.

Experimental results

Research questions

  • RQ1Can a single storage engine efficiently support both real-time OLTP and OLAP workloads without data duplication or engine specialization?
  • RQ2How can lineage tracking enable coordination-free, transactionally consistent merging of columnar data in a high-concurrency environment?
  • RQ3What architectural patterns can eliminate contention during data merging while maintaining real-time performance for both updates and scans?
  • RQ4To what extent can a unified columnar storage model outperform systems using dual-format or delta-merge approaches in mixed OLTP/OLAP workloads?

Key findings

  • L-Store outperforms In-place Update + History by up to 5.37× for short update transactions.
  • It achieves slightly improved performance for analytical scans compared to baseline systems.
  • L-Store improves performance by up to 7.91× over Delta + Blocking Merge for short update transactions.
  • For long-read analytical queries, L-Store achieves up to 2.37× speedup compared to Delta + Blocking Merge.
  • The system eliminates the need for data replication and maintains only a single, unified data representation.
  • The contention-free merging and epoch-based de-allocation enable high concurrency without transaction blocking.

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.