Home
All Oracle Error Codes
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

RE: Rollback too small... on analyze???

mkline1

2004-02-16

Replies:
On some of the tables we are talking some 180+ million rows.

There is probably along the line of 16gb of rollback segs.

They do parallel on some of the things, this table I think
they do degree 4, but they change things all the time.

We've been experimenting with various options.

They do have nologging turned on. We have up to 20 parallel
servers.

It's batch job after batch job that combines records from
tables that are perhaps even larger than this to about
8-10 tables from which they make cubes and the like.

Maks.

> -----Original Message-----
> From: oracle-l-bounce@(protected)
> [mailto:oracle-l-bounce@(protected)
> Sent: Saturday, February 14, 2004 9:48 AM
> To: oracle-l@(protected)
> Subject: Re: Rollback too small... on analyze???
>
>
> it does. turn autoextend on for your rollback tablespace to get around the
> problem. Analyze is basically doing a bunch of selects and DML.
> Both require
> rollback.
>
> how many records exist in the table originally? You can radically speed up
> your load by doing
>
> create table /*+ parallel (number) */ <table_name> nologging
> as select
> insert table joined to previous table.
>
> Then drop the old table, rename new table to old table, then issue your
> index creation as dbms_jobs. Can be MUCH faster.
>
> I dont recommend loading just 5 million records at a time. Turn autoextend
> on for your rollback tablespace and do a big insert select. The
> cursor thing
> is lame. I hate that.
>
> see my comments below...
> ----- Original Message -----
> From: "Michael Kline" <mkline1@(protected)>
> To: <oracle-l@(protected)>
> Sent: Saturday, February 14, 2004 9:28 AM
> Subject: Rollback too small... on analyze???
>
>
> > Oracle 8.1.7.4 on HP-UX.
> >
> > I've got a client trying to insert into large tables in batches of
> > 5 million rows which is taking about 20 minutes per 5 million. No
> > problem there.
> >
> > The problem seems to be that he runs an analyze compute statistics
> > afterwards and about 1 out of 5 times he gets a rollback segment
> > too small. I wouldn't think analyze uses rollback.. It happens
> > so infrequently and ALWAYS seems to work if they simply run it
> > again.
> >
> > What I suspect, though have no way to prove, is that the rollbacks
> > are still dumping out after the last batch of inserts and the
> > analyze gets a bit confused on this.
> >
> > I have suggested they put a 3-5 minute "wait" before they run
> > the analyze and see if that clears the problem up.
>
> dont do this. just turn autoextend on for your rollback tablespace. Its
> easier. you can always shrink it back down after your done.
> >
> > Is there any firm foundation to this?
> >
> > What might be cause this?
> >
> > The only other process running at the time was another insert
> > batch on a different table.
> >
> >
> > Michael Kline, Principal Consultant
> > Business To Business Solutions, LLC
> > Richmond, VA
> > 804-744-1545
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > 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
> > -----------------------------------------------------------------
>
> ----------------------------------------------------------------
> 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
> -----------------------------------------------------------------


----------------------------------------------------------------
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
-----------------------------------------------------------------