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

Multi-version concurrency control and log clearing method, node, equipment and medium

A control method and multi-version technology, applied in the field of communication, can solve problems affecting the throughput performance of high-concurrency scenarios, achieve the effect of reducing repeated queries and improving high-throughput performance

Pending Publication Date: 2022-06-24
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This approach seriously affects the throughput performance in high concurrency scenarios

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
  • Multi-version concurrency control and log clearing method, node, equipment and medium
  • Multi-version concurrency control and log clearing method, node, equipment and medium
  • Multi-version concurrency control and log clearing method, node, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features of the embodiments may be arbitrarily combined with each other under the condition of no conflict.

[0037] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

[0038] In one embodiment, a multi-version concurrency control method is provided, such as figure 1 As shown, the multi-version concurrency control method provided by this embodiment mainly includes steps S11, S12, and S13.

[0039] S11. The computing node sends a ...

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 multi-version concurrency control and log clearing method, node, device and medium, the multi-version concurrency control method comprises the steps that a computing node sends a first statement to a database node, and the first statement carries a global active matter list; the database node obtains a data snapshot corresponding to the first statement and determines a return result based on the data snapshot and the global active transaction list, and the database node sends the return result to the computing node. According to the technical scheme of the embodiment, the global active transaction list is sent to the database node together, and judgment is carried out at the database node; therefore, multi-version concurrency control of the distributed database is realized, repeated query is reduced, and the high throughput performance of a multi-concurrency scene is improved.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a multi-version concurrency control and log clearing method, node, device and medium. Background technique [0002] With the development of society and the advancement of technology, traditional stand-alone databases are gradually being replaced by emerging distributed databases. The large amount of data and frequent interactions have brought many problems to the implementation of distributed databases. [0003] Multiversion concurrency control (MVCC) refers to processing the memory read by transactions when accessing the database concurrently, avoiding mutual blocking of reads and writes, and finally realizing that the content read by different transactions at the same time may be different. Function. [0004] However, at present, MVCC is mainly implemented on a single machine, and in a distributed database, multi-version concurrency control is implement...

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): G06F16/21G06F16/23G06F16/27
CPCG06F16/219G06F16/2329G06F16/27G06F16/23G06F16/21
Inventor 任济双徐文锋郭龙波刘志文付裕
Owner ZTE CORP
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