Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data migration, backup and recovery method and apparatus

A backup and data technology, applied in the computer field, can solve problems such as limited flexibility, poor selectivity, and unsatisfactory efficiency

Inactive Publication Date: 2018-07-10
DATANG MOBILE COMM EQUIP CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Logical import and export are only suitable for small database dumps, database logical structure backups, etc. Although they can provide sufficient flexibility and customizable effects, they are limited by the efficiency of data transmission during the export and import process. The efficiency cannot meet the requirements in the scenario of large and medium-sized databases
[0007] Currently, the technologies provided by Oracle can support backup and recovery and data migration at the following levels: database level, table space level, user level, and table level; the flexibility of such a granular level is relatively limited, and the selectivity is relatively poor.
[0008] In the process of implementing the embodiment of the present invention, the inventors found that the existing methods, whether cold backup or hot backup, can only provide backup and recovery of all data in the database up to a certain point in the past, and logical import and export only It is suitable for small databases, and it can only support table level when performing data migration, backup and recovery, and the selectivity of data granularity level is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data migration, backup and recovery method and apparatus
  • Data migration, backup and recovery method and apparatus
  • Data migration, backup and recovery method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0038] The terms involved in the present invention are first described below:

[0039] Table space: The logical division of the database, used to combine the logical units of the accessed data, and separate the I / O related to data access. A table space consists of one or more data files.

[0040] Data file: The file of the database, storing real data, including user data and data required by the system.

[0041] Data Migration: Moving data from one place to another.

[0042] Data backup: In order to prevent data loss caused by system operation errors or system failures, all or part of the data set is copied from the hard disk or array of the application host to othe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention disclose a data migration, backup and recovery method and apparatus. The method comprises: recording feature parameters of a plurality of partition tables to obtain a partition information configuration table; establishing a table space, and mapping each partition in each partition table to a corresponding table space to obtain a partition relationship mappingtable; and determining a target partition according to the feature parameters in the partition information configuration table, determining a target table space corresponding to the target partition according to the partition relationship mapping table, and carrying out data migration, backup or recovery on a data file in the target table space, wherein each table space corresponds to at least onedata file. According to the technical scheme of the embodiments of the present invention, by fine-grained partitioning the table, the partitions are respectively established into the corresponding table space, data migration, backup and recovery at any time can be supported, the technical scheme can adapt to various databases, the data granularity of data migration, backup and recovery can be effectively controlled, and the speed of data migration, backup and recovery can be improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, and in particular to a data migration, backup and recovery method and device. Background technique [0002] Any application that needs to use a database needs to store various data, and data generally has different life cycles. Some data needs to be migrated to another database system after a period of time. At the same time, data also needs to be backed up regularly, because the data may be invisible, unreadable, or lost due to damage to the storage medium, misuse by personnel, or failure of the operating system itself. Once data is lost, it is necessary to use data backup for recovery. The granularity of traditional data migration and backup can only be as fine as the table level, and the migration, backup, and recovery are slow. [0003] Traditional Oracle data migration, backup and recovery are mainly divided into two categories: physical backup and recovery and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F17/30
CPCG06F11/1469G06F16/214
Inventor 赵晗陈怡
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products