Database horizontal capacity expansion method and device, equipment and storage medium
A database and horizontal technology, applied in the database field, can solve the problems of several hours to dozens of hours, system group paralysis, data confusion, etc., and achieve the effect of solving poor user experience, strong reliability, and high accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] This embodiment is aimed at the horizontal expansion of sub-databases and sub-tables. Traditional methods generally require data migration and downtime. For systems with huge data volumes, the business stop time will be too long and data confusion will easily occur, resulting in poor user experience. Even for the problem of business system paralysis, a method of horizontal expansion of database (also called horizontal expansion) is proposed, by providing enough tables at one time when establishing the initial database, avoiding later expansion of tables and redistribution of table data; At the same time, the table structure and data of the sub-database are initialized by establishing a slave database, and the sub-database is configured into the business application after a short shutdown to achieve capacity expansion. Overall, the downtime for capacity expansion is equivalent to the time-consuming of a small release. It does not affect the business and has no risk of dat...
Embodiment 2
[0154] This embodiment provides a database horizontal expansion device, please refer to figure 2 , the database horizontal expansion device includes:
[0155] The table quantity planning module 1 is used to predict and count the total business volume after several years according to the historical annual business volume of the enterprise when establishing the initial database, and calculate the expected number of data tables based on the total business volume. Quantity, calculate the number of tables in the initial database;
[0156] The capacity expansion module 2 is used to determine whether the initial database needs to be expanded according to the query and write concurrency of the initial database. In business applications, keep the number of tables in the entire database unchanged.
[0157] The functions and implementation methods of the table quantity planning module 1 and the expansion module 2 are as described in the first embodiment above, and will not be repeated...
Embodiment 3
[0159] The second embodiment above describes in detail the database horizontal expansion device of the present invention from the perspective of modularized functional entities, and the following describes the database horizontal expansion device of the present invention in detail from the perspective of hardware processing.
[0160] Please see image 3 , the database horizontal expansion device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and memory 520, One or more storage media 530 (such as one or more mass storage devices) storing application programs 533 or data 532 . Wherein, the memory 520 and the storage medium 530 may be temporary storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruct...
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