On the Optimization of Recursive Relational Queries

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.
Type de document :
Communication dans un congrès
BDA 2018 - 34ème Conférence sur la Gestion de Données - Principes, Technologies et Applications, Oct 2018, Bucarest, Romania. pp.1-22
Domaine :
Liste complète des métadonnées

https://hal.inria.fr/hal-01673025
Contributeur : Louis Jachiet <>
Soumis le : mardi 8 janvier 2019 - 16:36:05
Dernière modification le : jeudi 7 février 2019 - 15:40:02

Fichier

rpq.pdf
Fichiers éditeurs autorisés sur une archive ouverte

Identifiants

  • HAL Id : hal-01673025, version 3

Collections

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. pp.1-22. 〈hal-01673025v3〉

Partager

Métriques

Consultations de la notice

58

Téléchargements de fichiers

237