Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Check point processing method and device, electronic equipment and storage medium

A processing method and checkpoint technology, applied in the field of data processing, can solve problems such as difficulty in database version upgrades

Active Publication Date: 2021-05-11
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present application provides a checkpoint processing method and device, electronic equipment, and a storage medium, to at least solve the problem of concurrently adding dirty pages in the related art due to incompatibility with checkpoint records of existing versions of redo logs The problem of difficult version upgrade

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
  • Check point processing method and device, electronic equipment and storage medium
  • Check point processing method and device, electronic equipment and storage medium
  • Check point processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0036] It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under appropriate circ...

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 present application provides a checkpoint processing method and device, an electronic device, and a storage medium, wherein the method includes: determining the minimum value of the dirty page flags of the target dirty page included in the target dirty page linked list as the target checkpoint The first reference value of , the target dirty page is the dirty page of the target database, and the dirty page mark is the log sequence number of the redo log updated for the first time by the dirty page; the difference between the first reference value and the first predetermined value , is determined as the second reference value of the target checkpoint; the target mark is found from the dirty page mark of at least one historical dirty page, and the log sequence number of the target checkpoint is obtained, and each historical dirty page in at least one historical dirty page is For dirty pages in the target database that have been flushed to disk, the target mark is less than or equal to the second reference value. This application solves the problem of difficulty in upgrading the database version due to incompatibility with the checkpoint records of existing redo logs in the method of concurrently adding dirty pages in the related art.

Description

technical field [0001] The present application relates to the field of data processing, and in particular to a method and device for processing checkpoints, electronic equipment and storage media. Background technique [0002] At present, after the database incremental log (redo log, redo log) is lock-free optimized, the incremental log copies data from the memory area of ​​the user thread to the log public buffer area (log buffer), and can be executed concurrently to add dirty pages to dirty pages In the linked list (flush_list), there can be one or more dirty page linked lists (flush_list). When performing dirty cleaning, the dirty pages in the dirty page linked list can be flushed to the disk in order of oldest_modification from small to large, where oldest_modification is used to represent the LSN (Log Sequence Number, log sequence number). [0003] Since adding dirty pages to the dirty page list is performed concurrently, during a dirty page cleaning process, the LSNs...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/23G06F16/22G06F16/21
CPCG06F16/219G06F16/2255G06F16/2358
Inventor 邱海港
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products