DBMay 27

ScanTwin: Simulating Performance Regressions Without Access to Tenant Data

arXiv:2605.2909323.1h-index: 1
Predicted impact top 61% in DB · last 90 daysOriginality Incremental advance
AI Analysis

For cloud data platform developers, ScanTwin solves the problem of reproducing performance regressions caused by tenant-specific data without violating confidentiality.

ScanTwin generates synthetic data replicas that preserve physical properties like row-group pruning, enabling performance regression reproduction without accessing tenant data. It achieves 0% pruning error and <1% byte error at ε=∞, and <8.5% pruning error for high-selectivity queries at ε=5.

In cloud data platforms, developers often encounter performance regressions that occur in specific tenant datasets. However, due to confidentiality constraints, they cannot access the original data, which makes it difficult to reproduce these regressions locally. Current methods for synthetic data usually focus on statistical properties, such as matching data distributions or improving query accuracy. However, they overlook the physical properties that control how the engine behaves during scans, including row-group pruning. We propose ScanTwin, a lightweight framework that extracts a per-row-group sketch from the Parquet footer, including boundary values and compressed sizes, and releases them under $\varepsilon$-differential privacy using a boundary parameterization. On TPC-H and SSB (6M rows), ScanTwin achieves 0% pruning error and less than 1% byte error at $\varepsilon{=}\infty$. Under $\varepsilon{=}5$, high-selectivity queries ($>$30%) incur below 8.5% pruning error on both datasets, and per-query scan timing on DuckDB closely tracks the original.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes