Supercharge Your Innovation With Domain-Expert AI Agents!

InfluxDB data backup method, InfluxDB data backup system and terminal equipment

A data backup and backup technology, applied in the database field, can solve problems such as background server resource consumption, resource snatching, business system stability, etc., to achieve the effect of reducing unreasonable resource occupation, reducing operation granularity, and reducing contention risks

Active Publication Date: 2020-09-01
华云数据有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is massive data transmission between the business system and InfluxDB, resulting in a huge load on the background server, which seriously consumes the resource consumption of the background server that configures the InfluxDB, and may have a huge impact on the stability of the business system
[0004] Currently, the smallest unit of data backup performed by InfluxDB is a single InfluxDB database, so the operation granularity of data backup is too large, and filter backup cannot be performed for a specific resource table
At the same time, during the backup process, there are no reasonable restrictions on the various resources or resource combinations required for read and write operations, which leads to the robbing of resources during the data backup process of InfluxDB, thus affecting the normal operation of other components of InfluxDB

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
  • InfluxDB data backup method, InfluxDB data backup system and terminal equipment
  • InfluxDB data backup method, InfluxDB data backup system and terminal equipment
  • InfluxDB data backup method, InfluxDB data backup system and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] This embodiment discloses a method for backing up InfluxDB data (hereinafter referred to as " backup method "or" square Law ") a specific embodiment, which can be passed figure 2 A disclosed InfluxDB data backup system is run.

[0094] In this embodiment, the data backed up by the backup method is time series data in InfluxDB200. The backup method disclosed in this embodiment can realize fine-grained backup by performing segmentation and breakpoint backup of the backup operations that need to be performed in InfluxDB 200 according to the sequence of time; The resource occupancy rate is reasonably limited to prevent unreasonable occupation of resources by external commands that trigger backup operations of different specifications, so as to reduce the risk of competition for various resources that support the operation of InfluxDB200 for time series data in InfluxBD200 during backup operations.

[0095] combine figure 1 and figure 2 As shown, the InfluxDB data...

Embodiment 2

[0127] Based on the same inventive concept contained in the InfluxDB data backup method disclosed in Embodiment 1, this embodiment also discloses an InfluxDB data backup system (hereinafter referred to as " backup system "or" system ") a specific implementation.

[0128] In this embodiment, the InfluxDB data backup system includes: a configuration module 10 , a resource control module 60 , a read operation module 30 , a write operation module 40 , a log module 20 , at least one storage device 60 and a cache module 50 .

[0129] The configuration module 10 receives external instructions and loads initialization configuration information. The resource control module 60 uses the initialization configuration information to pull resources from the resource library 100, judges the occupancy rate of resources in the resource library 100, and issues execution instructions to the read operation module 30 and the write operation module 40 in combination with the initialization config...

Embodiment 3

[0146] ginseng Figure 8 As shown, this embodiment discloses a modified embodiment of an InfluxDB data backup system. Compared with the second embodiment, the InfluxDB data backup system disclosed in this embodiment differs mainly in that, in this embodiment, the write operation module 40 in the backup system simultaneously mounts the storage device shown in the second embodiment 60 and auxiliary storage device 61. The storage device 60 saves the backup data 601 pulled from the InfluxDB200 based on the InfluxDB data backup system during the backup operation, and the auxiliary storage device 61 saves the backup data 601 pulled from the InfluxDB200 based on the InfluxDB data backup system during the backup operation. backup data 611. Meanwhile, the number of auxiliary storage devices 61 may be one or more.

[0147] The storage device 60 and the auxiliary storage device 61 can be logically independent of each other, so that the auxiliary storage device 61 can be used as a supp...

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 InfluxDB data backup method, an InfluxDB data backup device and terminal equipment. The InfluxDB data backup method comprises the following steps: receiving an external instruction and loading initialization configuration information; pulling resources from a resource library by using the initialization configuration information, judging the occupancy rate of the resources in the resource library, and issuing an execution instruction to a read operation module and a write operation module in combination with the initialization configuration information; enabling a read operation module to initiate a data backup request to the InfluxDB, and pull backup data corresponding to the backup request from the InfluxDB; and enabling a write operation module to write execution information formed by the backup data into a database in the form of a log file. In the present application, the resource occupancy rate in a resource library is judged, and a backup information table and a backup process table are combined; according to the method, the operation granularity of data backup is remarkably reduced, the risk of competing for various resources supporting InfluxDB operation in the backup operation process of the time series data in the InfluxBD is reduced, and unreasonable occupation of the resources is reduced.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to an InfluxDB data backup method, system and terminal equipment. Background technique [0002] InfluxDB is an open source time-series database developed using the GO language. It is especially suitable for processing and analyzing time-series data of resource monitoring data types. InfluxDB comes with various special functions such as standard deviation, random sampling data, and statistical data change ratio. etc., which makes the statistics and real-time analysis of time series data very convenient. More and more users use InfluxDB to store time-series data. Since different users have different needs for processing, backup and migration of time-series data, higher requirements are put forward for the backup operation of time-series data stored in InfluxDB. . [0003] Since InfluxDB is a time-series database with high consumption of memory and CPU resources, when business syst...

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): G06F11/14G06F9/50G06F16/18
CPCG06F11/1458G06F9/5027G06F16/1815
Inventor 周帅郭沛李红
Owner 华云数据有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More