Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number of Rollback segments does not exceed 29 1

Status
Not open for further replies.

sants

MIS
Aug 2, 1999
19
VN
I was trying to create about 40 rollback segments on an Oracle installation Vr. 7.3.4 on W-NT. I could not add more than 29 rollback segments in the init file. when starting up the instance with more than 29 rbs, an error which says that the buffer cache is full appears. What do I need to do? Am I missing something here?
 
Yup, you're missing something...<br>
<br>
The &quot;rollback_segments&quot; parameter in the &quot;init.ora&quot; file is only used for naming those rollback segments to be brought &quot;online&quot; by the instance upon startup. It does not create rollback segments and it does not represent a limit on the number of rollback segments. Quite literally, it simply provides the instance with list to issue the ALTER ROLLBACK SEGMENT xxx ONLINE command.<br>
<br>
I am doubtful that your error message says specifically that the &quot;buffer cache is full&quot;; I think rather that that is your interpretation of the message. Instead, it would be helpful if you displayed the actual numeric Oracle error number (i.e. &quot;ORA-01562&quot;) and alternately the actual text of the Oracle error message (&quot;out of space to extend rollback segment in tablespace XXX&quot;), instead of an interpretation.<br>
<br>
It is possible that the string value for the ROLLBACK_SEGMENTS parameter simply exceeded some kind of length limit for WinNT or something like that. Log a TAR with Oracle Support and be prepared to email them your &quot;init.ora&quot; file...<br>
<br>
I've seen many databases on either UNIX or NT which have over 60 rollback segments. There is no hard limit on the number you can have, although the practical limit is really somewhere between 60 and 80 in most cases...<br>
<br>
In the meantime, you can simply perform ALTER ROLLBACK SEGMENT xxx ONLINE manually, if you wish...<br>
<br>
Thanks! Hope this helps...<br>
<br>
-Tim
 
I think that you are running into a problem with exceeding the max_rollback_segments init parameter. The default value for this parameter is 30, which would include the system rollback segment and any other rollback segments that you try to bring online. From the Oracle7 Server Reference Manual:<br>
<br>
MAX_ROLLBACK_SEGMENTS<br>
<br>
Default value : 30<br>
<br>
Range of values: 1-65536<br>
<br>
MAX_ROLLBACK_SEGMENTS specifies the maximum size of the rollback segment cache in the SGA. The number specified signifies the maximum number of rollback segments that can be kept online (that is, status of INUSE) simultaneously by one instance. For more information, see the Oracle7 Administrator's Guide.<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top