Storage method of real-time database

A database and data block technology, which is applied in the storage field of real-time databases, can solve problems such as low read and write concurrency, cannot support multi-write concurrent operations, and operations are too low-level, and achieve the effect of improving concurrent access capabilities

Active Publication Date: 2015-04-08
QINGDAO HISENSE TRANS TECH
View PDF13 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method cannot take advantage of the file system characteristics of the current operating system, and the operation is too low-level to deal with problems such as sector failures, so it can only be applied to embedded systems
[0015] In addition, modern databases in the prior art generally use locks or multi-version technology to achieve concurrent reading and writing. However, the degree of read and write concurrency using locks or multi-version technology is not very high.
In the prior art, the application number is C

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
  • Storage method of real-time database
  • Storage method of real-time database
  • Storage method of real-time database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0058] This embodiment provides a storage method for a real-time database.

[0059] figure 1 It is a schematic flowchart of the storage method of the real-time database in the embodiment of the present invention. figure 2 It is an overall schematic diagram of the storage method of the real-time database in the embodiment of the present invention. For such figure 1 and figure 2 As shown, the storage method of the real-time database in the embodiment of the present invention mainly includes the following steps:

[0060] Step 11, use a lossy compression algorithm to filter the historical data that needs to be written into the real-time database.

[0061] In the technical solution of the present invention, when it is necessary to write historical dat...

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 storage method of a real-time database. The storage method comprises the following steps: filtering historical data by a lossy compression algorithm; when the historical data is subjected to an exception examination of lossy compression, writing the historical data into a current memory table and an operation log buffer zone; when the current memory table is full, compressing and writing the historical data in the current memory table into a minute-level historical data file, and applying for a new memory table as the current memory table; combining a plurality of minute-level historical data files into a day-level historical data file by a combination thread at preset time of each day; combining a plurality of day-level historical data files into a month-level historical data file at the preset time of each month; combining a plurality of month-level historical data files into a year-level historical data file in the preset time of each year. The storage method supports multi-core optimization and solid state disk optimization, and data writing-in full-sequence operation is guaranteed since a file block structure design is adopted. The storage method has higher historical data reading and writing speed, and requirements on historical data processing by an integrated supervision and control system can be met.

Description

technical field [0001] The invention relates to a real-time database technology, in particular to a storage method of a real-time database. Background technique [0002] Currently, relational databases are generally used in many fields to store historical data. However, in many application scenarios with high-frequency sampling and massive data (for example, comprehensive monitoring of rail transit), relational databases have encountered bottlenecks in read and write performance and storage capacity, and it is difficult to meet the needs of comprehensive monitoring systems for historical data processing. . Taking the field of integrated rail transit monitoring as an example, operations such as report statistics, accident inversion, and training simulation all need to process massive amounts of historical operation data. Therefore, integrated monitoring systems have higher and higher requirements for historical data processing, and relational databases It is becoming more a...

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/30G06F3/06
CPCG06F3/067G06F16/284
Inventor 廖常斌万思军刘东海刘见宋艳荣
Owner QINGDAO HISENSE TRANS TECH
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