oracle导入一个未知的dump文件

稍后翻译,来自 https://community.oracle.com/thread/1101968


*1) i got a .dmp file obtained by an export. (not sure whether its exp or expdb)*

If in windows environments we can find the export type by using the following:
type dumpfile.dmp | more
for eg: Normal export method:
D:\050710>type fullbkp.dmp | more

▓EXPORT:V09.02.00
DHELPDBA
RENTIRE
2048
0
20

0


Now from the above you can identify it has normal export method.

For Datapump export Method:
F:\Oracle_Backup>type DBBKPFULL.DMP | more
☺☺~N⌠╩
gÇ╝
☺;Ö☺§(±l#ºN»ê&
íHYóo


▓┌☺ ♦♦
☻☻
☺▼*
╖Äx
"HOVDBA"."SYS_EXPORT_FULL_01"

Now from the above you can identify it has datapump export method.

*2) is there a way to me to import this dumpfile to a fresh database without knowing the source schemas ??*

In normal export method you can use show=y

imp system/password file=dumpfile.dmp log=logfile.log full=y show=y

In datapump export method you use sqlfile option:

impdp system/password directory=direct_name dumpfile=dumpfile.dmp logfile=logfile.log sqlfile=toknowschema.log full=y exclude=table_statistics,index_statistics


If you use full=y alone it wil import the entire database objects from the dumpfile.

If you use full=y & show=y options together, it means entire database objects scripts will be spooled into log file mentioned.

In your case check the logfile used by you ie : exp-full-20100715.log 

You can find the exported schema details in that

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值