Check patentability & draft patents in minutes with Patsnap Eureka AI!

Log processing method and system

A processing method and log technology, applied in the field of data processing, can solve problems such as data confusion

Pending Publication Date: 2020-07-31
SHANGHAI DAMENG DATABASE
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After the RS node is expanded, each DS node still uniquely corresponds to a certain RS node, but the SS node can receive the REDO logs of multiple RS nodes at the same time, so that when the DS node belongs to a shared storage database cluster, and each DS node in the cluster When modifying the same data page, if these DS nodes correspond to different RS nodes, then SS writes in the order of receiving REDO logs one by one, which may cause data confusion

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
  • Log processing method and system
  • Log processing method and system
  • Log processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0018] In addition, in the embodiments of the present invention, words such as "optionally" or "exemplarily" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "optional" or "exemplary" in the embodiments of the present invention shall not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "optionally" or "exemplarily" is intended to present related concepts in a concrete manner. ...

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 log processing method and a log processing system. The log processing method comprises the following steps that: at least two database service nodes send respectively generated log records to matched log nodes; wherein the at least two database service nodes belong to a shared storage database cluster, and the log records are log records generated by modifying the same data page by means of the at least two database service nodes; and the log nodes process the received log records and send the processed log records to a storage node, and the storage node processes thereceived log records according to a preset rule. Therefore, after the log nodes of a distributed database system are expanded, under the condition that the database service nodes are the shared storage database cluster, the storage nodes can be effectively ensured to execute REDO logs in a correct sequence, so that the correctness of data is ensured.

Description

technical field [0001] Embodiments of the present invention relate to data processing technologies, and in particular to a log processing method and system. Background technique [0002] In a distributed database system architecture, such as figure 1 As shown, the database service (Database Server, DS) node receives and executes the database operation request of the client and generates a log, and the log (Redo log Server, RS) node receives the REDO log sent by the DS node, and then distributes it to multiple storage ( Storage Server, SS) node to realize multi-copy storage. When several nodes in the DS node belong to a shared storage database cluster, each DS node in the cluster may modify the same data page, and these nodes ensure that the REDO logs sent to the RS node are valid through the synchronization mechanism of the shared storage cluster. Therefore, the RS node only needs to distribute the logs to the corresponding SS nodes in turn according to the distribution of...

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): G06F16/18G06F16/182G06F16/17
CPCG06F16/1815G06F16/182G06F16/17Y02D10/00
Inventor 徐超国郭琰韩朱忠
Owner SHANGHAI DAMENG DATABASE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More