Oracle Data Pump Import and Export

Source: Internet
Author: User

1. First establish Dump_dir Sqlplus/as SYSDBA

SELECT * FROM Dba_directories

If there is no Dump_dir, execute the following statement

CREATE OR REPLACE directory dump_dir as ' C:\as ' where the "C:\as" is the Dump_dir catalog, used to store DMP files

2. Execute the following statement authorizing Grant READ, WRITE on DIRECTORY SYS. Dump_dir to SYSTEM

3. Import, export cmd under Execute the following command set oracle_sid = xxx xxx for db instance name

Import change the DMP file to Dbname.dmp and then put the "C:\as" in the directory set in step 1 and execute the following statement directly in CMD, and drop user dbname cascade IMPDP If dbname is already present. Test1 directory=dump_dir schemas=dbname dumpfile =dbname.dmp logfile=impdbname.log

The Export command is EXPDP system/information directory=dump_dir schemas=dbname dumpfile=dbname.dmp logfile=expdbname.log and then "C:\as" Locate the DMP file in the directory

Oracle Data Pump Import and Export

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.