Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1097867
  • 博文数量: 276
  • 博客积分: 10077
  • 博客等级: 上将
  • 技术积分: 2513
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-24 20:31
文章分类

全部博文(276)

文章存档

2020年(1)

2015年(5)

2012年(2)

2011年(6)

2010年(7)

2009年(224)

2008年(31)

我的朋友

分类: Oracle

2008-12-05 12:55:07

my production database hang. when the OS restart the oracle datafile of the redo
file broken. i try to alter database open resetlogs, but the database's datafiles are not consistent. Unfortunatly, this database do not backup completely recently.
 
Solution

1)_ALLOW_RESETLOGS_CORRUPTION = TRUE
Adding this parameter in pfile and startup with it. this prameter force database to open
without current online redolog and datafiles are inconsistent.
2)recover database
alter database openresetlogs;
after doing this operation, i can get the ORA- error in alert file.
==================
ORA-00600: internal error code, arguments: [2256], [0], [3221225472], [5], [3880116460], [],
[], []
==================
the fourth parameter [5] shows that what level we should rollback.
sqlplus "/ as sysdba"
alter session set events '10015 trace name adjust_scn level 24';
level 24 is computed by the fourth parameter from the ORA-00600 error.
(5+1)*4=24
Remark: level 1 will rollback 1 billion ( 1024 * 1024 * 1024 )SCN.
we can query this parameter from this view.
select KSPPDESC from X$KSPPI where ksppinm='_allow_resetlogs_corruption';
阅读(975) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~