A prefetching indexing scheme for in-memory database systems

被引:0
|
作者
Zhang, Qian [1 ]
Song, Haoyun [1 ]
Zhou, Kaiyan [1 ]
Wei, Jianhao [1 ]
Xiao, Chuqiao [1 ]
机构
[1] East China Normal Univ, Software Engn Inst, Shanghai 200062, Peoples R China
关键词
Main memory; Prefetching; Database systems; Multi-versioning; Indexing scheme; PERFORMANCE;
D O I
10.1016/j.future.2024.03.012
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In-memory databases (IMDBs) store all working data in the main memory, making memory access the dominant factor in system performance. Moreover, for modern multi-version systems, the extended version chain makes the access pattern more complex, putting extra pressure on indexing. Our micro-architectural profiling results of existing IMDB indexing schemes show that over half of the execution time goes to memory stalls caused by pointer chasing operations. This paper proposes a prefetching indexing scheme for modern in-memory database systems. This scheme achieves high performance in the presence of serial accesses in pointer chasing. The essential idea is to use a path prefetcher and a jump pointer prefetcher to hide cache miss latencies induced by indexing searches on versioned tuples. Specifically, this scheme works by associating a read counter with each block and updating the counters in the search keys' access paths. To generate the optimal paths for future prefetches, we present how to continuously evolve the frequent access paths by analyzing those access patterns. Also, we create a jump pointer for each tuple in the leaf nodes to prefetch the head of its version chain. We present a jump pointer queue to accelerate linear version traversal. We achieve the high update performance because our improved search speed more than offsets any increase in prefetching overhead. Evaluations show that the prefetching indexing scheme outperforms the state-of-the-art indexing scheme by up to 70%.
引用
收藏
页码:179 / 190
页数:12
相关论文
共 50 条
  • [31] Towards implementation of a novel scheme for data prefetching on distributed shared memory systems
    Wang, Hsiao-Hsi
    Li, Kuan-Ching
    Lu, Ssu-Hsuan
    Yang, Chun-Chieh
    JOURNAL OF SUPERCOMPUTING, 2009, 47 (02): : 111 - 126
  • [32] Towards implementation of a novel scheme for data prefetching on distributed shared memory systems
    Hsiao-Hsi Wang
    Kuan-Ching Li
    Ssu-Hsuan Lu
    Chun-Chieh Yang
    The Journal of Supercomputing, 2009, 47 : 111 - 126
  • [33] Elastic Pipelining in an In-Memory Database Cluster
    Wang, Li
    Zhou, Minqi
    Zhang, Zhenjie
    Yang, Yin
    Zhou, Aoying
    Bitton, Dina
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1279 - 1294
  • [34] In-memory database acceleration on FPGAs: a survey
    Jian Fang
    Yvo T. B. Mulder
    Jan Hidders
    Jinho Lee
    H. Peter Hofstee
    The VLDB Journal, 2020, 29 : 33 - 59
  • [35] MemTest: A novel benchmark for in-memory database
    Jin, Cheqing (cqjin@sei.ecnu.edu.cn), 1600, Springer Verlag (8807):
  • [36] ScaleDB: A Scalable, Asynchronous In-Memory Database
    Mehdi, Syed Akbar
    Hwang, Deukyeon
    Peter, Simon
    Alvisi, Lorenzo
    PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, OSDI 2023, 2023, : 361 - 376
  • [37] Distributed Architecture of Oracle Database In-memory
    Mukherjee, Niloy
    Chavan, Shasank
    Colgan, Maria
    Das, Dinesh
    Gleeson, Mike
    Hase, Sanket
    Holloway, Allison
    Jin, Hui
    Kamp, Jesse
    Kulkarni, Kartik
    Lahiri, Tirthankar
    Loaiza, Juan
    Macnaughton, Neil
    Marwah, Vineet
    Mullick, Atrayee
    Witkowski, Andy
    Yan, Jiaqi
    Zait, Mohamed
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (12): : 1630 - 1641
  • [38] imGraph: A distributed in-memory graph database
    Jouili, Salim
    Reynaga, Aldemar
    2013 ASE/IEEE INTERNATIONAL CONFERENCE ON SOCIAL COMPUTING (SOCIALCOM), 2013, : 732 - 737
  • [39] In-memory database acceleration on FPGAs: a survey
    Fang, Jian
    Mulder, Yvo T. B.
    Hidders, Jan
    Lee, Jinho
    Hofstee, H. Peter
    VLDB JOURNAL, 2020, 29 (01): : 33 - 59
  • [40] Visual Reasoning Indexing and Retrieval Using In-Memory Computing
    Cao, Hongfei
    Li, Yu
    Allen, Carla M.
    Phinney, Michael A.
    Shyu, Chi-Ren
    INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2016, 10 (03) : 299 - 322