Rapidash: Efficient Detection of Constraint Violations
Zifan Liu, Shaleen Deep, Anna Fariha, Fotis Psallidas, Ashish Tiwari, Avrilia Floratou
Abstract
Denial Constraint (DC) is a well-established formalism that captures a wide range of integrity constraints commonly encountered, including candidate keys, functional dependencies, and ordering constraints, among others. Given their significance, there has been considerable research interest in achieving fast detection of DC violations, especially to support activities related to data exploration and preparation. Despite the significant advancements in the field, prior work exhibits notable limitations when confronted with large-scale datasets: the current state-of-the-art algorithm demonstrates a quadratic (worst-case) time and space complexity relative to the dataset's number of rows. In this paper, we establish a connection between orthogonal range search and DC violation detection. We then introduce Rapidash, a novel algorithm that demonstrates near-linear time and space complexity, representing a theoretical improvement over prior work. To validate the effectiveness of our algorithm, we conduct comprehensive evaluations on both open-source and real-world production datasets, with our production datasets notably being an order of magnitude larger than the datasets employed in prior studies. Our results reveal that Rapidash achieves up to 84× faster performance compared to state-of-the-art approaches while also exhibiting superior scalability.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dd67a55d-f545-445e-9324-28d9da3582cdCited by top-tier papers1
Ask how each one uses itBuilds on6
- Discovery of Approximate (and Exact) Denial ConstraintsEduardo H. M. Pena, Eduardo C. de Almeida, Felix NaumannVLDB 2020 · 79 citations
- Kamino: Constraint-Aware Differentially Private Data SynthesisChang Ge, Shubhankar Mohapatra, Xi He, Ihab F. IlyasVLDB 2021 · 55 citations
- Fast Algorithms for Denial Constraint DiscoveryEduardo H. M. Pena, Fábio Porto, Felix NaumannVLDB 2023 · 23 citations
- Fast Detection of Denial Constraint ViolationsEduardo H. M. Pena, Eduardo Cunha de Almeida, Felix NaumannVLDB 2022 · 22 citations
- Conformance Constraint Discovery: Measuring Trust in Data-Driven SystemsAnna Fariha, Ashish Tiwari, Arjun Radhakrishna, Sumit Gulwani et al.SIGMOD 2021 · 18 citations
Related papers
- Discovering Approximate Denial Constraints in Large DatabasesAlbert Martin, Eduardo C. de Almeida, Oscar Romero, Anna QueraltVLDB 2026 · 2 citations
- Discovering Denial Constraints in Dynamic DatasetsEduardo H. M. Pena, Fábio Porto, Felix NaumannICDE 2024 · 2 citations
- Discovery of Denial Constraints with Hardware AccelerationSergio Luiz Marques Filho, Eduardo Cunha de Almeida, Marco Antonio Zanata AlvesSIGMOD 2026 · 1 citation
- How and Why False Denial Constraints are DiscoveredAlbert Martin, Eduardo C. de Almeida, Oscar Romero, Anna QueraltVLDB 2025 · 1 citation
- DCDiscover: Mining Threshold Denial Constraints from Time Series DataXiaoou Ding, Muyun Zhou, Yida Liu, Zekai Qian et al.ICDE 2025 · 1 citation
