Home » RDBMS Server » Server Administration » Rollback segments too small
Rollback segments too small [message #56544] Mon, 07 April 2003 16:32 Go to next message
Joe
Messages: 138
Registered: November 1999
Senior Member
My rollback segments are too small. I have errors in my alert log that appear when attempting to run a database job. My question is what is the best way to size my rollback segments larger.

Create rollback segment new_rbs blah blah
and
drop rollback segment old_rbs.

Thank you in advance.
Re: Rollback segments too small [message #56545 is a reply to message #56544] Mon, 07 April 2003 23:35 Go to previous messageGo to next message
Vikas Gupta
Messages: 115
Registered: February 2002
Senior Member
You can do the following steps:

1. Create the Rollback Segment:
Create rollback segment rb17 storage
(initial 100k next 100k optimal 4m
minextents 20 maxextents 100 );

2. Bring the Rollback Segment Online:
Alter Rollback Segment rb17 online;

3. Alter the Parameter file to bring it Online
automatically whenever the instance starts.

Generally a thumb rule for rollback segments is:
No. of Users / No. Of RBS
< 16 / 4
16 - 32 / 8
> 32 / # of Users / 4.

Important Notes:

*Pctincrease will always be zero
*Initial & Next equal, this guarantees that the space
released could be used by another RBS.
*minextents = 20
*Always set Optimal.
*Make Sure all RBS same size.

Droping RBS:

1. First take it offline.
Alter Rollback Segment Rb1 Offline;

Note: Although all RBS becomes offline, you
wont be able to remove it, until all
transactions assigned to segment are
complete, check status in V$ROLLSTAT
it should be OFFLINE.

2. Drop it.
Drop Rollback Segment RB1;
Re: Rollback segments too small [message #56559 is a reply to message #56544] Tue, 08 April 2003 16:47 Go to previous message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
You can only resize a rollback segment by droping it first and then recreating it with bigger size.

I think you got that already. However, before dropping the existing RBS - make sure nobody is using it. You can check that with this script - < a href=http://www.dbaclick.com/modules.php?op=modload&name=News&file=article&sid=175> Click Here [/url]

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Previous Topic: Urgent please! Converting Client to Oracle Server
Next Topic: moving data wiht db_link
Goto Forum:
  


Current Time: Fri Sep 20 06:44:16 CDT 2024