Unlock instant, AI-driven research and patent intelligence for your innovation.

A load balancing method and distributed database system

A technology for balancing load and statistical tables, applied in the computer field, can solve the problems affecting system storage business, unbalanced load of distributed database system, and not considering the load of each server node, etc., to achieve the effect of load balancing

Active Publication Date: 2017-06-13
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since the above-mentioned server node for saving data is selected by the client through a consensus algorithm, such as the Hash (Hash) algorithm to select the server node, however, the client cannot determine whether each In the case of existing data in the server, the problem of unbalanced load of the distributed database system may occur, which will affect the storage business of the system
For example, the data stored in server node A is close to 100% of the server's disk capacity, while the data stored in server node B occupies less than 10% of the disk capacity, but the client selects server node A to store data according to the consensus algorithm , so that there may be a situation where server node A cannot store data
[0004] It can be seen that in the prior art, when storing data, the load of each server node in the current system is not considered, which leads to the problem of unbalanced load in the distributed database.

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
  • A load balancing method and distributed database system
  • A load balancing method and distributed database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The basic idea of ​​the present invention is: each server node adds the currently stored data to the migration unit file in real time, and establishes the migration unit file statistics table according to the migration unit file; the main control server node periodically obtains the migration unit file statistics table of each server node ;The master control server node selects the migration-out node, the migration-out file of the migration-out node, and the migration-in node corresponding to the migration-out file as the migration decision according to the migration unit file statistics table and the migration strategy; when the master control server node determines the migration, According to the migration decision, adjust the load of the outgoing node and the incoming node.

[0038] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0039] The load balancing method proposed by the ...

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. The load balancing method comprises the steps: server nodes add currently-stored data to migration unit files in real time and establish migration unit file statistical tables according to the migration unit files; a master control server node periodically obtains the migration unit file statistical tables of the server nodes; the master control server node selects emigration nodes, emigration files of the emigration nodes and migration nodes corresponding to the emigration files as migration decisions according to the migration unit file statistical tables and migration strategies; the master control server node adjusts loads of the emigration nodes and the migration nodes according to the migration decisions when confirming the migration execution. The invention further discloses a distributed database system. By adopting the load balancing method, the load of the distributed database system can be balanced according to the load conditions of the server nodes.

Description

technical field [0001] The invention relates to database management technology in the computer field, in particular to a load balancing method and a distributed database system. Background technique [0002] The distributed database can linearly increase the overall performance and storage capacity by dynamically adding computing nodes and storage nodes without interrupting business, and can ensure data security through the system's inter-node multi-copy technology. The distributed database is composed of multiple server nodes, and data is distributed on multiple server nodes; a central processing unit (CPU, Central Processing Unit) and a hard disk in each server node process data synchronously. The method of storing data in a distributed database is as follows: the client selects a server node through a consensus algorithm, and then sends the data to the server node for storage. [0003] However, since the above-mentioned server node for saving data is selected by the clie...

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 Patents(China)
IPC IPC(8): G06F17/30G06F9/50
CPCG06F9/5088G06F16/27
Inventor 白涛
Owner ZTE CORP