Access trend prediction based time series database cache management method

A technology of time series and trend prediction, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem that the caching method will not achieve good results, so as to increase the complexity of the application and improve the efficiency of data query , the effect of fast calculation speed

Active Publication Date: 2016-03-23
NR ELECTRIC CO LTD +1
View PDF3 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2 Data access often has a continuous trend, such as querying the data of a certain measuring point for a period of time each time, and continuous access
[0008] However, this method is based on the data that has been used or retrieved at present, but the data access of the time series database often has obvious trends. For exa

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
  • Access trend prediction based time series database cache management method
  • Access trend prediction based time series database cache management method
  • Access trend prediction based time series database cache management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] see figure 1 , figure 2 and image 3 , the time series database cache management method based on access trend prediction, specifically includes the following steps:

[0052] (1) The system cache is divided into two parts: the regular cache and the predictive cache. The regular cache is managed by the conventional cache management algorithm. Data loading is carried out for forecasting of client data access trends.

[0053] Specifically, in addition to the regular data cache, a predictive cache is added. The size of the predictive cache can be set to one-third to one-half of the regular cache, and its structure is consistent with the regular data cache. The read and write of the two caches Unification is handled by the cache management module, which remains transparent to other modules of the time series database. The prediction cache is used to load the possible future access data predicted by the system.

[0054] (2) The server side calculates the characteristics ...

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 an access trend prediction based time series database cache management method. The method comprises: on the basis of providing a data access cache by a conventional database, establishing a time series database dual-cache mechanism; and in addition to a conventional cache, adding a prediction data cache for predicting pre-loading of access data to load the access data into a memory before data access so as to increase the query speed. The method is used for effectively managing the time series database data cache to improve the efficiency of data cache hitting and system data query. A system analyzes recent access data and predicts a data access trend, and the prediction data is loaded to increase the data access speed. The method is suitable for time series database data cache management and is used for improving the efficiency of time series database data query.

Description

technical field [0001] The invention relates to the field of time series databases, in particular to a time series database data cache management method based on access trend prediction. Background technique [0002] The time-series database is the basis of the Wide Area Measurement System (WAMS), and it can also be used in multiple systems such as substation monitoring, dispatching, DC, and stability control to meet its needs for storing massive and high-frequency data. In practical applications, time series databases store millisecond-level data, and the frequency of data access is high, and the amount of data accessed is large. To ensure access efficiency, an access cache is set in the database system to improve access efficiency. [0003] For data retrieval of time series database, it has the following characteristics: [0004] 1 Burst access to a large amount of data in a short period of time, and query a large amount of data at a certain measuring point in a certain p...

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/30
CPCG06F16/24552G06F16/2474
Inventor 杨凡钱锋张俊
Owner NR ELECTRIC CO LTD
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