Several ways to migrate Oracle

Source: Internet
Author: User

We often need to migrate data, migrate to more advanced hosts, migrate to remote rooms, migrate to different platforms ...

First, Exp/imp: This is the most commonly used the simplest method, is generally based on the application of the owner-level to do export import. Operation Method: In the new library to establish the owner and table space, stop the application of the old library, do exp user/pwd owner=xxx file=exp_xxx.dmp log=exp_xxx.log buffer=6000000 in the old Library, transfer DMP files to the new library, Make imp user/pwd fromuser=xxx touser=xxx file=exp_xxx.dmp log=imp_xxx.log ignore=y in the new library. Pros and Cons: The advantage is that it can be used across platforms; Downtime is the time from exp to network transfer to the new library, plus imp.

Second, storage migration: In this case, data files, control files, log files, spfile are stored (in general, bare devices), we can directly put the storage on the new machine, and then start the database on the new machine. Operation Method: The Old Library's pfile (because there is pointing to the bare device SPFile link), Tnsnames.ora,listener.ora, the password file to the new library's corresponding location. Start the database by cutting the storage to a new machine, or copying the data file with a copy of the file or DD. Pros and Cons: The advantage is that the migration method is very simple, the main work is the work of the host engineer, DBA only need to cooperate, the downtime for when the library, cutting storage, starting the library time. The disadvantage is that the new and old libraries are both the same platform and the same database version.

Third, the use of data guard migration:

With DG We can not only be used to do disaster recovery, physical DG We can also as a way to migrate.

Advantages and Disadvantages: The advantage is that the downtime is short and the downtime is switch over time. Disadvantage: The host must be double, the storage must be two copies.

Iv. migrating with Rman: Rman is more suitable for cross-file system migrations, like different file systems under the platform.


Several ways to migrate Oracle

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.