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

Multi-version database concurrency control system based on fragment-free collection

A control system, multi-version technology, applied in the field of system optimization, can solve problems such as disk fragmentation, stability degradation, system processing capacity impact, etc., to achieve the effect of ensuring access performance, no system performance jitter, and simple recovery

Active Publication Date: 2020-11-10
SHENZHEN SEQUOIADB DATABASE SOFTWARE CO
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practice, these recycling processes will bring additional CPU overhead, disk read and write operations, and memory operations. During the triggering process of recycling operations, the system processing capacity will be greatly affected, and the stability will be greatly reduced.
After recycling, it will also cause disk fragmentation, which reduces the efficiency of disk access

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 database concurrency control system based on fragment-free collection
  • Multi-version database concurrency control system based on fragment-free collection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with 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 without creative efforts fall within the protection scope of the present invention.

[0034] Compared with the prior art, the present invention uses a fixed-length data segment to store multi-version data records under a chain structure, and retains the last updated data version in this segment in the metadata of the data segment. When reclaiming old data, judge whether the multi-version records of the segment are all older than the active transaction scope of the current database system according to the metadata in the data segment to determine whethe...

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 database multi-version concurrency control system based on fragment-free recovery, which includes a transaction information recording module, a transaction data management module, a data visibility optimization module, a memory optimization speed-up module and a multi-version recovery module. The present invention utilizes the file group of fixed-length file or the way of fixed-length logical segment to design the rollback segment, provides a set of MVCC implementation mechanism and the method of rollback segment recycling and cleaning, and improves the access response time in combination with memory access optimization, thereby avoiding It avoids significant system overhead caused by rollback segment recycling, and avoids disk fragmentation; at the same time, the configurable rollback segment can ensure that there is no limit to the number of concurrently running transactions and the length of the transaction if there are enough disks; In addition, the combined design of memory and disk can meet the requirements of avoiding or reducing disk access in most cases, so as to ensure the access performance of the system.

Description

technical field [0001] The invention relates to the technical field of system optimization, in particular to a database multi-version concurrency control system based on fragment-free recovery. Background technique [0002] When traditional databases support concurrent transaction access, they usually provide different data access isolation levels to meet the application's use of data. At present, there are two main implementation methods: transaction lock-based mechanism and multi-version concurrency control mechanism. The biggest disadvantage of the former is that there will be mutual exclusion of read and write, which will reduce the concurrency of the system. So the latter has gradually become the current mainstream implementation. The principle is to add a new data version to the back of the data structure when data is changed or deleted, and to retain the original version of the data version in the system. At the same time, each time data is generated, an incrementa...

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 Patents(China)
IPC IPC(8): G06F16/23G06F16/21G06F9/46
CPCG06F9/466G06F16/21G06F16/2308
Inventor 陈元熹许建辉王涛
Owner SHENZHEN SEQUOIADB DATABASE SOFTWARE CO
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