Example of Oracleexpdp and impdp

Source: Internet
Author: User
Due to production requirements, you need to copy the rmtel user data to rmtel_xzy, but exclude the rmtel user (

Due to production requirements, you need to copy the rmtel user data to rmtel_xzy, but exclude the rmtel user (

Scenario:

Due to production requirements, you need to completely copy rmtel user data to rmtel_xzy, but exclude rmtel users ('cab _ JJXPORT_TAB ','t _ servicexx', 'tb _ crossconnection ', 'tb _ link', 'tb _ card', 'tb _ physicaliner iner ', and 'tb _ port. That is to say, the data structures of these two users must be exactly the same, except for these tables. The data is stored in the rmtel_xzy tablespace.

The procedure is as follows:

1: Use the administrator user sys to create a directory and grant permissions to relevant users.

A: query the export directories in the database: select * from dba_directories;

B: create the export directory: create directory RMTEL_DIR as 'd: \ rmtel_dump ';

C: authorize the export directory to the operation User: grant read, write on directory RMTEL_DIR to rmtel_xzy, rmtel;

2: Use the windows doc window to export rmtel data

3: Use the windows doc window to import data

The exclude and include parameter values of Oracle expdp and impdp tools are different in different environments. Note that if you create and execute these backup tools in the doc file in Windows, you can install the above operations successfully.

Related reading:

Key Points of migrating 11G data to 10g platform through expdp & impdp

Oracle Data Pump examples and some precautions (expdp/impdp)

Oracle datapump expdp/impdp hang

Expdp/impdp for Oracle 10g to 11g data migration

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.