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 条
  • [1] Recursive queries in product databases
    ter Bekke, JH
    Bakker, JA
    FLEXIBLE QUERY ANSWERING SYSTEMS, PROCEEDINGS, 2002, 2522 : 44 - 55
  • [2] POLYNOMIAL QUERIES TO RELATIONAL DATABASES
    LIVCHAK, AB
    PROGRAMMING AND COMPUTER SOFTWARE, 1985, 11 (02) : 107 - 112
  • [3] EVALUATING RECURSIVE QUERIES IN DISTRIBUTED DATABASES
    NEJDL, W
    CERI, S
    WIEDERHOLD, G
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1993, 5 (01) : 104 - 121
  • [4] INTERPRETATION OF STATISTICAL QUERIES TO RELATIONAL DATABASES
    DATRI, A
    RICCI, FL
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 339 : 246 - 258
  • [5] Reliability of answers to queries in relational databases
    Sadri, Fereidoon
    IEEE Transactions on Knowledge and Data Engineering, 1991, 3 (02): : 245 - 251
  • [6] Tackling Complex Queries to Relational Databases
    Popescu, Octavian
    Ngoc Phuoc An Vo
    Sheinin, Vadim
    Khorashani, Elahe
    Yeo, Hangu
    INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2019, PT I, 2019, 11431 : 688 - 701
  • [7] Fuzzy Aggregation Queries in Relational Databases
    Ye, Xiaoling
    Wang, Hui
    Chen, Yifei
    ADVANCES IN SCIENCE AND ENGINEERING, PTS 1 AND 2, 2011, 40-41 : 195 - 200
  • [9] Statistical queries on historical relational databases
    Maung, W
    Swe, C
    Orgun, MA
    INTENSIONAL PROGRAMMING II: BASED ON THE PAPERS AT ISLIP'99, 2000, : 214 - 228
  • [10] Fuzzy queries in relational medical databases
    Tüben, U
    Becks, A
    Fathi, M
    Tresp, C
    FUSION'98: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON MULTISOURCE-MULTISENSOR INFORMATION FUSION, VOLS 1 AND 2, 1998, : 328 - 334