Unlock instant, AI-driven research and patent intelligence for your innovation.

Data processing method and system, electronic equipment and computer program product

A technology for data processing and management, applied in the database field, it can solve the problems of unreceived logs, disordered order, etc.

Active Publication Date: 2021-08-13
ALIBABA CLOUD COMPUTING LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When collecting the logs corresponding to the partition data from different servers, if the logs of each server are simply collected concurrently, the logs corresponding to the same partition data will not be received by the downstream subscriber / consumer device in chronological order. out of order

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
  • Data processing method and system, electronic equipment and computer program product
  • Data processing method and system, electronic equipment and computer program product
  • Data processing method and system, electronic equipment and computer program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] First of all, some nouns or terms that appear during the description of the embodiments of the present application are applicable to the following explanations:

[0032] HBase: HBase is an open source non-relational database storage system.

[0033] Wal: In the computer field, Write-ahead logging is a series of technologies used to provide atomicity and persistence in relational database systems. In a system using WAL, all modifications must be written to a log (log) file before committing.

[0034] Segment: log sequence, which is a continuous data update log, once it is closed, it becomes read-only. For ease of management, log files are divided into N segments, and each segment is called a Wal segment file (log sequence file).

[0035] LogEntry: A log that records an update operation of a data in a table, including the operation time and update content.

[0036] Region : partition, representing a continuous data space, a partition contains a start key (startkey) and...

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 embodiment of the invention discloses a data processing method and system, electronic equipment and a computer program product. The method comprises the following steps: when a log reading event aiming at target data is monitored, determining whether a permission of sending a first time log exists or not, wherein the permission is given in sequence according to a moving track of the target data moving between at least two servers; if yes, obtaining at least one log of the target data, the timestamp of which is greater than or equal to the first time; and sending the at least one log to a reader. The embodiment of the invention provides a permission sending mechanism, that is to say, the condition of the log corresponding to the target data is recorded in the log file of each server when the target data is transferred among a plurality of servers. When any server wants to send the log of the target data to a reading party (such as a data log subscribing party / consumer), the server needs to have authority, so that the log of the target data is sent to the reading party according to a time sequence without chaos.

Description

technical field [0001] The present application belongs to the technical field of databases, and in particular relates to a data processing method, system, electronic equipment and computer program product. Background technique [0002] After the data in the database changes, many scenarios require real-time subscription table data changes, such as synchronization to message queues, message communication between applications, and real-time computing scenarios. CDC (change data capture, change data capture) capability is a commonly used function of the database. The core idea of ​​CDC is to monitor and capture changes in the database (including insertion, update, deletion, etc. of data or data tables), record these changes in the order in which they occur, and write them into the message middleware for other services to perform Subscribe and consume. A file that records data, a data table, or a change in a partition of a data table can be called a log. [0003] Similar to H...

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 Applications(China)
IPC IPC(8): G06F16/22G06F16/2458G06F16/18G06F16/182
CPCG06F16/2282G06F16/2471G06F16/1815G06F16/182
Inventor 古青松孟庆义熊嘉男沈春辉杨成虎
Owner ALIBABA CLOUD COMPUTING LTD