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

Suspended transaction processing method and distributed database system

A transaction processing and database technology, applied in the field of distributed transactions, can solve the problems of reducing the efficiency of distributed transaction processing and long time of distributed transaction processing.

Pending Publication Date: 2021-04-02
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, in the above-mentioned related technologies, when recording the state of the distributed transaction and the data storage nodes used to process the distributed transaction in the device cluster, it will bring

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
  • Suspended transaction processing method and distributed database system
  • Suspended transaction processing method and distributed database system
  • Suspended transaction processing method and distributed database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art based on the present application belong to the protection scope of the present invention.

[0072] In related technologies, the method for processing suspended transactions includes: after all branch transactions of the distributed transaction are successfully Prepared, recording the state of the distributed transaction and the data storage node used to process the distributed transaction in the preset device cluster; Furthermore, when the preset suspended transaction processing node scans the suspended transaction recorded in each data storage node,...

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 provides a suspended transaction processing method and a distributed database system, and relates to the technical field of distributed transactions. The method can beapplied to suspended transaction processing nodes in a distributed database system, and the distributed database system further comprises a plurality of data storage nodes. The method comprises the following steps: detecting whether suspension affairs are recorded in each data storage node or not; when it is detected that a suspended transaction is recorded in any data storage node, traversing whether a target transaction identifier of a distributed transaction to which the suspended transaction belongs is recorded in each data storage node or not; if the target transaction identifier is recorded in the at least one data storage node, submitting the suspended transaction; otherwise, rolling back the suspension transaction. Compared with the prior art, by applying the scheme provided by theembodiment of the invention, the submission time of the distributed transaction can be reduced, and the processing efficiency of the distributed transaction is improved.

Description

technical field [0001] The invention relates to the technical field of distributed transactions, in particular to a suspension transaction processing method and a distributed database system. Background technique [0002] For the distributed database system, after receiving the distributed transaction, the proxy server in the system parses the distributed transaction into multiple branch transactions, and sends each branch transaction to each data storage node for processing. Wherein, when a plurality of branch transactions included in a distributed transaction are all processed, it can be considered that the distributed transaction has been processed. [0003] At present, distributed transactions are usually processed in a two-phase manner, that is, the processing process of each branch transaction of a distributed transaction is divided into a Prepare (preparation) phase and a Commit (commit) phase, wherein, after each branch transaction Prepare succeeds, Perform a Commit...

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): G06F9/46G06F16/21G06F16/27
CPCG06F9/466G06F16/21G06F16/27
Inventor 王天宇
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
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