码迷,mamicode.com
首页 > 其他好文 > 详细

oradebug推进scn

时间:2014-11-11 12:43:16      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:oradebug   ora-00600   

有时候我们遇到如下错误:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [2662], [0], [5685940], [0], [5685970], [4194432], [], [], [], [], [], []
Process ID: 3157
Session ID: 1 Serial number: 3

我们可以通过bbed修改对应的数据文件头来解决,也可以通过推进scn来解决:
alter session set events 'IMMEDIATE trace name ADJUST_SCN level 1';

也可以使用oradebug来推进:

SYS@orcl11g>oradebug setmypid
Statement processed.
SYS@orcl11g>
SYS@orcl11g>
SYS@orcl11g>oradebug dumpvar sga kcsgscn_
kcslf kcsgscn_ [060017F58, 060017F88) = 005711D8 00000000 00000000 00000000 000000B5 00000000 00000000 00000000 00000000 00000000 60017C38 00000000
SYS@orcl11g>oradebug poke 0x060017F58 4 0x40000000
BEFORE: [060017F58, 060017F5C) = 005711DD
AFTER:  [060017F58, 060017F5C) = 40000000
SYS@orcl11g>oradebug dumpvar sga kcsgscn_
kcslf kcsgscn_ [060017F58, 060017F88) = 40000002 00000000 00000000 00000000 000000BC 00000000 00000000 00000000 00000000 00000000 60017C38 00000000
SYS@orcl11g>
SYS@orcl11g>
SYS@orcl11g>select dbms_flashback.get_system_change_number a from dual;
         A
----------
1073741827



oradebug推进scn

标签:oradebug   ora-00600   

原文地址:http://blog.csdn.net/zbdba/article/details/41009107

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!