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
Oracle 10 on linux

Oracle 10 on linux

2006-07-11       - By Jared Still

Reply:     1     2     3     4  

On 7/11/06, John Dunn <jdunn@(protected)> wrote:
>
> I am running Oracle 10 R2  on linux with automatic memory management and
> keep getting the following error :
>
> ORA-04031 (See ORA-04031.ora-code.com): unable to
> allocate 3888 bytes of shared memory ("shared pool","unknown object","sga
> heap(1,0)","kglsim object batch"
>
> Anyone else seen this?
>
>
Yes.

Increase your shared pool size.

v$sgastat may report that there is plenty of memory, but you may still see
errors.

250meg is considered by some to be the minimum allowable shared pool size on
10g.

Moving a database with minimal memory requirements to 10g (64bit) on linux
required setting
the sga_target size to 400m, and the shared_pool_size to 250m.

This is a little more than double what the memory requirements were on 8i.

I have not tried to troubleshoot this down to a root cause, as it is all
working at the moment.
(Yes, always other things to do)

You could also try going back to fully manual memory management.
ie. set sga_target to 0, and manually set db_cache_size, shared_pool_size...


--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

On 7/11/06, <b class="gmail_sendername">John Dunn</b> &lt;<a href="mailto:jdunn
@(protected)">jdunn@(protected)</a>&gt; wrote:<div><span class="gmail_quote"></span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204)
; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am running Oracle 10 R2&nbsp;&nbsp;on linux with automatic memory management
and<br>keep getting the following error :<br><br>ORA-04031 (See ORA-04031.ora-code.com): unable to<br
>allocate 3888 bytes of shared memory (&quot;shared pool&quot;,&quot;unknown
object&quot;,&quot;sga
<br>heap(1,0)&quot;,&quot;kglsim object batch&quot;<br><br>Anyone else seen
this?<br><br></blockquote></div><br>Yes.<br><br>Increase your shared pool size.
<br><br>v$sgastat may report that there is plenty of memory, but you may still
see errors.
<br><br>250meg is considered by some to be the minimum allowable shared pool
size on 10g.<br><br>Moving a database with minimal memory requirements to 10g
(64bit) on linux required setting<br>the sga_target size to 400m, and the shared
_pool_size to 250m.
<br><br>This is a little more than double what the memory requirements were on
8i.<br><br>I have not tried to troubleshoot this down to a root cause, as it is
all working at the moment.<br>(Yes, always other things to do)
<br><br>You could also try going back to fully manual memory management.<br>ie.
set sga_target to 0, and manually set db_cache_size, shared_pool_size...<br><br
><br clear="all">-- <br>Jared Still<br>Certifiable Oracle DBA and Part Time Perl
Evangelist
<br>