A data migration method and device
A technology for data and migration, applied in the database field, can solve problems affecting the data transmission speed and stability of the database, and achieve the effect of improving data access performance, improving efficiency, high reliability and high concurrent storage access
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Such as figure 2 As shown, the flow chart of the data migration method provided in Embodiment 1 of the present application includes the following steps:
[0044] S201: Determine a first file to be migrated based on data records to be migrated in the first database.
[0045] Here, there may be multiple data records to be migrated in the first database, and for each data record to be migrated, the first file to be migrated is determined.
[0046] In the embodiment of the present application, considering that the storage space occupied by binary files is large, and the non-binary files in the data records to be migrated, that is, the storage space occupied by text files is relatively small, the steps can only be performed on the binary files. Processing of S202.
[0047] Specifically, a binary file may be extracted from the data records to be migrated; and at least one of the extracted binary file and a text file converted based on the binary file may be determined as t...
Embodiment 2
[0054] The following takes the first file to be migrated as a binary file and the second file to be migrated as a non-binary file as an example for further introduction.
[0055] Such as image 3 As shown, the flow chart of the data migration method provided in Embodiment 2 of the present application includes the following steps:
[0056] S301: Distinguish binary files and non-binary files in the data records to be migrated in the first database, perform the following S302 for the binary files, and perform the following S303 for the non-binary files.
[0057] Here, the data record to be migrated can be new data (newly received, not yet formally entered into the database) written into the queue to be processed in the first database (old database) after it is determined that the database needs to be moved, or it can be stored in Historical data in the first database.
[0058] For historical data, the identification information (Identity, ID) of each historical data record in t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


