Oradebug promotes scn and oradebugscn
Sometimes we encounter the following errors:
ORA-01092: ORACLE instance terminated. Disconnection forcedORA-00600: internal error code, arguments: [2662], [0], [5685940], [0], [5685970], [4194432], [], [], [], [], [], []Process ID: 3157Session ID: 1 Serial number: 3
We can solve this problem by modifying the corresponding data file header Through bbed, or by promoting scn:
alter session set events 'IMMEDIATE trace name ADJUST_SCN level 1';
You can also use oradebug to promote:
SYS@orcl11g>oradebug setmypidStatement 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 00000000SYS@orcl11g>oradebug poke 0x060017F58 4 0x40000000BEFORE: [060017F58, 060017F5C) = 005711DDAFTER: [060017F58, 060017F5C) = 40000000SYS@orcl11g>oradebug dumpvar sga kcsgscn_kcslf kcsgscn_ [060017F58, 060017F88) = 40000002 00000000 00000000 00000000 000000BC 00000000 00000000 00000000 00000000 00000000 60017C38 00000000SYS@orcl11g>SYS@orcl11g>SYS@orcl11g>select dbms_flashback.get_system_change_number a from dual; A----------1073741827