Scalable Package Queries in Relational Database Systems
Matteo Brucato, Juan Felipe Beltran, Azza Abouzied, Alexandra Meliou

TL;DR
This paper introduces package queries, a new model extending traditional database queries to handle complex, collective constraints, with a SQL-based language, evaluation strategies, and scalable algorithms demonstrated through extensive experiments.
Contribution
The paper presents PaQL, a SQL-based language for package queries, and introduces scalable evaluation algorithms including SketchRefine, with theoretical and practical performance benefits.
Findings
SketchRefine achieves an order of magnitude faster performance than ILP solvers on large datasets.
Package queries can express complex, collective constraints beyond traditional queries.
The evaluation strategy effectively combines database capabilities with constraint optimization.
Abstract
Traditional database queries follow a simple model: they define constraints that each tuple in the result must satisfy. This model is computationally efficient, as the database system can evaluate the query conditions on each tuple individually. However, many practical, real-world problems require a collection of result tuples to satisfy constraints collectively, rather than individually. In this paper, we present package queries, a new query model that extends traditional database queries to handle complex constraints and preferences over answer sets. We develop a full-fledged package query system, implemented on top of a traditional database engine. Our work makes several contributions. First, we design PaQL, a SQL-based query language that supports the declarative specification of package queries. We prove that PaQL is as least as expressive as integer linear programming, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Constraint Satisfaction and Optimization
