Mirage: Generating Enormous Databases for Complex Workloads
Qingshuai Wang, Hao Li, Zirui Hu, Rong Zhang, Chengcheng Yang, Peng Cai, Xuan Zhou, Aoying Zhou
摘要
To optimize query parallelism techniques, substantial workloads are required with specific query plans and customized output size for each operator (denoted as cardinality constraint). To this end, a rich body of query-aware database generators (QAG) are proposed. However, the complex data dependencies hidden behind queries make previous QAGs suffer from deficiencies in supporting complex operators and controlling the generation errors. In this paper, we design a new generator Mirage supporting well for complex operators with low error bounds for cardinality constraints. First, Mirage leverages Query Rewriting and Set Transforming Rules to decouple dependencies between key and non-key columns, which could help generate each of them individually. Then, for the non-key columns, Mirage abstracts cardinality constraints of operators as placement requirements within each column's domain, and further models the generation problem as a classic bin packing problem. Finally, for the key columns, Mirage proposes a uniform representation of join cardinality constraints for all types of PK-FK joins and partitions the data according to the matching status between PK and F K columns. Then, it formulates the key population as a Constraint Programming problem, which can be solved by an existing CP Solver. The experiments show that Mirage conquers all previous work in either operator support or generation error.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
引用它的顶会 Paper2
- Pisco: An Isolation Bug Case Reduction and Deduplication FrameworkSiyang Weng, Hongyu Yang, Zirui Hu, Rong Zhang 等VLDB 2026
- Vodka: Rethink Benchmarking Philosophy in HTAP SystemsZirui Hu, Siyang Weng, Zhicheng Pan, Rong Zhang 等VLDB 2026
相关 Paper
- Projection-Compliant Database GenerationAnupam Sanghi, Shadab Ahmed, Jayant R. HaritsaVLDB 2022 · 被引用 6 次
- Efficient Query Re-optimization with Judicious Subquery SelectionsJunyi Zhao, Huanchen Zhang, Yihan GaoSIGMOD 2023 · 被引用 12 次
- LearnedSQLGen: Constraint-aware SQL Generation using Reinforcement LearningLixi Zhang, Chengliang Chai, Xuanhe Zhou, Guoliang LiSIGMOD 2022 · 被引用 26 次
- Analyzing the Impact of Cardinality Estimation on Execution Plans in Microsoft SQL ServerKukjin Lee, Anshuman Dutt, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2023 · 被引用 26 次
- ARG: Testing Query Rewriters via Abstract Rule Guided FuzzingDawei Li, Yuxiao Guo, Qifan Liu, Jie Liang 等ASE 2025
