Research and Implementation of Data Loading and Synchronization in Memory Database
Meijing Wu, Xiaolin Zhao, Xinyu Hou, Ji Zhang, Ran Liu · 2019 International Conference on Sensing, Diagnostics, Prognostics, and Control (SDPC) · 2019
This paper focuses on the data loading and synchronization strategy of memory database, and proposes a data loading and synchronization strategy for GBase8m, which is a memory database prototype system. The ping-pong checkpoint strategy is used when memory data are synchronized to the disk; The disk data are loaded into memory which can be divided into boot data loading and recovery data loading, in which boot data loading uses the Memory-Mapped Files provided by operating system, and the method of combining log with checkpoint technology is used for recovery loading. The test proves that the data loading and synchronization strategy of GBase8m is feasible, with some advantages in performance.