Data page access method, storage engine and computer readable storage medium
An access method and data page technology, applied in the field of communication, to achieve the effect of increasing concurrency and improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0020] Such as figure 1 As shown, the first embodiment of the present invention provides a data page access method, the method comprising:
[0021] Step S11: storing the mirrored data pages of the buffer pool on the NVM.
[0022] In this embodiment, the database storage engine is reconstructed to adopt a hierarchical storage structure, and each level uses a different storage medium.
[0023] Please refer to figure 2 As shown, the L0 layer uses NVM, and the L1 layer can use HDD or SSD (Solid State Drives, solid state drive); the L0 layer and the buffer pool (Buffer Pool) both include k data pages, namely Page1-Pagek; the L1 layer includes n Data pages, that is, Page1-Page n, where n>k. Store the mirrored data pages of the buffer pool on NVM, remove the redo log buffer (Redo Log Buffer) in the existing relational database, and increase concurrency.
[0024] When the database is started for the first time, the NVM of the L0 layer is formatted according to the size of 16Kb, c...
no. 2 example
[0052] Such as Figure 5 As shown, the second embodiment of the present invention provides a database storage engine based on NVM, and the storage engine includes: a memory 21, a processor 22, and a database stored on the memory 21 and operable on the processor 22. A data page access program, when the data page access program is executed by the processor 22, it is used to implement the steps of the data page access method described below:
[0053] Storing mirrored data pages of the buffer pool on the non-volatile memory NVM;
[0054] According to the write access of the data page, the data page in the buffer pool is modified, and the page number, undo log information and modification log information of the data page are stored in a preset dynamic array.
[0055] When the data page access program is executed by the processor 22, it is also used to implement the following steps of the data page access method:
[0056] According to the read-only access of the data page, determi...
no. 3 example
[0077] The third embodiment of the present invention provides a computer-readable storage medium, where a data page access program is stored on the computer-readable storage medium, and when the data page access program is executed by a processor, it is used to implement the method described in the first embodiment. The steps of the data page access method.
[0078] It should be noted that the computer-readable storage medium in this embodiment belongs to the same idea as the method in the first embodiment, and its specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are all described in this embodiment. Correspondingly applicable, no more details here.
[0079] The computer-readable storage medium in the embodiment of the present invention removes the redo log buffer in the existing relational database by storing the mirrored data pages of the buffer pool on the NVM, and the redo log recording process is als...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com