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: Forall limit

Melanie Caffrey


Hi Dimitre,

The "limit" is associated with the "bulk collect".

If you try this out, change your syntax (below) around a bit.

The "bulk collect" would be placed inside your "forall" (since your
forall is your iteration scheme, as it were.)

Personally, I haven't tried placing a bulk collect inside a forall,
however, you *can* control the number of collection indices that you
iterate through with a forall.

Using this technique, you may be able to break up your forall into
chunks without having to include a bulk collect clause.

For example:

 FORALL e IN 1..1000 -- bulk-bind first part of varray


 FORALL e IN 1001..2000 -- bulk-bind second part of varray

and so on. The indices interated over in your FORALL statement will
match the index values in your collection, t_id_msg_list.


On 5/12/05, cichomitiko gmail <cichomitiko@(protected):
> Thanks! Is the "bulk collect limit" limits also the following forall?
> Is the "fetch c bulk collect into l_data limit 100 forall i in
> 1..l_data.count" means that forall will process 100 at a time,
> or only the "bulk collect" will process it 100 at a time and then forall
> will process all the rows simultaneously?
> Kind Regards
> Dimitre
> ----- Original Message -----
> From: "Connor McDonald" <mcdonald.connor@(protected)>
> To: <oracle-l@(protected)>
> Sent: Thursday, May 12, 2005 2:15 AM
> Subject: Re: Forall limit
> > Just do it in batches of (say) 1000
> >
> > When fetching do 'bulk collect limit 1000'.
> >
> > hth
> > connor
> >
> > On 5/12/05, cichomitiko gmail <cichomitiko@(protected):
> >> Hi all,
> >> environment:
> >> Oracle
> >> OS Solaris 8
> >> We have a procedure that fails with the fallowing error:
> >>=3D20
> >> ORA-04030: out of process memory when trying to allocate bytes (,)
> >> ORA-06512: at "PKG_PP", line 822
> >> ORA-04030: out of process memory when trying to allocate bytes (,)
> >> ORA-06500: PL/SQL: storage error
> >> ORA-06512: at line 4
> >>=3D20
> >> The procedure is using only FORALL clauses, no BULK COLLECT.
> >>=3D20
> >> It seems that the forall clause is causing the error. How can we limit
> >> th=3D
> > e
> >> input collection in this case?
> >>=3D20
> >>          FORALL e in 1..cont_tot
> >>            delete PUSH_LIST_DELIVERY where
> >>        end if;
> >>=3D20
> >> Regards
> >> Dimitre
> >>=3D20
> >> --
> >> http://www.freelists.org/webpage/oracle-l
> >>=3D20
> >
> >
> > --=3D20
> > Connor McDonald
> > =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
> > =3D3D=3D3D
> > email: connor_mcdonald@(protected)
> > web:  http://www.oracledba.co.uk
> >
> > "Semper in excremento, sole profundum qui variat"
> > --
> > http://www.freelists.org/webpage/oracle-l
> --
> http://www.freelists.org/webpage/oracle-l