Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Rollback
Joel Garry wrote:
>>ORA-01628: max # extents (121) reached for rollback segment OBVIOUS3
Eh?
8i knew maxextents unlimited...
to the OP:
I would create new rollback segments (and a new rollback TS, if needed)
with larger blocksize, initial and next, say
CREATE TABLESPACE RBS DATAFILE 'D:\oracle\oradata\demo\rbs01.dbf' SIZE
64M REUSE
AUTOEXTEND ON NEXT 8M maxsize 512M
MINIMUM EXTENT 128K
DEFAULT STORAGE ( INITIAL 128K NEXT 128K MINEXTENTS 8 MAXEXTENTS 4096);
Please note:
- 64MB initial file size, autoextending with 8M will eventually
get to 512MB - modify to your situation, as long as the math
is correct
After that:
CREATE PUBLIC ROLLBACK SEGMENT RBS0 TABLESPACE RBS;
(... repeat until enough - depends on your situation, that
is: the number of concurrent transactions).
CREATE PUBLIC ROLLBACK SEGMENT RBS TABLESPACE RBS;
ALTER ROLLBACK SEGMENT RBS0 ON LINE;
... repeat for all segments
ALTER ROLLBACK SEGMENT RBS ON LINE;
You could create your rollback segments in your existing
table space, but as I do not know the storage clause of
it, I cannot tell how many extents to allocate per segment.
If you create a new TS, and rollback segments, you can offline the existing rollback segments, and start dropping them. Drop the old rollback table space as well. Make sure to remove rollback segments from the inti.Nora file - public rollback segments (as used in this example) do not need a reference in inti.Nora. Not taking out the references, after dropping the old rollback segments, will cause the instance to complain about missing rollback segments.
-- Regards, Frank van Bortel Top-posting is one way to shut me up...Received on Sat Dec 03 2005 - 09:39:01 CST
![]() |
![]() |