Practical Relational Calculus Query Evaluation
Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review
Documents
- Fulltwxt
Final published version, 989 KB, PDF document
The relational calculus (RC) is a concise, declarative query language. However, existing RC query evaluation approaches are inefficient and often deviate from established algorithms based on finite tables used in database management systems. We devise a new translation of an arbitrary RC query into two safe-range queries, for which the finiteness of the query’s evaluation result is guaranteed. Assuming an infinite domain, the two queries have the following meaning: The first is closed and characterizes the original query’s relative safety, i.e., whether given a fixed database, the original query evaluates to a finite relation. The second safe-range query is equivalent to the original query, if the latter is relatively safe. We compose our translation with other, more standard ones to ultimately obtain two SQL queries. This allows us to use standard database management systems to evaluate arbitrary RC queries. We show that our translation improves the time complexity over existing approaches, which we also empirically confirm in both realistic and synthetic experiments.
Original language | English |
---|---|
Title of host publication | 25th International Conference on Database Theory, ICDT 2022 |
Editors | Dan Olteanu, Nils Vortmeier |
Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
Publication date | 2022 |
Pages | 1-21 |
Article number | 11 |
ISBN (Electronic) | 9783959772235 |
DOIs | |
Publication status | Published - 2022 |
Event | 25th International Conference on Database Theory, ICDT 2022 - Virtual, Edinburgh, United Kingdom Duration: 29 Mar 2022 → 1 Apr 2022 |
Conference
Conference | 25th International Conference on Database Theory, ICDT 2022 |
---|---|
Land | United Kingdom |
By | Virtual, Edinburgh |
Periode | 29/03/2022 → 01/04/2022 |
Series | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|
Volume | 220 |
ISSN | 1868-8969 |
Bibliographical note
Publisher Copyright:
© Martin Raszyk, David Basin, Srđan Krstić, and Dmitriy Traytel;
- query translation, Relational calculus, relative safety, safe-range
Research areas
Number of downloads are based on statistics from Google Scholar and www.ku.dk
ID: 307373732