• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (02): 191-198.

Previous Articles     Next Articles

Optimization of sort join algorithms on DRAM/NVM-based hybrid memory architecture

YANG Liu,JIN Pei-quan   

  1. (School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,China)
  • Received:2020-05-15 Revised:2020-07-17 Accepted:2021-02-25 Online:2021-02-25 Published:2021-02-23
  • Supported by:
    国家自然科学基金(61672479,62072419)

Abstract: With the rapid development of computer technology, the application scale of data is also expanding, and all walks of life have higher and higher requirements for data access speed. To meet this demand, the idea of in-memory database has been proposed, whereas the traditional mainstream main memory DRAM are integrated and extended on a large scale due to the density and energy consumption constraints. At the same time, Non-Volatile Memory (NVM) makes up for DRAM with its high performance, high density, and low power consumption. A hybrid memory system combining DRAM and NVM can deliver better performance and greater scalability, while also being more cost-effective. Under this new hybrid memory architecture, traditional algorithms face huge challenges because they have to be optimized to meet the new architecture. Therefore, this paper starts from the sort join algorithm commonly used in database system, and explores its optimization on the hybrid memory system. We propose a new sort join algorithm with key-value separation, and three different C-Join algorithms based on it. Experimental results show that our scheme achieves the expected goal, which not only reduces the usage of DRAM but also improves the time performance of the algorithm.

Key words: non-volatile memory, hybrid memory architecture, sort join algorithm