How To Repair UNDO log corruption | Square DBA - Oracle DBA Talk

Square DBA – Oracle DBA Talk

Home About Oracle Sites RSS

How To Repair UNDO log corruption
May 18th, 2009 Posted in Oracle How-To

Today I had a corrupted segment in my UNDO tablespace. While I have had datafile corruption before I have not seen UNDO segment corruption. This fix could have been a more drastic, but as it was it ended up being pretty easy. I first found out there was a problem when one of my databases emailed me that “ORA-01034: ORACLE not available , ORA-27101: shared memory realm does not exist”. Well that is never good. I logged into the server and sure enough the database was down. I logged into SQLPlus and started the database backup. Everything start fine so I went to look for the cause. The first place I went look is the alert log. As I expected I saw errors like this one. ORA-00600: internal error code, arguments: [kdourp_inorder2], [44], [0], [48], [44], [], [], [] No DBA ever likes to see ORA-00600. It’s too generic tell exactly what is going on and generally means something simple broke or something is terribly wrong. Now that the database was backup I started to tail the alert log and noticed more ORA 600 errors, then followed by ORA-00474: SMON process terminated with error and PMON: terminating instance due to error 474. Ouch database crashed again. It was time to really dig into the issue. Continuing to review the alert log I went back to the earliest point where the ORA-00600 errors started and found these errors scattered in the alert log.
ORA-00600: internal error code, arguments: [kdourp_inorder2], [44], [0], [48], [44], [], [], [] ORA-08007: Further changes to this block by this transaction not allowed Doing block recovery for file 21 block 456408 SMON: Parallel transaction recovery slave got internal error SMON: Downgrading transaction recovery to serial

It looked like I had corruption somewhere. So using this SQL I was able to determine where my issue was:
select segment_name, status

1 of 4

3/28/2013 1:18 AM

I created the tablespace with this SQL create undo tablespace undotbs2 datafile ‘/u02/oracle/oradata/test/undotbs2. Tags: ORA-00474.Oracle DBA Talk http://www.0 feed. or trackback from your own site. Alter the database to use the new UNDO This entry was posted on Monday. Then finally drop the old UNDO tablespace alter tablespace undotbs1 offline. ORA-00600.cantemo. Next drop the corrupted segment. 2009 at 11:33 pm and is filed under Oracle How-To. My action pla was to get a second UNDO table space up as quickly as possible and take offline the current UNDO tablespace. Because I was able to open my database things were looking pretty good. ORA-01034. ORA-27101. ORA-08007. My UNDO table space has the corruption. May 18th. alter system set undo_tablespace=undotbs2 scope=both. This will stop the database from Is I had pending transaction in my UNDO table space things would have been a bit more tricky. Then take the original UNDO tablespace offline alter tablespace undotbs1 offline. drop rollback segment "_SYSSMU22$".How To Repair UNDO log corruption | Square DBA . You can follow any responses to this entry through the RSS 2. Rollback.html from dba_rollback_segs where tablespace_name='undotbs_corrupt' and status = ‘NEEDS RECOVERY’. undo Looking to replace FCSvr? Cantemo Portal™ is the ideal replacement for Final Cut Server www.squaredba.dbf’ size 500m. You can leave a response. Leave a Reply Name (required) Mail (will not be published) (required) Website 2 of 4 3/28/2013 1:18 AM .

com/how-to-repair-undo-log-corruption-122.Oracle DBA Talk http://www.html Follow Square DBA Advertisement Categories DBA Thoughts Oracle Articles Oracle How-To Oracle News Oracle Tip Site News Uncategorized Recent Posts ORA-01031 when trying to alter user XS$NULL instance_groups and parallel_instance_group Find all objects in a tablespace Move and partitioned index to a new tablespace Change a table’s default tablespace Tags 3PAR 10g 11G agent carriage return database links data warehouse ext3 filesystem forums functions grid control index iphone JFS kill session linux moving data nfs objects OEM oracle Oracle Enterprise Manager otn Partitioned Tables RAC RECYCLEBIN regex Reiser ReiserFS RMAN Rollback security shrink sqlplus storage sun TO_CHAR tablespace undo upgrade wiki Windows wordpress XFS About me Visit Oracle Community RSS Entries (RSS) Comments (RSS) Powered by WordPress | Sacramento Photography | Sacramento News .How To Repair UNDO log corruption | Square DBA .27 queries. 3 of 4 3/28/2013 1:18 AM . 1.082 seconds.squaredba.

squaredba.html 4 of 4 3/28/2013 1:18 AM .com/how-to-repair-undo-log-corruption-122.Oracle DBA Talk http://www.How To Repair UNDO log corruption | Square DBA .

Sign up to vote on this title
UsefulNot useful