Revisiting Reuse in Main Memory Database Systems

被引:13
|
作者
Dursun, Kayhan [1 ]
Binnig, Carsten [1 ]
Cetintemel, Ugur [1 ]
Kraska, Tim [1 ]
机构
[1] Brown Univ, Providence, RI 02912 USA
来源
SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2017年
关键词
D O I
10.1145/3035918.3035957
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Reusing intermediates in databases to speed-up analytical query processing was studied in prior work. Existing solutions require intermediate results of individual operators to be materialized using materialization operators. However, inserting such materialization operations into a query plan not only incurs additional execution costs but also often eliminates important cache- and register-locality opportunities, resulting in even higher performance penalties. This paper studies a novel reuse model for intermediates, which caches internal physical data structures materialized during query processing (due to pipeline breakers) and externalizes them so that they become reusable for upcoming operations. We focus on hash tables, the most commonly used internal data structure in main memory databases to perform join and aggregation operations. As queries arrive, our reuse-aware optimizer reasons about the reuse opportunities for hash tables, employing cost models that take into account hash table statistics together with the CPU and data movement costs within the cache hierarchy. Experimental results, based on our prototype implementation, demonstrate performance gains of 2x for typical analytical workloads with no additional overhead for materializing intermediates.
引用
收藏
页码:1275 / 1289
页数:15
相关论文
共 50 条
  • [1] Main memory database systems
    Faerber F.
    Kemper A.
    Larson P.-Å.
    Levandoski J.
    Neumann T.
    Pavlo A.
    Foundations and Trends in Databases, 2017, 8 (1-2): : 1 - 130
  • [2] Main-Memory Database Systems
    Kemper, Alfons
    Neumann, Thomas
    2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 1310 - 1310
  • [3] Recovery in main memory database systems
    Kumar, V
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, 1996, 1134 : 769 - 778
  • [4] Modern Main-Memory Database Systems
    Larson, Per-Ake
    Levandoski, Justin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (13): : 1609 - +
  • [5] MAIN MEMORY DATABASE-SYSTEMS - AN OVERVIEW
    GARCIAMOLINA, H
    SALEM, K
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1992, 4 (06) : 509 - 516
  • [6] Lightweight Locking for Main Memory Database Systems
    Ren, Kun
    Thomson, Alexander
    Abadi, Daniel J.
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2012, 6 (02): : 145 - 156
  • [7] INCREMENTAL RECOVERY IN MAIN MEMORY DATABASE-SYSTEMS
    LEVY, E
    SILBERSCHATZ, A
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1992, 4 (06) : 529 - 540
  • [8] Checkpointing of control structures in main memory database systems
    Wang, L
    Kalbarczyk, Z
    Iyer, RK
    Vora, H
    Chahande, T
    2004 INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2004, : 687 - 692
  • [9] VLL: a lock manager redesign for main memory database systems
    Ren, Kun
    Thomson, Alexander
    Abadi, Daniel J.
    VLDB JOURNAL, 2015, 24 (05): : 681 - 705
  • [10] Andy Pavlo Speaks Out on Main Memory Database Systems
    Winslett, Marianne
    Braganholo, Vanessa
    Pavlo, Andy
    SIGMOD RECORD, 2015, 44 (01) : 41 - 45