Data migration method and device, electronic equipment and storage medium
A data storage and data technology, applied in the field of data processing, can solve problems such as data migration failure, migration data garbled characters, etc., achieve effective data migration, solve data garbled characters, and improve effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a schematic flow chart of a data migration method provided in Embodiment 1 of the present invention. This embodiment is applicable to data migration. The method can be executed by a data migration device, which can use software and / or hardware Realized, it can be integrated into electronic devices such as computers or servers.
[0030] Such as figure 1 As shown, the method of the present embodiment includes:
[0031] S110. Determine the data to be migrated stored in the first data table to be processed in the first database.
[0032] Wherein, the first database can be understood as a heterogeneous database requiring data migration. Optionally, the first database may be an Oracle database. The first data table to be processed may be a data table in the first database. The number of the first data tables to be processed may be one or more. The data to be migrated may be all or part of the data stored in the first data table to be processed.
[0033] ...
Embodiment 2
[0049] figure 2 It is a schematic flowchart of a data migration method provided in Embodiment 2 of the present invention. On the basis of the foregoing embodiments, optionally, the data to be migrated stored in the updated first data table to be processed is stored in the In the second to-be-processed data table of the second database, include: the data file to be migrated that is used to store each data to be migrated in the preset text format based on the updated first data table to be processed; Each migration data stored in is stored in the second pending data table of the second database. Wherein, technical terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated here.
[0050] Such as figure 2 As shown, the method in this embodiment may specifically include:
[0051] S210. Determine the data to be migrated stored in the first data table to be processed in the first database.
[0052] S220. For each data to be migrated, ...
Embodiment 3
[0069] image 3 It is a schematic flow chart of a data migration method provided by Embodiment 3 of the present invention. On the basis of the foregoing embodiments, optionally, the data migration method of this embodiment may further include: determining the updated first data to be processed Whether the first data volume of the data to be migrated stored in the table is consistent with the second data volume of the migrated data stored in the target migration data table; if the first data volume is consistent with the second data volume, Then compare the data to be migrated in the updated first data table to be processed with the migrated data corresponding to the data to be migrated in the target migration data table to generate a comparison result, and based on the Determine whether the data migration is successful based on the comparison result; if the first data volume is inconsistent with the second data volume, it is determined that the data migration is not successful...
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