Oracle Import and Export DMP file

Source: Internet
Author: User
Tags sqlplus
  1. Create Oracle directory, login with user Sqlplus

    Create or replace directory dpdata1 as '/a/b ';

  2. Grant permission, dba Login Sqlplus

    Grant Read,write on directory dpdata1 to user;

  3. Exporting DMP

    A. Export by table, under Bin directory

    ./EXPDP User/[email Protected] tables=table1,table2 dumpfile=expdp.dmp directory=dpdata1;

    B. Export by user

    ./EXPDP User/[email Protected] schemas=user dumpfile=expdp.dmp directory=dpdata1;

  4. Importing DMP

    A. Import the Dmp,bin directory exported by table

    ./IMPDP User/[email Protected] directory=dpdata1 dumpfile=expdp.dmp full=y logfile=impdlog.log;

    B. Importing DMP that is exported per user

./IMPDP User/[email Protected] directory=dpdata1 dumpfile=expdp.dmp schemas=user logfile=impdlog.log;


Oracle Import and Export DMP file

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.