Main Memory Evaluation of Recursive Queries on Multicore Machines

被引:0
|
作者
Yang, Mohan [1 ]
Zaniolo, Carlo [1 ]
机构
[1] Univ Calif Los Angeles, Dept Comp Sci, Los Angeles, CA 90024 USA
基金
美国国家科学基金会;
关键词
main memory; multicore; recursive query; transitive closure; TRANSITIVE CLOSURE; JOIN;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Supporting iteration and/or recursion for advanced big data analytics requires reexamination of classical algorithms on modern computing environments. Several recent studies have focused on the implementation of transitive closure in multi-node clusters. Algorithms that deliver optimal performance on multi-node clusters are hardly optimal on multicore machines. We present an experimental study on finding efficient main memory recursive query evaluation algorithms on modern multi-core machines. We review SEMINAIVE, SMART and a pair of single-source closure (SSC) algorithms. We also propose a new hybrid SSC algorithm, named SSC12, which combines two previously known SSC algorithms. We implement these algorithms on a multicore shared memory machine, and compare their memory utilization, speed and scalability on synthetic and real-life datasets. Our experiments show that, on multicore machines, the surprisingly simple SSC12 is the only transitive-closure algorithm that is consistently fast and memory-efficient on all test graphs.
引用
收藏
页码:251 / 260
页数:10
相关论文
共 50 条
  • [41] Brief Announcement: PARLAYLIB - A Toolkit for Parallel Algorithms on Shared-Memory Multicore Machines
    Blelloch, Guy E.
    Anderson, Daniel
    Dhulipala, Laxman
    [J]. PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, : 507 - 509
  • [43] OLDTNF-based evaluation method for handling recursive queries in deductive databases
    Chen, YJ
    [J]. SCIENCE IN CHINA SERIES E-TECHNOLOGICAL SCIENCES, 1998, 41 (06): : 561 - 578
  • [44] OLDTNF-based evaluation method for handling recursive queries in deductive databases
    Yangjun Chen
    [J]. Science in China Series E: Technological Sciences, 1998, 41 : 561 - 578
  • [45] RECURSIVE TURING MACHINES
    SAVITCH, WJ
    [J]. INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1977, 6 (01) : 3 - 31
  • [46] Optimizing Recursive Queries with Program Synthesis
    Wang, Yisu Remy
    Khamis, Mahmoud Abo
    Ngo, Hung Q.
    Pichler, Reinhard
    Suciu, Dan
    [J]. PROCEEDINGS OF THE 2022 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA (SIGMOD '22), 2022, : 79 - 93
  • [47] ON THE EXPECTED SIZE OF RECURSIVE DATALOG QUERIES
    SESHADRI, S
    NAUGHTON, JF
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1995, 51 (02) : 137 - 148
  • [48] ROLES AND THEIR ROLE IN POSING RECURSIVE QUERIES
    KUCK, S
    JOHN, R
    LEWE, A
    NAJORK, M
    [J]. INFORMATION SYSTEMS, 1990, 15 (02) : 173 - 186
  • [49] Execution of Recursive Queries in Apache Spark
    Katsogridakis, Pavlos
    Papagiannaki, Sofia
    Pratikakis, Polyvios
    [J]. EURO-PAR 2017: PARALLEL PROCESSING, 2017, 10417 : 289 - 302
  • [50] Optimization of Linear Recursive Queries in SQL
    Ordonez, Carlos
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2010, 22 (02) : 264 - 277