Kudu database data equalization system based on size and implementation method
A technology for balancing systems and databases, applied in the field of databases, to achieve a wide range of applications
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] The size-based database data equalization system of kudu of the present invention includes,
[0061] The data balance condition detection module is used to detect whether to perform data balance operation; the working process is as follows:
[0062] (1) Determine whether there is an ongoing migration task:
[0063] a. If there is a task being migrated, skip to step (4);
[0064] b. If there is no ongoing migration task, perform step (2);
[0065] (2) Calculate the difference between the nodes that occupy the largest and smallest disk space in the current situation, and determine whether the difference exceeds the threshold (threshold is the set value, such as 20%): the threshold refers to the largest data skew Value, the maximum value of data skew size is the data difference between the largest node and the smallest node occupying disk space, and can be freely specified according to the specific conditions of the disk.
[0066] a. If the difference does not exceed the ...
Embodiment 2
[0080] as attached figure 1 As shown, the size-based database data balance implementation method of kudu of the present invention, the implementation method steps are as follows:
[0081] S1. The cache acquires the Table being migrated;
[0082] S2. Use the data balance condition detection module to determine whether there is a migration task being executed:
[0083] a. If there is a task being migrated, go to step S10;
[0084] b. If there is no ongoing migration task, execute step S3;
[0085] S3. Calculate the difference between the nodes that occupy the largest and smallest disk space in the current situation, and determine whether the difference exceeds the threshold:
[0086] a. If the difference does not exceed the threshold, jump to step S10;
[0087] b. If the difference exceeds the threshold, execute step S4;
[0088] S4. Obtain the source host with the largest disk usage;
[0089] S5. Obtain the largest Table of the source host, and use the tablet selection mo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com