Transaction processing method and device, computer equipment and storage medium

A transaction processing and transaction technology, applied in the database field, can solve problems such as poor transaction processing performance, many read requests, and few write requests, and achieve the effect of improving transaction processing performance and transaction throughput

Active Publication Date: 2020-08-28
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Decentralized transaction processing technology means that there is no certain node device in the database system to centrally coordinate transactions, but there are multiple node devices in the database system that can be used to act as transaction coordinators. Multiple coordinating node devices jointly process distributed transactions. When concurrently controlling transactions, they generally rely on the lock mechanism and timestamp sorting mechanism. However, due to the existence of "more read requests and fewer write requests" in the current mainstream Internet application scenarios " (referred to as the phenomenon of more reads and fewer writes), the above two mechanisms limit the improvement of the transaction throughput of the entire distributed database system in the scenario of more reads and fewer writes, so they have poor transaction processing performance

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 processing method and device, computer equipment and storage medium
  • Transaction processing method and device, computer equipment and storage medium
  • Transaction processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0059] In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.

[0060] In the present application, the term "at least one" means one or more, and the meaning of "multiple" means two or more, for example, a plurality of first positions means two or more first positions.

[0061] Before introducing the embodiments of this application, it is necessary to introduce some basic concepts in the field of cloud technology:

[0062] Cloud Technology: refers to a hosting technology that...

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 transaction processing method and device, computer equipment and a storage medium, and belongs to the technical field of databases. The method comprises the steps of responding to an execution request of a target transaction; obtaining a logic execution life cycle of the target transaction; after the logic is subjected to the life cycle verification, executing a target transaction; in a transaction execution or verification stage, according to a target data item in a reading set of the target transaction and a to-be-written data item in a writing set, adjusting the logic execution life cycle; after the life cycle verification of the adjusted logic is passed, submitting the target transaction; the mechanism for processing the transaction based on the logic execution life cycle does not need to depend on a lock mechanism, so that the method is more suitable for an internet application scene with more reading and less writing, the transaction throughput of the distributed database system can be improved, the capacity of the system can be expanded, and the transaction processing performance of the system can be improved.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a transaction processing method, device, computer equipment and storage medium. Background technique [0002] With the development of database technology, in order to adapt to business scenarios such as big data and cloud computing, distributed database systems have gradually become popular. When performing distributed transaction processing in a distributed database system, decentralized transaction processing technology can be adopted. Decentralized transaction processing technology means that there is no certain node device in the database system to centrally coordinate transactions, but there are multiple node devices in the database system that can be used to act as transaction coordinators. Multiple coordinating node devices jointly process distributed transactions. When controlling transactions concurrently, they generally rely on the lock mechanism and timest...

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/46G06F16/27
CPCG06F9/466G06F16/27
Inventor 李海翔卢卫杜小勇张孝赵展浩赵泓尧潘安群
Owner TENCENT TECH (SHENZHEN) CO LTD
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