Method and device for data persistence processing and data base system

A technology for processing devices and databases, applied in the computer field, can solve problems such as low storage solutions, affecting normal transaction execution, lack of solutions, etc., and achieve the effect of improving efficiency

Active Publication Date: 2012-10-24
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the disadvantages of the traditional full checkpoint mechanism affecting normal transaction execution, a mechanism called "fuzzy checkpoint" was proposed
The purpose of the fuzzy checkpoint mechanism is to gradually flu

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for data persistence processing and data base system
  • Method and device for data persistence processing and data base system
  • Method and device for data persistence processing and data base system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] figure 1 It is a flowchart of a data persistence processing method provided by an embodiment of the present invention. Such as figure 1 As shown, the data persistence processing method provided in this embodiment includes:

[0031] 11: Every time a dirty page is generated in the database system memory, the page identifiers correspon...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for data persistence processing and a data base system. The method for data persistence processing includes: adding page identification respectively corresponding to generated dirty pages into a checking point queue every time an internal memory of the data base system generates dirty pages; determining an activity set and a current set in the checking point queue, and sequentially unloading the dirty pages corresponding to identification of each page and included by the activity set into a disc at a preset checking point occurring occasion; checking the page identification respectively corresponding to the plurality of dirty pages which are going to be uploaded into the disc in the point queue to form the activity set; enabling an inserted set added into the checking point queue to serve as the current set; and determining a next activity set in the checking point queue if unloading of relative dirty pages of the activity set is finished, and sequentially unloading the dirty pages corresponding to the identification of each page included by the next activity set into the disc. By means of the method and the device for data persistence processing and the data base system, the efficiency in dirty pages unloading is improved on the basis that dirty page unloading has small influence on normal business operation.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data persistence processing method, device and database system. Background technique [0002] Compared with disk, memory can provide higher throughput and fast response. Database systems usually store certain data such as data that is more cumbersome to read and write in memory first, so as to improve the speed of data reading and writing and realize high-speed caching. Database systems usually use pages as the unit of cache. When a process modifies the data in the cache, the page is marked as a dirty page (Dirty Page) by the kernel, and the database system will save the data of the dirty page at an appropriate time. Write to disk to keep the data in the cache consistent with the data on disk. [0003] The checkpoint mechanism is a mechanism that enables the database to recover after a failure. The traditional checkpoint mechanism, also known as the full checkpoint mechanis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F12/00
CPCG06F17/30G06F12/00G06F16/22G06F11/1451G06F11/1461G06F2201/80G06F2201/84
Inventor 威诺斯彭勇飞杨上德
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products