Metraipolis › archive › dc_d7ce5309ec23
DBRepro: Automated Database Synthesis via a Hybrid Constraint-Solving Approach for Reproducing Slow Queries — arXiv:2608.27822
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.27822
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T11:14:09.211Z
- SHA-256 of the archived text
88c1b24eccc42c15e33305046129f06cd168b6e1c734f86fc615b227c896b1dd- Stable URL of this page
https://metraipolis.com/documento/dc_d7ce5309ec23
How to cite
DBRepro: Automated Database Synthesis via a Hybrid Constraint-Solving Approach for Reproducing Slow Queries — arXiv:2608.27822 — arXiv (en), https://arxiv.org/abs/2608.27822 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d7ce5309ec23 (Metraipolis archive dc_d7ce5309ec23, sha256 88c1b24eccc42c15e33305046129f06cd168b6e1c734f86fc615b227c896b1dd)
BibTeX
@misc{dcd7ce5309ec23,
title = {DBRepro: Automated Database Synthesis via a Hybrid Constraint-Solving Approach for Reproducing Slow Queries — arXiv:2608.27822},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.27822},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d7ce5309ec23; sha256 88c1b24eccc42c15e33305046129f06cd168b6e1c734f86fc615b227c896b1dd},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.27822. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Slow queries frequently cause severe performance bottlenecks in database management systems. Diagnosing their root causes online risks exacerbating resource contention, while data privacy regulations often prohibit copying production data to test environments. Synthesizing a proxy database from non-intrusive metadata that induces the query optimizer to generate the same physical execution plans is therefore critical for offline diagnosis. High-fidelity reproduction requires preserving global statistical distributions while enforcing exact local cardinalities. Existing data-driven and workload-aware approaches cannot satisfy both requirements simultaneously. We present DBRepro, an automated end-to-end framework that formulates database generation as a constrained distribution synthesis problem. DBRepro initializes a global distribution from lightweight column statistics, extracts execution constraints from target queries, and progressively adjusts the distribution to satisfy these constraints while preserving the global distribution. Experiments on TPC-H and SSB show that DBRepro reduces cardinality error by up to 20.3% over a data-driven baseline while maintaining identical plan consistency. Compared with a workload-aware baseline, it reproduces 15% more consistent execution plans and reduces latency proportion error by 21.5%. We further validate DBRepro on a nearly 1 TB real-world dataset managed by KingbaseES, where it reproduces the execution performance of complex slow queries with high fidelity. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-31 in cs.SE). Categorie arXiv: Databases (cs.DB) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.27822 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T10:56:43.384Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).