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

Time series data storage method and device, server and storage medium

A time-series data and database technology, applied in the database field, can solve the problems of heavy workload and waste of resources in horizontal expansion, and achieve the effect of avoiding hot spots and simple horizontal expansion process

Pending Publication Date: 2020-05-08
ENVISION DIGITAL INT PTE LTD +1
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the traditional time-series database only considers the data storage and compression strategy. When the data increases, it is necessary to create a new database and migrate the relevant historical data to the new database. The workload of horizontal expansion is large and wastes resources.

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
  • Time series data storage method and device, server and storage medium
  • Time series data storage method and device, server and storage medium
  • Time series data storage method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0029] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0030] In related technologies, time-series database software OpenTSDB, InfluxDB, etc. are usually used to store time-series data. Different storage strategies are set for data with different storage time limits. Each storage strategy includes multiple storage areas for storing data within a certain time range. , each storage area contains a...

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 time series data storage method and a device, a server and a storage medium, and belongs to the field of databases. The method comprises the steps of obtaining to-be-stored data collected by target equipment; determining an equipment logic primary key corresponding to the target equipment according to the equipment identifier of the target equipment andthe data type of the to-be-stored data; determining a target logic group and a target database according to the device logic primary key and a timestamp corresponding to the to-be-stored data, the target database belonging to the target logic group, and the target logic group including a plurality of databases; and writing the to-be-stored data into a target array in a target database under the target logic group. In the method of the invention, when the data are increased, the horizontal capacity expansion can be completed by only adding one or more logic groups, the historical data do not need to be migrated, the horizontal capacity expansion process is simple, and the data are distributed and stored in the plurality of databases under the target logic group, so that the hotspot problemcaused by centralized operation for a single database is avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of databases, and in particular to a time series data storage method, device, server and storage medium. Background technique [0002] Time-series data refers to the data sequence recorded in chronological order by the same indicator, and a time-series database is a specialized database for storing and managing time-series data. [0003] In related technologies, time-series databases adopt different storage strategies for different data types. Usually, each storage strategy contains multiple storage areas for storing data in different time ranges, and regularly compresses data files through log files in the storage areas. , when reading data, the system finds the hit area according to the instruction, decompresses the relevant data files, merges the required data in sequence, and returns the final result. [0004] However, the traditional time-series database only considers the data storag...

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): G06F16/22G06F16/2458
CPCG06F16/2474G06F16/22G06F16/2477
Inventor 吴德云王溧宜
Owner ENVISION DIGITAL INT PTE 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