Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Corrupt rollback segments
In article <8ma8vt$3jn$1_at_neptunium.btinternet.com>,
"Mr_Lab" <t.o.b.y_at_btinternet.com> wrote:
> Hi,
> I have an 8.1.5 instance that has suffered file corruption to my
> rollback tablespace. I've tried dropping the tablespace but keep
getting:
>
> ORA-01548: active rollback segment 'R01' found, terminate dropping
> tablespace
>
> The current status off the problematic rollback tablespace is 'NEEDS
> RECOVERY'
>
> SEGMENT_NAME OWNER TABLESPACE_NAME
> SEGMENT_ID FILE_ID BLOCK_ID INITIAL_EX NEXT_EXTEN MIN_EXTENT
MAX_EXTENT
> PCT_INCREA STATUS INSTANCE_NUM
> RELATIVE_F
> ------------------------------ ------ ------------------------------
My thoughts go to shutting down the instance (abort, if necessary), then starting the instance nomount:
SVRMGR> startup nomount
Mounting the database in exclusive mode:
SVRMGR> alter database mount exclusive;
Then make an attempt to drop the rollback tablespace, including contents:
SVRMGR> drop tablespace RBS including contents;
Presuming all has gone well up to this point create a new RBS tablespace with a new datafile:
SVRMGR> create tablespace rbs datafile '...' size ...;
Recreate your rollback segments:
SVRMGR> create rollback segment r01 ...
Open the database:
SVRMGR> alter database open;
Shut down the instance:
SVRMGR> shutdown immediate
Then start the instance normally:
SVRMGR> startup
Once this is accomplished remove the corrupted datafile.
-- David Fitzjarrell Oracle Certified DBA Sent via Deja.com http://www.deja.com/ Before you buy.Received on Mon Aug 07 2000 - 00:00:00 CDT