Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: odd number of rollback segments

Re: odd number of rollback segments

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Thu, 31 Aug 2006 15:59:01 GMT
Message-ID: <J4vDqK.4n4@igsrsparc2.er.usgs.gov>


> My system seems to be using a lot of disc space with ARC files. It's
> generating
> about 10 ARC files /min. I understand this is Bad and may indicates
> too few
> (or too small) rollback segments. Today I got an ORA-01555 for slowish
> transaction.
> Again this is probably related to RBSs.

Generation of archived redo log files has nothing to do with rollback segments. Rather, the frequency of when an archived redo log is generated has to do with how often the online redo log files switch to the next group. Increase the size of your online redo log members by at least a factor of ten, if not larger.

The ORA-1555 error is directly related to your rollback segment sizes. Increase the size of your rollback segments.

> Only two public rbs appear to be specifically created by the startup
> SQL.
> So presumably Oracle created the rest. There are 7 (RBS0-RBS6).

In Oracle 8, the database does not automatically create rollback segments for you (with the exception of the system rollback segment which is created on CREATE DATABASE. If you have rollback segments with the name RBS0 to RBS6, then someone explicitly created them.

> I've dug back though various configuration parameters
>
> processes=50 (sounds big for my environment)
> sessions=60
> transactions=66
> transactions_per_rollback_buffer=5 (TPR)
>
> hence Oracle should allocate transactions/TPR=13.2 public RBS
> and not a measly 7. Why?

Oracle 8 does not create the rollback segments for you. According to the docs, "The minimum number of rollback segments acquired at startup is TRANSACTIONS divided by the value for this parameter." where *this* parameter refers to TRANSACTIONS_PER_ROLLBACK_SEGMENT. Note the keyword *acquired*, not created.

> What do I have to do to change the number of processes? Update the
> init.ora
> and restart the database?

To change the value for PROCESSES, modify your INIT.ORA and bounce the instance. But why do you want to do this? It has nothing to do with your problem, and 50 processes is not that "big".

> My rollback segments are all 2M except for number 6 which is 4M. Why?

Because someone created the rollback segments different. Either that, or they have allocated additional extents with no OPTIMAL setting causing the rollback segment to shrink back to 2M.

At this point, I have to ask what specific problem you are trying to solve? You have talked about archived redo logs being created too frequently (10/min) and this sounds like the problem you are trying to address. But then the post talks about rollback segments and processes which have nothing to do with the above problem!

Cheers,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Aug 31 2006 - 10:59:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US