The invention discloses a
data balancing method and device, a
server, a computer readable storage medium and a
computer program product. According to the method, the node state in the
machine room is monitored in real time, the node
load distribution is determined by evaluating the node state, the
current load condition is determined, the balancing operation is automatically triggered when the node load is unbalanced, and the balancer is dynamically started or stopped, so that intelligent balanced scheduling of data is realized, on one hand, manual intervention is reduced; on the other hand, the unbalanced condition of the node load can be found in time by monitoring the node state in real time, so that the data distribution of the cluster can be adjusted in time, and the stability and reliability of the overall operation of the
system are improved; besides, in the method, each
machine room runs an independent balancer instance, and only the balancer in the
machine room is triggered to execute local balancing operation on the internal node of the machine room to which the balancer belongs, so that unnecessary cross-machine-room
data transmission is greatly reduced, and the cross-machine-room network consumption is reduced.