Transactional Data Change for Real-Time Analytics in Lakehouses
Lakehouses have become the default analytics substrate, but ingesting transactional changes in real time remains painful because immutable columnar files force a trade-off between write speed and query performance. This paper presents Retina, a CDC replay framework that replaces merge-on-read and background compaction with vectorized-filter-on-read (VFoR), pushing tuple-visibility checks into the table scan. It pairs VFoR with a lightweight watermark-based MVCC protocol (high watermark $HWM$, low watermark $LWM$) and a memory-efficient tile-visibility structure to deliver ACID guarantees at sub-second freshness. The authors report over 3.2 million row/s linear-scalable replay throughput on object storage with minimal query overhead.
Retina is a well-argued system paper that identifies a genuine pain point—merge-on-read and compaction thrashing in lakehouse CDC pipelines—and proposes a cleaner alternative backed by solid engineering. The core design insight, that scanning and filtering stale versions during read is cheaper than eagerly compacting deltas, is convincingly demonstrated against Apache Iceberg and Paimon. However, the comparison with HTAP baselines is explicitly handicapped, and some architectural choices, such as funneling write-buffer reads through a single query node, leave lingering scalability questions. Overall, the paper makes a strong contribution to lakehouse storage design but overstates its advantage over HTAP systems.
The authors candidly admit the HTAP comparison is flawed: "The HTAP systems (i.e., TiDB and Colibri) do not expose a CDC ingestion interface; hence, we have to submit OLTP transactions to their SQL interfaces. This introduces additional SQL parsing and OLTP costs. Therefore, it is not completely fair to directly compare the performance numbers of HTAP and Lakehouse systems" (Section 6.1).
The empirical critique of merge-on-read is sharp and well-supported: "We observe that during compaction, data-change throughput drops by approximately half, while checkpoint latency increases by about fourfold, severely reducing data freshness" (Section 1). The tile-visibility structure is similarly compelling in its efficiency: "In evaluations, tile visibility consumes only 1.56 GB (1.16 bit/tuple) of memory for HyBench SF1333 (1TB) under high data-change throughput" (Section 1). The linear scalability to 3.2M row/s on 16 nodes, combined with 10-ms-level freshness, suggests the watermark-based MVCC protocol and SIMD-accelerated bitmap filtering work well in practice.
Another strong result is that VFoR adds only 2.33% query latency overhead compared to disabling visibility checks entirely (Section 6.7), confirming that the extra I/O and CPU during scan are tightly bounded.
Retina's "fully transactional" claims are narrower than they appear. The system assumes CDC delivers source transactions in strict commit order and relies on timestamp ordering to avoid write-write conflicts among mirror transactions; this is effectively serializable snapshot isolation for a replayed stream, not general cross-table transaction processing with conflicting writes. Second, the experimental baseline comparisons are uneven. In addition to the HTAP fairness issue, TiDB is forced to run a minimum 4-node deployment even when Retina uses one node, and Paimon's deletion-vector mode is evaluated under tuning that the authors acknowledge favors write throughput over freshness.
Architecturally, the write buffer is a potential concern: "No matter how large the query cluster is, the write buffer is read by a single node" (Section 5.2). While the authors argue this is not a scalability bottleneck, the paper does not measure query throughput under heavy write-buffer pressure. Likewise, the index service is labeled as the main single-point component; although partitionable, the default RocksDB-backed SPI consumes the majority of memory and is the throughput bottleneck. As the ablation study notes: "In other words, the index service is not only the main resource consumer (see Section 6.5), but also the main throughput bottleneck" (Section 6.7).
The evaluation is extensive for the lakehouse tier, covering freshness, throughput, query latency, scalability, and resource usage on both HyBench and CH-benCHmark. The evidence supports the central claim that VFoR outperforms MoR when freshness and query consistency are required. However, the paper overreaches by claiming Retina "significantly outperforms state-of-the-art lakehouses ... and lake-compatible HTAP databases," because the HTAP numbers are not measured under equivalent ingestion paths. As the authors note in the abstract, "Existing lakehouses offer only git-style catalog version control on a single table, and they trade data freshness, query performance, and/or resource efficiency to achieve a barely acceptable data-change throughput." This critique of existing lakehouses is fair, but it does not automatically extend to HTAP systems, which provide richer transaction support even if at higher cost.
The authors open-sourced Retina as part of the Pixels engine, which is a significant plus: "The source code, data, and/or other artifacts have been made available at https://github.com/pixelsdb/pixels/tree/master/pixels-retina" (Artifact Availability). The benchmarks are standard (HyBench, CH-benCHmark) and the AWS instance types are specified. That said, independent reproduction would be challenging because the system involves many interdependent services—CDC sinks, replayers, an Etcd-backed transaction service, a pluggable index service, and a custom Trino connector—and the paper does not provide a dump of exact configuration files, deployment scripts, or the full hyperparameter sweep data. Default settings such as a 20 GB RocksDB block cache and 8192-row write-buffer blocks are given, but tuning rationale and sensitivity beyond the selected knobs remain sparse.
Real-time data analytics has become a key demand for lakehouses. It requires propagating data changes from the data source to the lakehouse in real time, while ensuring ACID guarantees and minimizing resource consumption and impact on analytical query performance. This is highly challenging for a data system according to the RUM conjecture, especially given the read-optimized immutable file storage layer in lakehouses. Existing lakehouses offer only git-style catalog version control on a single table, and they trade data freshness, query performance, and/or resource efficiency to achieve a barely acceptable data-change throughput. In this paper, we propose a novel data synchronization framework, Retina, that enables real-time, cost-efficient, query-performant, and fully transactional data changes in lakehouses. We implement and open-source Retina. Evaluations show that Retina delivers 10-millisecond-level data freshness and over 3.2 million row/s linear-scalable data-change throughput with low resource consumption and query-performance overhead, significantly outperforming state-of-the-art lakehouse systems and lake-compatible HTAP databases.
Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.
No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.