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

4031 - errors

2004-05-27       - By Jonathan Lewis
Reply:     1     2     3     4     5     6     7     8     9     10     >>  


It is quite possible that the 'cursor_space_for_time '
setting is relevant. When set to true, this pins cursor
run-time memory into the library cache (faking the
situation of every cursor in the cache being open
and active. Since this memory can no longer be
freed, you can easily run out of memory if you
have made a small error in your estimate of
number of sessions and number of different
sql statements.

Bringing a new module into the system, adding
a new user to the system, allowing someone to
run ad hoc SQL, adding a monitoring tool -
anything which increases the number of SQL
statements, or number of sessions executing
shared sql statements, could take you into 4031.

On the other hand, is could just be a bug where
Oracle is generating lots of copies of cursors
that should be shared but aren 't. I 've just come
back from a site where there were several hundred
copies of some cursors visible in v$sql - after only
a handful of invalidations or reloads - and only a few
dozen active sessions.

Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk

http://www.jlcomp.demon.co.uk/faq/ind_faq.html
The Co-operative Oracle Users ' FAQ

http://www.jlcomp.demon.co.uk/seminar.html
Optimising Oracle Seminar - schedule updated May 1st


-- -- Original Message -- --
From: "Duret, Kathy " <kduret@(protected) >
To: <oracle-l@(protected) >
Sent: Wednesday, May 26, 2004 8:53 PM
Subject: 4031 - errors


Had a strange problems on Friday afternoon. We are on 8.1.7.4 Solaris

Had a ton of Bam - ora_04031 errors.

Tried to flush the shared pool and it would release some space but a large
chuck was not being released and this was strange since we have only acouple
of objects pinned.

When I tried to pin an object that was failing right after I would flush the
shared_pool I couldn 't get space.

Nothing new was put in that week as far as I know.

Put in a tar with Oracle and they suggested to bounce the database - which I
did later, increased the shared_pool and session_cached_cursors
We have pinned some more objects that are being loaded alot.

I looked at the sql area and nothing looked horrible, all the same normal
stuff. In fact there was really no load on the database or machine, no
swapping or paging.

It was very strange. It looked like "something " had memory and wasn 't
releasing it.



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