Hi,
On our production server we had 45 rollback segments.
Every day on particular time we are getting following error some time with SELECT statement or INSERT..SELECT statement:
ORA-01555 caused by SQL statement below (SCN: 0x0001.8bbac31a):
Thu Dec 25 22:30:20 2003
In Error, we are getting SCN number but not any rollback segment number.
During that period we ran statpack report for @45min. In report, Pct Waits is 0(Zero) and Avg Active size is also not crossing Optimal Size. But still we received an error, after that we decided to increase no of rollback segment upto 75 with INITIAL 10M and NEXT 5MB, Problem is not solved.
We tried to check whether it is happening because of Block clean out process by executing individual select on the tables but we got same redo size before and after select statement.
We don't want to set particular rollback segment to transaction.
How to solve this problem, what are the things need to look now?
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
------ -------------- ------- --------------- -------- -------- --------
0 10.0 0.00 0 0 0 0
2 256.0 0.00 655,860 0 0 0
3 20.0 0.00 806 0 0 0
4 44.0 0.00 7,242 0 0 0
5 52.0 0.00 3,434 0 0 0
6 48.0 0.00 8,248 0 0 0
7 60.0 0.00 4,000 0 0 0
8 24.0 0.00 1,050 0 0 0
9 24.0 0.00 3,818 0 0 0
10 14.0 0.00 368 0 0 0
11 20.0 0.00 1,694 0 0 0
12 30.0 0.00 4,724 0 0 0
13 30.0 0.00 2,322 0 0 0
14 22.0 0.00 888 0 0 0
15 14.0 0.00 276 0 0 0
16 22.0 0.00 1,108 0 0 0
17 18.0 0.00 728 0 0 0
18 18.0 0.00 552 0 0 0
19 18.0 0.00 668 0 0 0
20 31.0 0.00 19,268 0 0 0
21 30.0 0.00 1,524 0 0 0
22 18.0 0.00 588 0 0 0
23 32.0 0.00 1,566 0 0 0
24 30.0 0.00 4,958 0 0 0
25 16.0 0.00 426 0 0 0
26 20.0 0.00 702 0 0 0
27 44.0 0.00 2,762 0 0 0
28 52.0 0.00 9,528 0 0 0
29 50.0 0.00 3,144 0 0 0
30 62.0 0.00 12,064 0 0 0
31 25.0 0.00 8,236 0 0 0
32 24.0 0.00 1,114 0 0 0
33 16.0 0.00 426 0 0 0
34 20.0 0.00 746 0 0 0
35 28.0 0.00 1,502 0 0 0
36 28.0 0.00 2,840 0 0 0
37 24.0 0.00 1,194 0 0 0
38 16.0 0.00 642 0 0 0
39 20.0 0.00 714 0 0 0
40 18.0 0.00 740 0 0 0
41 18.0 0.00 576 0 0 0
42 18.0 0.00 716 0 0 0
43 26.0 0.00 2,340 0 0 0
44 30.0 0.00 2,546 0 0 0
45 16.0 0.00 470 0 0 0
-------------------------------------------------------------
Rollback Segment Storage for DB: O05CSW3 Instance: O05CSW3 Snaps: 29 -30
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
------ --------------- --------------- --------------- ---------------
0 401,408 0 401,408
2 15,720,448 5,245,490 15,728,640 47,177,728
3 15,720,448 5,369,973 15,728,640 20,963,328
4 15,720,448 5,303,413 15,728,640 36,691,968
5 15,720,448 5,363,618 15,728,640 31,449,088
6 15,720,448 6,849,381 15,728,640 57,663,488
7 15,720,448 5,483,326 15,728,640 26,206,208
8 15,720,448 5,532,050 15,728,640 26,206,208
9 15,720,448 5,553,493 15,728,640 57,663,488
10 15,720,448 5,267,081 15,728,640 31,449,088
11 15,720,448 5,665,448 15,728,640 26,206,208
12 15,720,448 5,268,269 15,728,640 110,092,288
13 15,720,448 5,800,168 15,728,640 41,934,848
14 15,720,448 6,006,413 15,728,640 47,177,728
15 15,720,448 7,062,102 15,728,640 52,420,608
16 15,720,448 5,705,462 15,728,640 41,934,848
17 15,720,448 5,462,843 15,728,640 57,663,488
18 15,720,448 5,309,849 15,728,640 31,449,088
19 15,720,448 6,119,094 15,728,640 445,636,608
20 15,720,448 5,268,105 15,728,640 445,636,608
21 15,720,448 5,450,980 15,728,640 47,177,728
22 15,720,448 7,020,310 15,728,640 47,177,728
23 15,720,448 7,002,246 15,728,640 41,934,848
24 15,720,448 5,346,636 15,728,640 183,492,608
25 15,720,448 5,987,975 15,728,640 41,934,848
26 15,720,448 5,333,102 15,728,640 31,449,088
27 15,720,448 5,462,412 15,728,640 47,177,728
28 15,720,448 5,247,884 15,728,640 47,177,728
29 15,720,448 5,241,468 15,728,640 36,691,968
30 15,720,448 5,380,344 15,728,640 31,449,088
31 15,720,448 5,281,938 15,728,640 26,206,208
32 15,720,448 5,395,238 15,728,640 31,449,088
33 15,720,448 5,290,287 15,728,640 62,906,368
34 15,720,448 5,256,007 15,728,640 41,934,848
35 15,720,448 5,243,383 15,728,640 20,963,328
36 15,720,448 5,266,780 15,728,640 41,934,848
37 15,720,448 5,295,158 15,728,640 73,392,128
38 15,720,448 5,668,529 15,728,640 52,420,608
39 15,720,448 6,501,956 15,728,640 47,177,728
40 15,720,448 5,570,874 15,728,640 20,963,328
41 15,720,448 5,393,767 15,728,640 31,449,088
42 15,720,448 5,366,338 15,728,640 36,691,968
43 15,720,448 5,476,919 15,728,640 26,206,208
44 15,720,448 5,973,525 15,728,640 41,934,848
45 15,720,448 5,425,109 15,728,640 52,420,608
-------------------------------------------------------------
SQL> select sum(bytes),tablespace_name from dba_data_files where tablespace_name like 'RBS_%' group by tablespace_name;
SUM(BYTES) TABLESPACE_NAME
---------- ------------------------------
4194304000 RBS_01
4194304000 RBS_02
Thanks,