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

Method and device for restoring memory database

A recovery method and database technology, applied in the Internet field, can solve problems such as data damage, loss, and impact on system performance, and achieve the effect of improving efficiency and reducing impact

Active Publication Date: 2017-05-10
ZHUHAI BAOQU TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since all operations are based on memory, in-memory databases are extremely prone to data corruption or loss due to system problems, especially data loss due to downtime
[0004] In the prior art, the in-memory database is usually recovered according to the database operation log, that is, the operation (such as adding, deleting, modifying, etc.) that causes the data in the memory database to change and the log records of the result, that is, the recovery is completely based on the records in the database operation log In-memory database, but in this in-memory database recovery scheme, the in-memory database recovery efficiency is low, and when the amount of log data is relatively large, it will cause a large system load and affect system performance

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 restoring memory database
  • Method and device for restoring memory database
  • Method and device for restoring memory database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to 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] Such as figure 1 As shown, it is a schematic flowchart of a method for restoring an in-memory database provided by an embodiment of the present invention, which may include the following steps:

[0035] Step 101, receiving an in-memory database recovery instruction.

[0036] In the embodiment of the present invention, the in-memory database restoration instruction may include an instruction to run a specified program, that is, when the instruction to run th...

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 embodiment of the invention discloses a memory database recovery method, which comprises the following steps that a memory database recovery instruction is received; whether a memory database real-time mirror image exists or not is judged; if the judging result shows that the memory database real-time mirror image exists, whether data which is not included in the memory database real-time mirror image is included in a database operation log or not is judged; if the data is included, the data which is not included in the memory database real-time mirror image but is included in the database operation log is loaded into the memory database real-time mirror image, in addition, the memory database real-time mirror image is loaded into a memory for recovering a memory database; if the data is not included, the memory database real-time mirror image is loaded into the memory for recovering the memory database. The embodiment of the invention also discloses memory database recovery equipment and a terminal. When the method, the equipment and the terminal provided by the embodiment of the invention are adopted, the memory database recovery efficiency can be improved, and the influence of the memory database recovery on the system performance is reduced.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for restoring a memory database. Background technique [0002] With the continuous development of the Internet, the requirements for data access speed are getting higher and higher, and memory databases are used more and more frequently because of their fast data access capabilities. [0003] An in-memory database refers to a database that stores data directly in memory. Compared with the disk, the data read and write speed of the memory is several orders of magnitude higher. Saving data in the memory can greatly improve the performance of the application than accessing it from the disk. However, since all operations are based on memory, in-memory databases are extremely prone to data damage or loss due to system problems, especially data loss due to downtime. [0004] In the prior art, the in-memory database is usually recovered according to the databa...

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): G06F11/14
Inventor 周奕刘桂峰姚辉
Owner ZHUHAI BAOQU TECH CO LTD