Database recovery method and device
A recovery method and database technology, applied in the database field, can solve the problems of inability to achieve online recovery and time-consuming, and achieve the effects of forward compatibility, less time-consuming, and online recovery.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] figure 2 It is a flow chart of the database recovery method provided in the first embodiment. Such as figure 2 As shown, the method includes the following steps:
[0040] Step 210, acquire old version database information, the old version database information includes first data table structure information, data content and version number.
[0041] In this step, the database of the old version can be backed up, and the information of the database of the old version can be saved in the form of files. Wherein, the old version database information represents information such as the structure information and data type of the old version database, the old version database information may include the first data table structure information, data content and version number, and the first data table structure information may be the first database Name, first data table name, first column name, first column length, and first column data type, or a combination of at least two...
Embodiment 2
[0051] image 3 It is a flow chart of the database recovery method provided in the second embodiment. Such as image 3 As shown, the method includes the following steps:
[0052] Step 301, backing up the database of the old version, obtaining the information of the database of the old version, and obtaining the backup file.
[0053] In this step, the backup operation is performed in the old version database, and the first data table structure information, data content and current version number of all data tables in the old version database that need to be backed up are exported as files and put into a separate folder , this folder is a backup file, and the first data table structure information can contain multiple data table structure information, and the first data table structure information can be the first database name, the first data table name, the first column name, Either or a combination of at least two of the length of the first column and the data type of the ...
Embodiment 3
[0077] Figure 4 A structural diagram of the database restoration device provided by Embodiment 3 of the present invention is given. Such as Figure 4 As shown, the device includes:
[0078] The old version database information obtaining module 401 is used to obtain the old version database information, the old version database information includes the first data table structure information, data content and version number.
[0079] In this embodiment, the first data table structure information can be any one or a combination of at least two of the first database name, the first data table name, the first column name, the first column length, and the first column data type .
[0080] The new version database information obtaining module 402 is configured to obtain the new version database information, and the new version database information includes the second data table structure information.
[0081] In this embodiment, the second data table structure information can be...
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