Deployment method and device for multi-data fragmentation backup of database cluster
A data sharding and database technology, applied in the field of database clusters, to achieve the effect of ensuring reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 It is a schematic flow diagram of the deployment method for database cluster multi-data fragmentation backup provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where backup fragmentation is deployed in the database cluster. This method can be implemented by database cluster multi-data fragmentation The backup deployment device is implemented, and the device can be realized by software / hardware, and can be integrated in the database cluster system.
[0037] see figure 1 , the deployment method of multi-data fragmentation backup of the database cluster, comprising:
[0038] S110. Obtain the number of nodes in the database cluster.
[0039] The database cluster refers to a cluster composed of multiple database nodes. The nodes in the database cluster are called cluster nodes. The cluster nodes are the carriers of data fragmentation and backup fragmentation. The database cluster can be determined according to the man...
Embodiment 2
[0066] figure 2 It is a schematic structural diagram of a deployment device for database cluster multi-data fragmentation backup provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, the device includes:
[0067] A node obtaining unit 210, configured to obtain the number of nodes in the database cluster;
[0068] The number of data fragments acquiring unit 220, configured to acquire the number of data fragments corresponding to each node in the database cluster;
[0069] Configuration unit 230, configured to configure backup fragments according to preset rules;
[0070] The calculation unit 240 is configured to calculate the reliability of the configuration backup slice, and select the optimal reliability as the deployment method.
[0071] Further, the preset rules include:
[0072] Put the backup fragments of the p data fragments of the first node in the p nodes starting from the next node in turn; or
[0073] Put all the backup fragments of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

