Oracle数据库克隆后temp文件因路径变化无法找到问题

Oracle数据库克隆后temp文件因路径变化无法找到出现如下报错
Errors in filexxxx.trc:
ORA-01157: cannot identify/lock data file xxx - see DBWR trace file
ORA-01110: data file 201: 'xxx/temp01.dbf'

部分trace文件:
 
DDE: Problem Key 'ORA 1110' was flood controlled (0x5) (no incident)
ORA-01110: data file 201: 'xxx/temp01.dbf'
ORA-01157: cannot identify/lock data file xxx - see DBWR trace file
ORA-01110: data file 201: 'xxx/temp01.dbf'
Dump of memory from 0x0000000126DCFA78 to 0x0000000126DCFDEA
126DCFA70                   48544957 53574D20          [WITH MWS]
126DCFA80 20534120 45532820 5443454C 574F5220  [ AS  (SELECT ROW]
126DCFA90 204D554E 2C786469 4E495720 5F574F44  [NUM idx, WINDOW_]
126DCFAA0 454D414E 454E202C 535F5458 54524154  [NAME, NEXT_START]
126DCFAB0 5441445F 64732045 2020202C 20202020  [_DATE sd,       ]  


处理方法:
1、select * from dba_temp_files;也会报找不到数据文件错误。
   可以查询select * from v$tempfile;
2、通过v$tempfile 查看文件,将数据库启动到mount状态,alter database rename file '' to '';修改路径。
3、再打开数据库会自动创建临时数据文件。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29135257/viewspace-2145833/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29135257/viewspace-2145833/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值