SHARq: Sharing Recursive Queries in Relational Databases

被引:0
|
作者
Scabora, Lucas C. [1 ]
Spadon, Gabriel [1 ]
Cazzolato, Mirela T. [1 ]
Kaster, Daniel S. [2 ]
Traina, Agma J. M. [1 ]
Rodrigues-, Jose F., Jr. [1 ]
Traina-, Caetano, Jr. [1 ]
机构
[1] Univ Sao Paulo, Inst Math & Comp Sci, Sao Paulo, Brazil
[2] Univ Londrina UEL, Londrina, Parana, Brazil
基金
巴西圣保罗研究基金会; 瑞典研究理事会;
关键词
RDBMS; recursive query; graph analysis; join operation;
D O I
10.1145/3412841.3442078
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Processing navigational graph-like queries in relational databases requires executing several recursive join operations, which are computationally costly. However, when the need for graph-like queries arises, applications often execute a sequence of related queries in a single session. We argue that it is possible to reduce the total cost of a set of related queries, by expanding individual intermediate results and sharing them among multiple queries. SHARq is our framework that enables sharing intermediate results of the common graph-like queries Single-Source Shortest Paths (SSSP), Connected Components (CC), and PageRank (PR). Our solution prepares result tables expanded with additional columns to store partial results of graph-like query combinations, such as multiple SSSP, or a sequence of queries comprising SSSP, CC, and PR. Experimental results on 9 datasets show query speedups of up to ten times when combining multiple SSSP queries, and up to two times when combining SSSP, CC, and PR queries. The results reveal a significant reduction in the query time, providing timely results for analyses relying on multiple navigational graph-like queries.
引用
收藏
页码:336 / 339
页数:4
相关论文
共 50 条
  • [21] Performance of Graph and Relational Databases in Complex Queries
    Kotiranta, Petri
    Junkkari, Marko
    Nummenmaa, Jyrki
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [22] Recursive Query Facilities in Relational Databases: A Survey
    Przymus, Piotr
    Boniewicz, Aleksandra
    Burzanska, Marta
    Stencel, Krzysztof
    DATABASE THEORY AND APPLICATION, BIO-SCIENCE AND BIO-TECHNOLOGY, 2010, 118 : 89 - 99
  • [23] EVALUATION OF RECURSIVE QUERIES WITH EXTENDED RULES IN DEDUCTIVE DATABASES
    LEE, SH
    HENSCHEN, LJ
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1995, 7 (02) : 328 - 331
  • [24] Answering cooperative recursive queries in web federated databases
    Balaban, M
    Berezansky, N
    Gudes, E
    NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, 2002, 2382 : 14 - 28
  • [25] CLASSIFICATION AND COMPILATION OF LINEAR RECURSIVE QUERIES IN DEDUCTIVE DATABASES
    YOUN, C
    KIM, HJ
    HENSCHEN, LJ
    HAN, JW
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1992, 4 (01) : 52 - 67
  • [26] Mobius: Synthesizing Relational Queries with Recursive and Invented Predicates
    Thakkar, Aalok
    Sands, Nathaniel
    Petrou, George
    Alur, Rajeev
    Naik, Mayur
    Raghothaman, Mukund
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA): : 1394 - 1417
  • [27] Ontop: Answering SPARQL Queries over Relational Databases
    Calvanese, Diego
    Cogrel, Benjamin
    Komla-Ebri, Sarah
    Kontchakov, Roman
    Lanti, Davide
    Rezk, Martin
    Rodriguez-Muro, Mariano
    Xiao, Guohui
    SEMANTIC WEB, 2017, 8 (03) : 471 - 487
  • [28] A method of intelligent search to answer queries in relational databases
    Dutta, Ashit Kumar
    Biswas, Ranjit
    Ansari, Abdul Quaiyum
    INFORMATION-AN INTERNATIONAL INTERDISCIPLINARY JOURNAL, 2007, 10 (06): : 781 - 798
  • [29] Supporting top-kjoin queries in relational databases
    Ihab F. Ilyas
    Walid G. Aref
    Ahmed K. Elmagarmid
    The VLDB Journal, 2004, 13 : 207 - 221
  • [30] Empirical analysis of the impact of queries on watermarked relational databases
    Olliaro, Martina
    Gort, Maikel Lazaro Perez
    Cortesi, Agostino
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 204