Load balancing method and device of database system based on high-performance cluster distribution

A load balancing and database technology, applied in the field of cluster servers, can solve problems such as not considering timeliness, large database load, not considering database operation relevance and timeliness, etc., to achieve the effect of preventing excessive database load and balancing database load

Inactive Publication Date: 2019-01-18
广东省信息工程有限公司
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the current performance data collection system, these operations involving the database are not well planned in terms of execution timing. The storage of performance data is done after the performance data collection is completed, and periodic report generation with larger granularity and expired data are stored. Deletion is scheduled through the timer. Since the relevance and timeliness of these database operations are not considered, this scheduling method itself may be invalid. For example, when a 30-minute report needs to be generated, the data of the first 30 minutes is not completely saved. Complete, affecting the correctness of the generated data; at the same time, such scheduling may cause different database operations to overlap at the same time, resulting in excessive database load
In a relational dat...

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
  • Load balancing method and device of database system based on high-performance cluster distribution
  • Load balancing method and device of database system based on high-performance cluster distribution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] like figure 1 As shown, an embodiment of the present invention provides a load balancing method based on a high-performance cluster distributed database system, which is suitable for execution in a computing device, and at least includes the following steps:

[0039] S101. Prioritize database operations in the database system; wherein, the database operations include data storage operations, table file generation operations, and expired data processing ...

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 load balancing method and a device of a database system based on a high-performance cluster distribution. The method comprises: sorting priority of database operations in a database system; allocating corresponding operation time for database operations of different priorities; creating a table file to generate a task queue and an expired data processing task queue; in the data acquisition cycle, executing the data storage operation, that is, splitting a plurality of sub-table files according to the number of data nodes and the size of the table files, and storing thesub-table files on a plurality of data nodes; executing the table file generation operation in the table file generation cycle; at that expire data processing cycle, performing the expire data processing operation. The invention adjusts the distribution of the table on the database node by taking the data table as an operation unit, monitors the load distribution of the data, and properly makes load balancing adjustment, thereby effectively balancing the load of the database and preventing excessive load of the database.

Description

technical field [0001] The invention relates to the field of cluster servers, in particular to a load balancing method and device for a database system based on high-performance cluster distribution. Background technique [0002] In the current performance data collection system, these operations involving the database are not well planned in terms of execution timing. The storage of performance data is done after the performance data collection is completed, and periodic report generation with larger granularity and expired data are stored. Deletion is scheduled through the timer. Since the relevance and timeliness of these database operations are not considered, this scheduling method itself may be invalid. For example, when a 30-minute report needs to be generated, the data of the first 30 minutes is not completely saved. After completion, the correctness of the generated data is affected; at the same time, such scheduling may cause different database operations to superi...

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/27G06F9/50
CPCG06F9/5027G06F9/5083
Inventor 潘仲毅林立磐彭子非陈朝辉秦熹旻刘智国李伟钟东江国亮
Owner 广东省信息工程有限公司
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