Memory database and data processing method thereof

A memory data and data processing technology, applied in the database field, can solve problems such as increasing system cost, reducing performance, and increasing the logic complexity of memory database, so as to improve data security, improve reliability and security, reduce equipment cost and The effect of equipment maintenance complexity

Inactive Publication Date: 2010-12-01
ZTE CORP
View PDF3 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, these existing methods require one or more additional spare devices to carry the backup memory database, thus increasing the cost of the system
At the same time, it is necessary to add a synchronization interface to ensure that the data of two or more in-memory databases are consistent, which not only increases the logical complexity of the in-memory database, but also reduces its 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
  • Memory database and data processing method thereof
  • Memory database and data processing method thereof
  • Memory database and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0029] The key technology of the present invention is to separate the process of the memory database from the data of the memory database, apply for the storage space of the memory database in the form of a shared memory segment, and use the resident characteristics of the shared memory data segment to improve the disaster recovery capability of the full memory database. The resident feature is: after a process applies for a shared memory segment, if the shared memory segment is not explicitly deleted, even if the process exits, the shared memory segment still exists. Applying the memory of the in-memory database on the shared memory segment can ensure that when the in-memory database exits abnormally, the shared memory segment storing the in-memory database data still exists, so that the data will not be lost. When the in-memory ...

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 discloses a data processing method for a memory database. The method comprises the following steps of: separating a memory database process from memory data; establishing a shared memory segment, storing the memory data into the shared memory segment and pointing an address of a memory database data region to the address of the shared memory segment; and connecting the shared memory segment when the memory database process is started. The invention also discloses the memory database. In the method, by separating the memory database process from the memory data and applying data memory space of the memory database in the way of the shared memory segment, the data in the memory database is not affected because the data is stored in the shared memory segment under the condition that the memory database process is abnormal; and thus the database and the method have the advantages of improving the data safety of the memory database without data synchronization of a main memory database and a standby memory database and reducing the equipment cost and the equipment maintenance complexity.

Description

technical field [0001] The invention relates to database technology, in particular to an internal memory database and a data processing method thereof. Background technique [0002] An in-memory database is a database that operates on data in memory. Compared with disk, the data read and write speed of memory is several orders of magnitude higher. Saving data in memory can greatly improve the performance of applications than accessing it from disk. The in-memory database abandons the traditional way of disk data management, redesigns the architecture based on all data in memory, and makes corresponding improvements in data caching, fast algorithms, and parallel operations, so the data processing speed is faster than that of traditional databases. The data processing speed is much faster, generally more than 10 times. At the same time, since all active data of the memory database is stored in the memory, there is a risk of data loss. How to improve the data security of the...

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 Applications(China)
IPC IPC(8): G06F17/30G06F12/08G06F12/084
Inventor 李学领
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products