How to import and export dmp files in oracle

How to import and export dmp files in oracle

Time:  2016-09-02 20:30  Source:  Unknown  Author:  yqljgl6688  Hits:  605

   Dmp is generally used to back up the database or import the database. It is generally exported by the exp command and imported by imp.

  Premise first install the oracle10g database or install the oracle11g database

  After installation, you have to ① set the oracle listener configuration, ② create a user to configure user permissions, ③ create a tablespace (all of these can be ignored!!!!!)

  If you don't have it, you need to set it up first, how to configure it, and Baidu, so I won't say more here.

  import dmp file

  Execute under the command line: imp pg/pg@pgfs110 imp username/password Enter the import file path: EXPDAT.DMP>c:\a.dmp

       enter no here

  Enter the insert buffer size: by default, no carriage return

  List only the contents of the imported file: Enter

  Ignore creation errors: yes

  Import permission: yes

  Import table data: yes

  Import entire export file: yes Waiting... Import terminated successfully with warnings.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325517949&siteId=291194637
Recommended