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 条
  • [1] Replicated Layout for In-Memory Database Systems
    Sudhir, Sivaprasad
    Cafarella, Michael
    Madden, Samuel
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 15 (04): : 984 - 997
  • [2] Oracle Database In-Memory: A Dual Format In-Memory Database
    Lahiri, Tirthankar
    Chavan, Shasank
    Colgan, Maria
    Das, Dinesh
    Ganesh, Amit
    Gleeson, Mike
    Hase, Sanket
    Holloway, Allison
    Kamp, Jesse
    Lee, Teck-Hua
    Loaiza, Juan
    Macnaughton, Neil
    Marwah, Vineet
    Mukherjee, Niloy
    Mullick, Atrayee
    Muthulingam, Sujatha
    Raja, Vivekanandhan
    Roth, Marty
    Soylemez, Ekrem
    Zait, Mohamed
    2015 IEEE 31ST INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2015, : 1253 - 1258
  • [3] Exploring Prefetching, Pre-Execution and Branch Outcome Streaming for In-Memory Database Lookups
    Cavus, Mustafa
    Shatnawi, Mohammed
    Sendag, Resit
    Uht, Augustus K.
    IEEE COMPUTER ARCHITECTURE LETTERS, 2020, 19 (01) : 5 - 8
  • [4] Enabling CXL Memory Expansion for In-Memory Database Management Systems
    Ahn, Minseon
    Lee, Donghun
    Kim, Jungmin
    Rebholz, Oliver
    Chang, Andrew
    Gim, Jongmin
    Jung, Jaemin
    Pham, Vincent
    Malladi, Krishna T.
    Ki, Yang Seok
    18TH INTERNATIONAL WORKSHOP ON DATA MANAGEMENT ON NEW HARDWARE, DAMON 2022, 2022,
  • [5] Elastic Use of Far Memory for In-Memory Database Management Systems
    Lee, Donghun
    Ahn, Minseon
    Kim, Jungmin
    Booss, Daniel
    Ritter, Daniel
    Rebholz, Oliver
    Willhalm, Thomas
    Desai, Suprasad Mutalik
    Singh, Navneet
    19TH INTERNATIONAL WORKSHOP ON DATA MANAGEMENT ON NEW HARDWARE, DAMON 2023, 2023, : 35 - 43
  • [6] Benchmarking in-memory database
    Cheqing Jin
    Yangxin Kong
    Qiangqiang Kang
    Weining Qian
    Aoying Zhou
    Frontiers of Computer Science, 2016, 10 : 1067 - 1081
  • [7] Benchmarking in-memory database
    Cheqing JIN
    Yangxin KONG
    Qiangqiang KANG
    Weining QIAN
    Aoying ZHOU
    Frontiers of Computer Science, 2016, 10 (06) : 1067 - 1081
  • [8] Benchmarking in-memory database
    Jin, Cheqing
    Kong, Yangxin
    Kang, Qiangqiang
    Qian, Weining
    Zhou, Aoying
    FRONTIERS OF COMPUTER SCIENCE, 2016, 10 (06) : 1067 - 1081
  • [9] In-Memory Database Query
    Giannopoulos, Iason
    Singh, Abhairaj
    Le Gallo, Manuel
    Jonnalagadda, Vara Prasad
    Hamdioui, Said
    Sebastian, Abu
    ADVANCED INTELLIGENT SYSTEMS, 2020, 2 (12)
  • [10] Index Checkpoints for Instant Recovery in In-Memory Database Systems
    Lee, Leon
    Xie, Siphrey
    Ma, Yunus
    Chen, Shimin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (08): : 1671 - 1683