Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing transaction committing mechanism in online transaction of graphic database

A technology for online transaction and transaction submission, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., and can solve problems such as conflicts

Active Publication Date: 2013-01-02
BEIJING 21VIANET DATA CENT
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that when multiple users try to change the same block of data at the same time, there is a conflict problem

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 for realizing transaction committing mechanism in online transaction of graphic database
  • Method for realizing transaction committing mechanism in online transaction of graphic database
  • Method for realizing transaction committing mechanism in online transaction of graphic database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The present invention proposes a method for realizing the transaction submission mechanism in the online transaction of the graph database, which will be described in detail below in conjunction with the accompanying drawings.

[0051] Graph Database Overview

[0052] The architecture of the graph database of the present invention can be divided into three layers from top to bottom. like figure 1 As shown, the top layer is the organization and realization of various conceptual objects in the graphic data. The middle layer is an abstract data physical storage interface layer, which abstracts the physically stored data into several data sets DataSet. The bottom layer is the physical storage implementation layer, which is implemented by the program with the help of existing storage engines, such as traditional relational databases, XML files, and so on.

[0053] DataSet (data set)

[0054] DataSet is the logical storage unit of data in the graph database. The data in t...

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 a method for realizing a transaction committing mechanism in an online transaction of a graphic database. The method comprises the following steps of: (1) calling an API (Application Program Interface) of graphic data by using a client program and transmitting a transaction number to be committed; (2) checking whether the transaction exists; (3) checking whether the transaction is overdue; (4) checking whether the transaction is committed; (5) checking whether the transaction rolls back; (6) checking whether the transaction is locked; (7) marking a transaction committing state; (8) deleting a data record locked by the transaction; (9) updating a dirty data state; and (10) deleting the transaction record. The invention provides a simple and reliable data transaction committing mechanism, the committing operation has an indivisible 'atomic operation' characteristic, and a third state does not occur between a committing state and a non-committing state. The data operation of the method has optional breakpoint continuity, and data updating can be continually executed by restarting a system after sudden execution interruption from the start of data updating to any completion time point until updating is completed after the transaction committing operation is called.

Description

technical field [0001] The invention relates to a method for realizing a transaction submission mechanism in a graph database online transaction. Background technique [0002] Typically in database systems, a transaction is a discrete unit of work. For example, a database transaction could be a write operation that modifies a user's account balance or inventory item. OLTP collects and processes transaction-linked data and changes in the status of shared databases and other files in real time. In online transaction processing, transactions are executed immediately. Executing transactions in a single-user, single-database environment is simple because there are no conflict issues or the need for synchronization between databases. In a distributed environment, write operations often occur in parallel on multiple database servers. Such concurrent transaction processing requires a "rollback" mechanism to ensure the integrity of the database in the event of a system failure du...

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): G06F17/30
Inventor 陈升于洪方井卫军蒋建平陈晞刘健
Owner BEIJING 21VIANET DATA CENT