Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
undo segments vs. rbs

undo segments vs. rbs

2004-05-18       - By Daniel Fink
Reply:     1     2     3     4     5     6  

Unfortunately, the only tablespace format acceptable for an undo tablespace is LMT autoallocate. Uniform size is not allowed. Which
really puts a hole in the documentation 's "You can have multiple undo tablespaces with various configurations for different
operations. " IIRC, this also introduces the possibility of fragmentation within your undo tablespace (I think someone out there in
Oracle-L Land was testing this, but I don 't recall any definitive results). The bottom line is that the size of an undo segment in
auto mode is out of your control. Even the # of segments created is out of your control. You can control the size of the undo
tablespace (hey, 1 out 3 ain 't bad). My recommendation is to size it at 1.5x the current rbs tablespace size. If you want, you can
set it to autoextend, but the extent management algorithm may cause the autoextension when you really don 't need it.

I think the documentation has a formula to determine the optimal size of the undo tablespace. Unfortunately, you have to already be
running in automatic undo mode to get the necessary input data. <soapbox > It sure would have been nice if Oracle would have tracked
the undo usage data (or even a near guess) while you were using manual mode (rollback segments). That would make transition to
auto-undo so much nicer. </soapbox >

DO NOT use auto undo on high volume OLTP systems. Stay with the traditional rollback segments. It is better to have ORA-1555 (See ORA-1555.ora-code.com)s than
ORA-7445 (See ORA-7445.ora-code.com)s followed by ORA-600 (See ORA-600.ora-code.com)s followed by a call from the help desk at 3am telling you that people are complaining that the
database is down. (okay, I guess I really am still on my soapbox).

Regards,
Daniel


Mladen Gogala wrote:
> Well, I suggest you to have one LMT with uniform extent size of 67108864 bytes
> and forget about sizing and re-sizing. To save you the trouble of calculating
> 64*1048576=67108864. Nothing like the binary numbers, don 't you agree? I mean,
> if 10M is a large extent, 64M would probably be considered humongous and would
> solve all your problems. As Oracle is NOT caching extents (a very persistent
> fairy tale, with the same amount of truth as Cinderella, Sleeping Beauty or Red
> Riding Hood) you will not see any difference in performance. What you will also stop
> seeing are the coveted ORA-01555 (See ORA-01555.ora-code.com) messages. God knows when did I see my last one?
> It makes me so nostalgic.
>
> On 05/18/2004 04:34:15 PM, Paula_Stankus@(protected) wrote:
>
> >I am working on moving a productional database from 8.0.6 to 9i. I have =
> >a question: if I have 10 rbs at 128K (initial and next extent) and one =
> > "large " on at 10,485,760 bytes how does that translate into undo =
> >segments? =20
> >
> >Are there any best practices on sizing undo segments?

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --