Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 301

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report