Oracle Data Pump usage (1)

Source: Internet
Author: User

Oracle Data Pump usage (1) Oracle Data Pump expdpimpdp I. Data Pump export steps: 1. Create a directory (I created it using a system user, scott user does not have permission)

create directory dump1 as 'e:\dump' ;

 

2. Authorize scott user
grant read,write on directory dump1 to scott;

 

3. Exit the system user and execute the export operation C: \ Documents ents and Settings \ Administrator> expdp scott/orcl directory = dump1 dumpfile = aaaaa. dmp; 4. Export successful! 2. Use the Data Pump to import: C: \ Documents ents and Settings \ Administrator> impdp scott/orcl directory = dump1 dumpfile = AAAAA. dmp Note: If you have changed the exported file aaaaa. the location of dmp or you have executed the drop directory dump1; you also need to perform steps 1 and 2 in the export step before importing. 3. View expdp or impdp parameter usage C: \ Documents ents and Settings \ Administrator> expdp help = y or C: \ Documents and Settings \ Administrator> impdp help = y 4. Create, delete, and view directory Methods
Create directorycreate directory dump1 as 'e: \ dump'; Delete the created directorydrop directory dump1; query directoryselect * from dba_directories;

 

5. authorize different users to create or delete directories
Grant create any directory to scott; grant drop any directory to scott; revoke the following permissions: revoke create any directory from scott; revoke drop any directory from scott;

 

 

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.