Transaction committing method and device based on distributed type real-time database system

A distributed real-time, transaction submission technology, applied in the field of transaction submission methods and devices based on distributed real-time database systems, can solve problems such as reducing real-time performance, database transaction blocking, and reducing database transaction real-time performance.

Active Publication Date: 2013-11-20
蓝卓数字科技有限公司
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When the database transaction commit processing is implemented by the two-phase commit method, when the sub-transaction currently processed by the participant is in the pre-commit state and the coordinator fails, all locks and all data resources associated with the sub-transaction currently processed by the participant will not Release, so that other database transactions cannot use unreleased data resources, resulting in blocking of other database transactions, reducing the real-time performance of other transaction submissions
[0006] It can be seen from the above that when the two-phase commit method is applied to a distributed real-time database system, during any transaction commit process, when the sub-transaction currently processed by the participant is in the pre-commit state and the coordinator fails, it will cause other database transactions to fail. The probability of blocking reaches 100%, which reduces the real-time performance of other database transaction submissions

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
  • Transaction committing method and device based on distributed type real-time database system
  • Transaction committing method and device based on distributed type real-time database system
  • Transaction committing method and device based on distributed type real-time database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0048]This application provides a transaction submission method based on a distributed real-time database system, in which the coordinator takes the first participant who sends the message of completing the data operation as the candidate coordinator after receiving the message of completing the data operation of all participants , and send a preparation message and an appointment message to the candidate coordinator; the coordinator sends a preparation message to ordinary participan...

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 provides a transaction committing method and device based on a distributed type real-time database system. The method comprises the steps as follows: a coordinator takes a participant who sends and complete information of data operation as a candidate coordinator and sends preparation information and appointment information to the candidate coordinator; the coordinator sends the preparation information to an ordinary participant and the coordinator; the coordinator receives obtained processing feedback information of the candidate coordinator, the ordinary participant and the coordinator after the candidate coordinator, the ordinary participant and the coordinator receive the preparation information and process transactions of the candidate coordinator, the ordinary participant and the coordinator, and sends final decision information to the candidate coordinator, the ordinary participant and the coordinator according to the processing feedback information; and under the condition that the candidate coordinator, the ordinary participant and the coordinator all don't receive the final decision information within a preset time, the candidate coordinator is changed into a coordinator automatically, and the step of executing the reception of the information that all participants complete data operation is returned to, so that the blocking probability is reduced, and the timeliness of transaction committing is improved.

Description

technical field [0001] This application relates to the field of database transaction submission, in particular to a transaction submission method and device based on a distributed real-time database system. Background technique [0002] A distributed database system is a database that distributes a group of related data in a computer network and is managed uniformly by a distributed database management system. [0003] With the popularity of real-time applications, an execution deadline is introduced on the basis of distributed database systems, and a distributed real-time database system is obtained. [0004] One method used to commit database transactions is the two-phase commit method. In the two-phase commit method, after the participants receive the prepare message sent by the coordinator, the participants send a commit message or an abort message to the coordinator to inform the coordinator whether they can submit their respective sub-transactions. After the particip...

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): G06F9/46G06F17/30
Inventor 李德文陈挺姚杰李龙
Owner 蓝卓数字科技有限公司
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