Hybrid Storage Layouts for Mixed Workloads

42 concepts26 papers1 proposal

For decades, database architecture was divided by a fundamental trade-off in physical data layout. On one side stood row-oriented storage (the N-ary Storage Model, or NSM), which packs entire records together sequentially in memory or on disk. This layout maximizes CPU cache locality for transactional workloads (OLTP), where queries frequently read or write full rows. On the other side stood column-oriented storage (the Decomposition Storage Model, or DSM), which groups values of the same attribute together across many records. This layout optimizes bandwidth for analytical workloads (OLAP) by allowing the execution engine to scan only the specific columns needed for aggregations, completely skipping irrelevant data.

Modern applications, however, increasingly demand Hybrid Transactional/Analytical Processing (HTAP)—the ability to run complex analytics over live, rapidly updating data. Forcing a single, uniform storage layout onto these mixed workloads creates severe performance bottlenecks. To resolve this tension, a prominent research direction focuses on hybrid and polymorphic storage architectures. Instead of treating data layout as a binary choice, these systems dynamically combine row-like and column-like structures to maximize hardware efficiency across diverse access patterns.

Intra-Table Hybridization via Variable-Width Containers

One way to bridge the row-column divide is to break a single database table into arbitrary vertical slices based on how columns are actually accessed. Rather than forcing a table to be entirely rows or entirely columns, the layout adapts to the query workload.

In A Demonstration of HYRISE - A Main Memory Hybrid Storage Engine and An overview of HYRISE - a Main Memory Hybrid Storage Engine, Martin Grund et al. introduced an architecture that automatically partitions tables into disjoint sets of attributes called "containers." Frequently co-accessed columns (such as a customer's first and last name during a profile update) are grouped into wider, row-like containers to preserve update locality. Conversely, columns that are primarily used for isolated analytical scans (such as account balances or timestamps) are isolated into narrow, single-column containers. By using a cache-aware cost model, this approach minimizes CPU cache misses and avoids the overhead of fetching unused attributes during large scans.

A similar principle can be applied at the block level. As detailed in a comprehensive survey by Haoze Song et al., A survey on hybrid transactional and analytical processing, the Partition Attributes Across (PAX) model organizes data within a single disk block to achieve the best of both worlds. PAX groups all attributes of a single record within the same block to maintain update locality, but clusters identical attributes together within that block to ensure cache-efficient columnar scans.

This structural flexibility also extends to graph and relational data patterns. In PRoST: Distributed Execution of SPARQL Queries Using Mixed Partitioning Strategies, Matteo Cossu et al. demonstrate that combining vertical partitioning with property tables allows a query engine to dynamically choose the most efficient physical layout for different sub-patterns within a single query, balancing table sparsity against join complexity.

Temporal and Lifecycle-Based Partitioning

Data access patterns naturally change over time: newly inserted data is frequently updated and queried by transactions, while older data becomes immutable and is primarily targeted by historical analysis. Hybrid storage engines exploit this lifecycle by shifting data representations as it ages.

In Greenplum: A Hybrid Database for Transactional and Analytical Workloads, Zhenghua Lyu et al. describe a polymorphic storage architecture that supports multiple storage formats within a single logical table. Active, frequently updated partitions are assigned a row-oriented format to handle high-concurrency transactional updates efficiently. As that data cools, it is migrated to a compressed columnar format optimized for high-throughput analytical scans. This eliminates the need for complex, external Extract-Transform-Load (ETL) pipelines between separate database systems.

At a finer granularity, Mohammad Sadoghi et al. apply this temporal separation at the page level in L-Store: A Real-time OLTP and OLAP System. The system divides data into write-optimized, append-only "tail pages" and read-optimized, compressed "base pages." Both use a columnar layout, but the append-only tail pages allow contention-free transactional updates to be ingested rapidly. These updates are then merged into the base pages in the background, ensuring that analytical queries always operate on fresh data without stalling incoming transactions.

A related balancing act occurs in dataset version control. In DataHub: Collaborative Data Science & Dataset Version Management at Scale, Anant P. Bhardwaj et al. show that managing large-scale versioned data requires trading off between delta-chaining (which optimizes for rapid individual version checkouts) and record-centric indexing like bitmaps (which optimizes for analytical queries across multiple dataset branches).

Decoupled Engines and Dual-Path Execution

Beyond altering the physical layout of a single table, hybrid storage architectures can isolate workloads by decoupling the execution paths or engines entirely while maintaining a unified underlying data layer.

For large-scale enterprise systems, Jianjun Chen et al. present a separate-engine, shared-storage architecture in ByteHTAP: ByteDance's HTAP System with High Data Freshness and Strong Data Consistency. By completely decoupling the transactional (OLTP) and analytical (OLAP) processing engines, the system prevents heavy analytical scans from saturating CPU caches and memory bandwidth, thereby isolating workloads while sharing a unified storage layer to guarantee sub-second data freshness.

This dual-path execution can also be embedded directly within a single database engine. In Introducing a Query Acceleration Path for Analytics in SQLite3, Martin Prammer et al. introduce an in-memory columnar acceleration path into an traditionally row-based embedded database. The system intercepts incoming queries at the parse tree level: standard transactional tasks are routed to the traditional row-based virtual machine, while complex analytical queries are transparently redirected to a specialized columnar engine, achieving massive speedups without altering the application interface.

Hardware-level hybridization follows a similar philosophy. In PUSHtap: PIM-based In-Memory HTAP with Unified Data Storage Format, Yilong Zhao et al. design a unified format that simultaneously supports row-wise CPU access for transactional modifications and column-wise Processing-in-Memory (PIM) access for analytical aggregations, optimizing bandwidth utilization across distinct hardware components.

Density and Structural Adaptivity

The core philosophy of hybrid storage—matching physical representation to local data characteristics—extends to data density, indexing, and hardware primitives.

In Towards a Holistic Integration of Spreadsheets with Databases: A Scalable Storage Engine for Presentational Data Management, Mangesh Bendre et al. address the challenge of managing non-uniform data grids by recursively decomposing them into rectangular regions. Each region dynamically applies a row-oriented, column-oriented, or key-value representation based on its local data density, minimizing storage overhead while preserving fast positional access.

Security architectures also leverage hybrid layouts to balance privacy and performance. In ObliDB: Oblivious Query Processing for Secure Databases, Saba Eskandarian demonstrates that combining flat linear scan formats with oblivious B+ trees over Oblivious RAM (ORAM) allows a secure database to optimize for diverse query types, utilizing indexes for fast point lookups and flat formats for full-table aggregations.

Even indexing and hardware management benefit from this hybrid paradigm:

By breaking away from rigid, uniform storage paradigms, modern polymorphic storage engines align the physical layout of data with its temporal lifecycle, access frequency, and structural density, unlocking high-performance processing for mixed workloads.

Key Foundational Work

HYRISE - A Main Memory Hybrid Storage Engine (2010) — contributed 3 concept elements to this direction.
Experience Report: Exploiting Advanced Database Optimization Features for Large-Scale SAP R/3 Installations (2002) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_hybrid_vertical_partitioning_60b1ec86,
  title = {hybrid vertical partitioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-vertical-partitioning/rdr_60b1ec86d40c4cd0a03014cb1abdd50f},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_hybrid_vertical_partitioning_60b1ec86_v1,
  title = {hybrid vertical partitioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-vertical-partitioning/rdr_60b1ec86d40c4cd0a03014cb1abdd50f/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake