Database cluster data migration method and system
A database and data technology, applied in the database field, can solve the problems of high risk, laborious and time-consuming, and achieve the effect of less resource consumption, time saving and business impact reduction.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] refer to figure 1 , figure 1 A flow chart of a method for migrating database cluster data provided by the present invention is shown. Including: step S110 and step S120.
[0049] In step S110, all the data copied in parallel by the source-end database cluster by batch invoking point-to-point data copying is received.
[0050] Specifically, the source-end database cluster adopts the method of batch-calling the underlying API interface of the database, randomly selects the destination server in the destination database cluster that is equal to the source-end database server in the source-end database cluster, and receives the source-end database server through mutual trust. All data replicated in parallel by source-side database servers in the database cluster.
[0051] Wherein, the underlying API interface of the database may be the libpg copy interface of the PostgreSQL database. The database calls the database API interface in parallel to complete the data extracti...
Embodiment 2
[0094] refer to figure 2 , figure 2 A flowchart of an embodiment of a database cluster data migration method provided by the present invention is shown. Including: step S210.
[0095] In step S210, all the data is copied in parallel to the insert select method for data redistribution by adopting the method of batch call point-to-point data replication, and the received data can be redistributed to the destination database cluster on the computing node.
[0096] Specifically, the source-end database cluster adopts the method of batch-calling the underlying API interface of the database, randomly selects the destination server in the destination database cluster that is equal to the source-end database server in the source-end database cluster, and receives the source-end database server through mutual trust. All data replicated in parallel by source-side database servers in the database cluster.
[0097] Wherein, the underlying API interface of the database may be the libp...
Embodiment 3
[0142] refer to image 3 , image 3 A structural block diagram of an embodiment of a database cluster data migration system 300 provided by the present invention is shown, including:
[0143] The receiving module 31 is configured to receive all the data copied in parallel by the source-side database cluster by using a batch calling point-to-point data copying method.
[0144] The data redistribution module 32 is configured to perform data redistribution in an insert select manner, and redistribute the received data to computing nodes.
[0145] Further, such as Figure 4 As shown, the receiving module 31 includes:
[0146] The receiving unit 311 is configured to randomly select a destination server in the destination database cluster that is equivalent to the source database server in the source database cluster by using a batch call database underlying API interface replication method based on the source database cluster, and pass The mutual trust method receives all the d...
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