Importing and exporting Oracle DMP files under Linux

Source: Internet
Author: User
Tags one table

1. Exporting DMP Parts

Command: Exp qgtg/\ "[Email protected]\" File=/usr/fuck.dmp

Exp qgtg/\ "[email protected]\" File=/usr/fuck.dmp full=y, more than a full=y, pop-up dialogue output Yes

The export user name is QGTG, and the password is QGTG,SID for all tables under ORCL to the USR directory of the local Linux

Enter the Oracle database user name password, enter, and export successfully as

If you export only one table, the command is as follows:

Exp qgtg/\ "[email protected]\" file=/usr/fuck1.dmp tables= table name

2. Importing Oracle DMP Files

We'll import the DMP from the previous step into the Oracle build table in another Linux,

Upload the previous step of DMP to the Linux system (/usr/download path)

The command is as follows: Imp hdnav/\ "[Email protected]\" File=/usr/download/fuck.dmp full=y

Read DMP from/usr/download path to a database with user name Hdnav and password Qq564425,sid to Hdnav

To view the database, the table has been successfully built.

Importing and exporting Oracle DMP files under Linux

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.