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

Hardware database rollback method and device and software database rollback method and device

A database and hardware technology, applied in the computer field, can solve the problems that the software database system cannot be directly applied to the hardware database system, and achieve the effect of reducing costs and increasing security

Active Publication Date: 2020-05-19
YUSUR TECH CO LTD
View PDF12 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The method to ensure the atomicity of the software database system on the CPU is relatively mature, but the atomicity mechanism for the software database system cannot be directly applied to the hardware database system. Therefore, how to ensure the atomicity of the transactions running on the hardware database still needs explore further

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
  • Hardware database rollback method and device and software database rollback method and device
  • Hardware database rollback method and device and software database rollback method and device
  • Hardware database rollback method and device and software database rollback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0036] The software database system running on a general-purpose processor can support keywords such as begin, commit, and rollback from the level of SQL language, so as to support the execution of a transaction's start, commit, and rollback. The software database system can guarantee atomicity based on the REDO / UNDO mechanism of the log. That is, when the transaction process is successfully executed, the transaction can be permanently written to the hard disk; if the transaction encounters an error during execution and cannot continue to execute, then the software da...

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 hardware database rollback method and device and a software database rollback method and device, and the method comprises the steps: transmitting failure state information under the condition that a transaction is an updating task when the hardware database executes an error of the transaction; receiving table data obtained by executing log-based rollback operation according to the failure state information before the transaction is executed; and using the received table data before the transaction is executed to replace the table data after the transaction is executedby mistake in the hardware database. Through the scheme, the atomicity of the hardware database can be ensured.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a hardware database rollback method, a software database rollback method and a device. Background technique [0002] With the advent of the digital society, various application scenarios require more and more frequent access to massive data, and the demand for accelerated database processing is more abundant. People's demand for real-time data processing has greatly increased, so the demand for database acceleration is imminent. At the current stage, it has become a trend to use hardware such as FPGA (Field Programmable Gate Array) and ASIC (Application Specific Integrated Circuit) to accelerate the processing of the database. [0003] Existing methods of accelerating database performance cannot fundamentally solve the problems of low efficiency and excessive power consumption of general-purpose processors when solving domain-specific problems, so domain-specific hardware accel...

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): G06F11/14G06F9/46
CPCG06F9/466G06F11/1438
Inventor 鄢贵海周康康江树浩
Owner YUSUR TECH CO LTD
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