Oracle Import and Export ____oracle

Source: Internet
Author: User
First, create the directory folder for the exported data

Create or replace directory Oradata as ' E:\data ';

Note:

(1) The Data folder needs to be created by itself under this disk.

(2) If the prompt permission is insufficient, need to authorize to the current user

such as: Grant Read,write on directory oradata; Ii. using EXPDP to export user data (1) Only exports the SOCTT user's metadata does not contain the statistic information;

EXPDP system Directory=oradata Schemas=scott content=metadata_only exclude=statistics dumpfile=scott_meta.dmp logfile =scott_meta.log (2) only export SOCTT user's data

EXPDP system Directory=oradata Schemas=scott content=data_only

Dumpfile=scott_data.dmp Logfile=scott_data.log
(3) only emp,dept data under Scott User is exported

EXPDP Scott Directory=oradata tables=emp,dept

Dumpfile=scott_emp_dept.dmp Logfile=scott_emp_dept.log
(4) Only EMP,DEPT table structure under Scott User is exported

EXPDP Scott Directory=oradata tables=emp,dept content=metadata_only

Dumpfile=scott_emp_dept_meta.dmp Logfile=scott_emp_dept_meta.log
(5) Export all content under the SOCTT user

EXPDP system Directory=oradata Schemas=scott dumpfile=scott_all.dmp

Logfile=scott_all.log
(6) Parallel export of all content under Scott's user

EXPDP system Directory=oradata Schemas=scott dumpfile=scott_all%u.dmp

Logfile=scott_all.log parallel=2



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.