Skip to Main content Skip to Navigation
Conference papers

On the Optimization of Recursive Relational Queries

Louis Jachiet 1 Nils Gesbert 1 Pierre Genevès 1 Nabil Layaïda 1
1 TYREX - Types and Reasoning for the Web
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble [2007-2015]
Abstract : Graph databases have received a lot of attention recently as they are particularly useful in many applications such as social networks or for the semantic web. Various languages have emerged to query such graph databases. At the heart of many of those query languages, there is a construction to navigate through the graph which allows some form of recursion. The relational model has benefited from a huge body of research in the last half century and that is why many graph databases either rely on (or have adopted the techniques of) relational based query engines. Since its introduction, the relational model has seen various attempts to extend it with recursion and it is now possible to use recursion in several SQL or Datalog based database systems. The optimization of recursive queries remains, however, a challenge. In this paper, we introduce μ-RA, a variation of the Re- lational Algebra that allows for the expression of relational queries with recursion. μ-RA can express unions of con- junctive regular path queries as well as certain non-regular properties. We present its syntax, semantics and the rewriting rules we specifically devised to tackle the optimization of recursive queries. A prototype evaluator implementing these rewriting rules is shown to be more efficient than previous approaches.
Document type :
Conference papers
Complete list of metadatas

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-01673025
Contributor : Tyrex Equipe <>
Submitted on : Monday, December 17, 2018 - 3:27:20 PM
Last modification on : Friday, July 3, 2020 - 4:51:43 PM

File

rpq.pdf
Files produced by the author(s)

Identifiers

Citation

Louis Jachiet, Nils Gesbert, Pierre Genevès, Nabil Layaïda. On the Optimization of Recursive Relational Queries. BDA 2018, 34ème Conférence sur la Gestion de Données - Principes, Technologies et Applications, Oct 2018, Bucarest, Romania. ⟨10.1145/nnnnnnn.nnnnnnn⟩. ⟨hal-01673025v2⟩

Share

Metrics

Record views

97

Files downloads

78