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

Distributed database transaction atomicity implementation method and device

An implementation method and database technology, which are applied in the field of distributed database transaction atomicity implementation methods and devices, can solve the problems of increased waiting time and low throughput, and achieve the effects of increasing concurrency, increasing throughput, and reducing waiting time

Pending Publication Date: 2021-03-26
BIGO TECH PTE LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because all transaction operations must pass through the centralized transaction manager, under the exclusive influence of the lock mechanism, the waiting time of other transactions that want to operate common resources is increased, resulting in low overall throughput of the system

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
  • Distributed database transaction atomicity implementation method and device
  • Distributed database transaction atomicity implementation method and device
  • Distributed database transaction atomicity implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solution and advantages of the present application clearer, specific embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only parts relevant to the present application are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The proc...

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 distributed database transaction atomicity implementation method and device. According to the technical scheme provided by the embodiment of the invention,the transaction object is created, the data version number and the data value of the data object pointed by the transaction object are determined, the transaction object and the data object are associated through the transaction identifier based on the comparison exchange operation, and the data operation is executed on the data object according to the write operation instruction. The data value obtained after executing data operation is assigned to an expected value of the data object, and data version number is updated. When the transaction object is successfully submitted and the data version number is not modified by other processes, the data value of the data object is modified into the expected value, the data version number is updated, and the writing operation on the data object iscompleted. The atomicity of distributed database transactions is realized, the concurrency of the transactions is effectively improved, the waiting time for executing the transactions is reduced, andthe throughput of the distributed NoSQL database transactions is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for implementing atomicity of distributed database transactions. Background technique [0002] NoSQL (Not Only SQL) database is a general term for database management systems that are different from traditional relational databases. NoSQL databases do not operate data through SQL, but operate data through a few specific interfaces such as Get / Set / Delete. For distributed NoSQL databases, data is distributed and stored in different physical nodes, and a database transaction often needs to operate different physical nodes. If there is no atomicity guarantee, after multiple operations of a database transaction are all executed, the operation on one physical node may succeed and the operation on another physical node may fail, resulting in the destruction of the integrity of business logic . [0003] Traditional distributed trans...

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/21G06F16/23G06F16/27G06F16/28
CPCG06F16/219G06F16/23G06F16/27G06F16/284
Inventor 吴祖洋简怀兵
Owner BIGO TECH PTE 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