Oracle Data Jumping

Source: Internet
Author: User
Tags create directory

Second, the steps are as follows

1. Create a Directory

Data pump requires the creation of a directory for the files and log files to be created and read, this parameter is used to define a directory, the previous mentioned data pump mainly work on the server side, export files need to write out to the server side local directory, This directory is the corresponding server-side directory. The user who will access the data pump file must have read/write access to the directory.

Note: Verify that the external directory exists before you begin the operation, and that the user who released the Create Directory command needs the system permissions of Create Anydirectory.

A directory named Test is created and the system user is granted read/write access to this directory.

Create a directory and give permissions:

Sql> Create directory TEST as ' d:\test ';

Sql> Grant read,write on the directory TEST to system;

View the two views of the directory that you have created in the database:

SELECT * from All_directories;

SELECT * from Dba_directories;

Then create the folder manually under the target disk D:\test

2. Data Pump Export

There are several ways to export a data pump, here we only introduce two kinds:

Ø Single User scenario export

EXPDP [user name]/[Password]@[host character channeling] schemas=[user name] directory=test dumpfile=x.dmp logfile=x.log

EXPDP system/orcl schemas=tmdata directory= dump_dir dumpfile=tmdata.dmp

IMPDP system/orcl schemas=tmdata directory=dump_dir dumpfile=tmdata.dmp ignore=y

Oracle Data Jumping

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.