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

Method and device for realizing transaction of data storage system

A technology of a data storage system and an implementation method, which is applied to the implementation field of data storage system transactions, and can solve problems such as reducing efficiency, affecting the efficiency of data storage system, and increasing time.

Inactive Publication Date: 2011-04-20
BEIJING WATCH DATA SYST
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The disadvantages of the prior art are obvious, and mainly include the following aspects: firstly, this process requires more memory read and write operations, which consumes more time, thereby affecting the efficiency of the data storage system; this prior art The solution is to isolate the data space and backup space of the data storage system. The space here refers to files, storage pages, storage sectors, other storage levels with certain storage functions, or other storage units with certain structures.
Since the data space and the backup space are partitioned and isolated, this partition method will inevitably lead to repeated replication of data during the transaction process, increasing the amount of read and write operations, and reducing efficiency
Secondly, since the storage space of the data storage system is divided into data space and backup space, the two are in a trade-off relationship, and the capacity is mutually restricted. This restriction may limit the transaction capability of the data storage 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
  • Method and device for realizing transaction of data storage system
  • Method and device for realizing transaction of data storage system
  • Method and device for realizing transaction of data storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention provide a method and device for implementing transactions in a database storage system, which can effectively reduce memory read and write operations, improve space utilization, and improve transaction processing efficiency. The method for implementing transactions provided by the embodiments of the present invention sets a status flag for each storage location in the storage space to identify the status information of the data in the storage location, and during the transaction operation, the storage of the operation will be The status flag of the location is changed to a temporary state, and after the operation ends, the state flag of the storage location where the operation is performed is changed to the corresponding normal state according to the way the operation ends. Therefore, in the process of data operation, the data that needs to be operated is only written once. There is no additional data backup mechanism and data recover...

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 relates to the field of data management, and discloses a method and a device for realizing the transaction of a data storage system, which can reduce the reading and writing operations of a memory, increase the space utilization rate of the memory and improve the transaction processing efficiency. The method provided by the invention comprises the following steps of: at the transaction begin of the data storage system, determining the storage position of data corresponding to a transaction operation, executing the transaction operation, and simultaneously modifying a state identifier corresponding to the storage position from a normal state to a temporary state; and at the end of the transaction, modifying the state identifier corresponding to the storage position from the temporary state to the normal state, wherein the storage position is in a memory space and used for storing data; and the state identifier is used for identifying the state information of the data at the storage position.

Description

technical field [0001] The invention relates to the field of data management, in particular to a method and device for realizing transaction of a data storage system. Background technique [0002] A transaction is a basic program execution unit that accesses and possibly updates various data items in a data storage system. Transaction processing technology mainly includes data recovery technology and concurrency control technology, and transaction is the basic unit of recovery and concurrency. [0003] A transaction consists of a set of operation sequences in the application program, starting with the transaction start (TRANSACTION BEGIN) operation, and ending with the commit (COMMIT) operation or the rollback (ROLLBACK) operation. The COMMIT operation represents the successful end (commit) of transaction execution. At this time, all changes made by the transaction to the data storage system will be delivered and implemented (written into memory), and the data storage syste...

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): G06F17/30
Inventor 郭雁斌
Owner BEIJING WATCH DATA SYST
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