Data Pump for Oracle data migration to a remote database

Source: Internet
Author: User
Today, we found that the impdp command has a special purpose. You can migrate one user of the database to the user of the database on another machine. If the target user does not exist

Today, we found that the impdp command has a special purpose. You can migrate one user of the database to the user of the database on another machine. If the target user does not exist

Today, we found that the impdp command has a special purpose. You can migrate one user of the database to the user of the database on another machine. If the target user does not exist, you can create the user accordingly.

The command format is as follows:

Impdpusername/passwd @ dbsnameremap_schema = userA: userB remap_tablespace = tbsA: tbsB network_link = dblink_to_userA_on_userB

Note:
Userid: Username/passwd @ dbsname. We recommend that you use system.
Remap_schema: userA: userB. Database User ing.
Remap_tablespace: tbsA: tbsB. Default tablespace ing.
Schemas: userA. The user must be specified in dblink. We recommend that you do not specify this parameter.
Directory: In this mode, this parameter specifies the path of the log file. If not specified, the default path is data_pump_dir.
Network_link: The dblink created on the backup database to connect to the target machine.

In this way, users in database A can be quickly migrated to database B.

However, there are several prerequisites:

1. username: the database user for this operation is recommended to be system. If it is another user, it must be executed by a user with dba permission;

2. dblink: You must be able to connect to the database user in the corresponding database.

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.