A data migration method and system, storage medium, and electronic device
A technology for migrating systems and data, which is applied in database design/maintenance, structured data retrieval, database distribution/replication, etc. It can solve the problems of checking efficiency or feasibility, the inability to strictly guarantee data consistency, long-term efficiency, etc., to achieve Avoid repeated consumption of process time, overcome checking efficiency or feasibility, and ensure the effect of data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Example 1, such as Figure 4 As shown, a data migration method includes the following steps:
[0060] S11. Synchronize the old database data to the data warehouse; use the data warehouse synchronization tool to synchronize the old database table data to the data warehouse, assuming that this version is the data warehouse data version A.
[0061] S21, new database table data cleaning; clean up the new database table data, create a new database by deleting and creating a new table, or directly emptying the table data; for example, after MySQL uses drop, truncate, delete or PHP script to delete the data table Then use create or PHP script to create a data table.
[0062] S3. Backflow data or data patches to the new database through the data warehouse synchronization tool; synchronously return the data warehouse data version A (data patch if there is a data patch) to the new database through the data warehouse synchronization tool. Among them, the core component ETL in th...
Embodiment 2
[0073] Example 2, such as Figure 5 As shown, a data migration method includes the following steps:
[0074] S12, new database table data cleanup; clean up new database table data, create a new database by deleting and creating a new table, or directly empty the table data; for example, in MySQL, use drop, truncate, delete or use PHP script to delete the data table Then use create or PHP script to create a data table.
[0075] S22. Synchronize the old database data to the data warehouse; use the data warehouse synchronization tool to synchronize the old database table data to the data warehouse to generate the first data version of the data warehouse. It should be understood that the cleanup of new database table data and the synchronization of old database data to the data warehouse are relatively isolated, and there is no time or program sequence restriction relationship.
[0076]S23, the first reflow judgment, judging whether there is data or not in the second data versio...
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