Ranked Enumeration for Database Queries
Ranked enumeration is a query-answering paradigm where the query answers are returned incrementally in order of importance (instead of returning all answers at once). Importance is defined by a ranking function that can be specific to the application, but typically involves either a lexicographic order (e.g., "ORDER BY R.A, S.B" in SQL) or a weighted sum of attributes (e.g., "ORDER BY 3*R.A + 2*S.B"). Recent work has introduced any-k algorithms for (multi-way) join queries, which push ranking into joins and avoid materializing intermediate results until necessary. The top-ranked answers are returned asymptotically faster than the common join-then-rank approach of database systems, resulting in orders-of-magnitude speedup in practice.
Authors
- Mirek Riedewald (ORCID: https://orcid.org/0000-0002-6102-7472)
- Nikolaos Tziavelis (ORCID: https://orcid.org/0000-0001-8342-2177)
- Wolfgang Gatterbauer (ORCID: https://orcid.org/0000-0002-9614-0504)
Institutions
- University of California, Santa Cruz (US)
- Universidad del Noreste (MX)
Publication Details
- Journal
- ACM SIGMOD Record
- Published
- 2024-11-08
- DOI
- https://doi.org/10.1145/3703922.3703924
- Citations
- 1
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.35