Get the App
SLTechnology News&Howtos  ›  Database  › 

[foam original] cmd: import and export Oracle remote Dmp files

Shulou Source: shulou.com Published: 2022-06-01 07:05:09 10月03日 Update

Orcal's dmp can be excruciating at times. Here you record the magic spell of easily importing and exporting dmp files.

Import (Imp)

Imp SXZZ/SXZZ@10.16.175.50/xaptdb file=E:\ bjsxzz.dmp full=y

Without special attention, the dmp file is directly imported (file location, password ip correct everything ok)

Export (Exp)

Exp sxzz_1111/sxzz_1111@172.16.90.253/ORCl file=D:/momojin.dmp OWNER=sxzz_1111

There are 2 points to note:

1. Dmp files are not created automatically, so you need to create dmp manually. The figure below is as follows

2. Pay attention to the owner at the end of the command, which determines the scope of export, and generally ok the data under the current user. If you need to change the library to (FULL=Y)

Note that the above is based on the local installation of Oracle (that is, the machine that executes the cmd command has orcale installed)

Overmuri!

Tags: Files commands magic location spells passwords manual data sometimes machines users larks endings ranges one word Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi Docker OPPO Reno Shulou Technology