Use of expdp/impdp to back up databases in Oracle

Source: Internet
Author: User

Oracle 10g has introduced the Data pump technology. What are the advantages of this technology and the previous exp/imp technology? In simple terms, the recovery and backup speed are very fast;

Before explaining how to use the data pump, let's first understand the differences between the two:

Before 10 Gb, you can only use the exp/imp command to back up data. From 10 Gb, oracle provides two methods, exp/imp and expdp/impdp. However, before using these methods, we must make it clear:

1. exp/imp are client tools that can be used either on the client or on the server. In other words, you can back up the database on another computer to your computer;

2. expdp/impdp is a server tool. They can only back up the database to the server (that is, you run the command on your computer, but the backup database is still on the server );

3. exp/imp and expdp/impdp cannot be mutually used. That is to say, the database backed up with exp/imp can only be imported using the exp/imp command;

Expdp usage

When you use the expdp command, the exported files can only be stored in the specified directory. Therefore, you need to create a specific directory before use.

The following statement is executed in PL/SQL Command Window.

Create directory dmp_dir as 'd: \ dump; Note: You need to create the corresponding dump directory on the physical d disk.

Grant read, write on directory dump_dir to username

Oracle datapump expdp/impdp hang

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.