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

ora-04031

2004-03-11       - By George Leonard
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi there

It seems this did not help. (problem was not on the application server
infrastructure database)

And as for the production database the shared pool is huge and most of
it is unused and free.

I am looking at scripts to see if I can figure out what the problem is.



George

__ ____ ____ ____ ____ ____ ____ ____ ____ _____

George Leonard
Oracle Database Administrator
Dimension Data (Pty) Ltd
(Reg. No. 1987/006597/07)
Tel: (+27 11) 575 0573
Fax: (+27 11) 576 0573
E-mail:george.leonard@(protected)
Web: http://www.didata.co.za

You Have The Obligation to Inform One Honestly of the risk, And As a
Person
You Are Committed to Educate Yourself to the Total Risk In Any Activity!
Once Informed & Totally Aware of the Risk,
Every Fool Has the Right to Kill or Injure Themselves as They See Fit!


-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of George Leonard
Sent: 11 March 2004 10:54 AM
To: oracle-l@(protected)
Subject: RE: ora-04031 (See ora-04031.ora-code.com)

Hi there

We found something interesting, it normally happens on a specific set of
queries, big ones. What we found if execute via the front end (Oracle
Application server involved) we get this error, if executed via toad
directly on the back end we have no problems.

What we are thinking is that the error is actually produced by the
application servers infrastructure database. We are altering the shared
pool and buffer cache parameters for this and restarting the environment
to see if this resolves our problems.

George

__ ____ ____ ____ ____ ____ ____ ____ ____ _____

George Leonard
Oracle Database Administrator
Dimension Data (Pty) Ltd
(Reg. No. 1987/006597/07)
Tel: (+27 11) 575 0573
Fax: (+27 11) 576 0573
E-mail:george.leonard@(protected)
Web: http://www.didata.co.za

You Have The Obligation to Inform One Honestly of the risk, And As a
Person
You Are Committed to Educate Yourself to the Total Risk In Any Activity!
Once Informed & Totally Aware of the Risk,
Every Fool Has the Right to Kill or Injure Themselves as They See Fit!



-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of
chris@(protected)
Sent: 11 March 2004 10:47 AM
To: oracle-l@(protected)
Subject: Re: ora-04031 (See ora-04031.ora-code.com)

George,

Does this always happen even after a shutdown and restart of the
database?
It might help to look at the size of the free chunks in the SGA. Steve
Adam 's
ixora site (www.ixora.com.au) has some excellent scripts for getting the
size
of each of the free chunks.

HTH

Chris


Quoting George Leonard :

> Hi all, weird thing, the developers is executing pretty big queries
via
> java. Sometimes on some of the queries they get this error, if they
take
> the SQL and execute it via sqlplus immediate it works no errors.
>
> java.sql.SQLException: ORA-04031 (See ORA-04031.ora-code.com): unable to allocate 1553024 bytes of
> shared memory ( "shared pool ", "select (isoyear * 100) +
> iso... ", "Typecheck heap ", "qry_text : qcpisqt ")
>
> George
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ _____
>
> George Leonard
> Oracle Database Administrator
> Dimension Data (Pty) Ltd
> (Reg. No. 1987/006597/07)
> Tel: (+27 11) 575 0573
> Fax: (+27 11) 576 0573
> E-mail:george.leonard@(protected)
> Web: http://www.didata.co.za
>
> You Have The Obligation to Inform One Honestly of the risk, And As a
> Person
> You Are Committed to Educate Yourself to the Total Risk In Any
Activity!
> Once Informed & Totally Aware of the Risk,
> Every Fool Has the Right to Kill or Injure Themselves as They See Fit!

>
>
>
>
> "This e-mail is sent on the Terms and Conditions that can be accessed
by
> Clicking on this link http://www.vodacom.net/legal/email.asp "
>


Chris Dunscombe

chris@(protected)

-- ---- ---- ---- ---- ---- ---- ---- ---- ------
Everyone should have http://www.freedom2surf.net/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- "This
e-mail is sent on the Terms and Conditions that can be accessed by
Clicking on this link http://www.vodacom.net/legal/email.asp "


?This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.asp "

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<html xmlns:o= "urn:schemas-microsoft-com:office:office " xmlns:w= "urn:schemas-microsoft-com:office:word " xmlns= "http://www.w3.org/TR/REC-html40 " >

<head >
<meta http-equiv=Content-Type content= "text/html; charset=us-ascii " >
<meta name=ProgId content=Word.Document >
<meta name=Generator content= "Microsoft Word 10 " >
<meta name=Originator content= "Microsoft Word 10 " >
<link rel=File-List href= "cid:filelist.xml@(protected) " >
<title >Untitled </title >
<!--[if gte mso 9] > <xml >
<o:OfficeDocumentSettings >
<o:DoNotRelyOnCSS/ >
</o:OfficeDocumentSettings >
</xml > <![endif]-- > <!--[if gte mso 9] > <xml >
<w:WordDocument >
<w:SpellingState >Clean </w:SpellingState >
<w:GrammarState >Clean </w:GrammarState >
<w:DocumentKind >DocumentEmail </w:DocumentKind >
<w:EnvelopeVis/ >
<w:Compatibility >
<w:ApplyBreakingRules/ >
</w:Compatibility >
<w:BrowserLevel >MicrosoftInternetExplorer4 </w:BrowserLevel >
</w:WordDocument >
</xml > <![endif]-- >
<style >
<!--
/* Font Definitions */
@(protected)
   {font-family:Tahoma;
   panose-1:2 11 6 4 3 5 4 4 2 4;
   mso-font-charset:0;
   mso-generic-font-family:swiss;
   mso-font-pitch:variable;
   mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
   {mso-style-parent: " ";
   margin:0cm;
   margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:12.0pt;
   font-family: "Times New Roman ";
   mso-fareast-font-family: "Times New Roman ";}
a:link, span.MsoHyperlink
   {color:blue;
   text-decoration:underline;
   text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
   {color:blue;
   text-decoration:underline;
   text-underline:single;}
span.EmailStyle17
   {mso-style-type:personal-reply;
   mso-style-noshow:yes;
   mso-ansi-font-size:10.0pt;
   mso-bidi-font-size:10.0pt;
   font-family:Arial;
   mso-ascii-font-family:Arial;
   mso-hansi-font-family:Arial;
   mso-bidi-font-family:Arial;
   color:navy;}
span.GramE
   {mso-style-name: " ";
   mso-gram-e:yes;}
@(protected) Section1
   {size:612.0pt 792.0pt;
   margin:72.0pt 90.0pt 72.0pt 90.0pt;
   mso-header-margin:35.4pt;
   mso-footer-margin:35.4pt;
   mso-paper-source:0;}
div.Section1
   {page:Section1;}
-- >
</style >
<!--[if gte mso 10] >
<style >
/* Style Definitions */
table.MsoNormalTable
   {mso-style-name: "Table Normal ";
   mso-tstyle-rowband-size:0;
   mso-tstyle-colband-size:0;
   mso-style-noshow:yes;
   mso-style-parent: " ";
   mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
   mso-para-margin:0cm;
   mso-para-margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:10.0pt;
   font-family: "Times New Roman ";}
</style >
<![endif]-- >
</head >

<body lang=EN-US link=blue vlink=blue style= 'tab-interval:36.0pt ' >

<div class=Section1 >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' >Hi there <o:p > </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' >It seems this did not help. ( <span
class=GramE >problem </span > was not on the application server infrastructure
database) <o:p > </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' >And as for the production database the
shared pool is huge and most of it is unused and free. <o:p > </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' >I am looking at scripts to see if I can figure
out what the problem is. <o:p > </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy ' > <o:p >  </o:p > </span > </font > </p >

<div >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes ' >George </span > </font > <font
color=navy > <span style= 'color:navy;mso-no-proof:yes ' > <o:p > </o:p > </span > </font > </p >

<div >

<p class=MsoNormal > <font size=3 color=navy face= "Times New Roman " > <span
style= 'font-size:12.0pt;color:navy;mso-no-proof:yes ' >  <o:p > </o:p > </span > </font > </p >

</div >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes ' >__ ____ ____ ____ ____ ____ ____ ____ ____ _____ </span > </font > <font
color=navy > <span style= 'color:navy;mso-no-proof:yes ' > <o:p > </o:p > </span > </font > </p >

<div >

<p class=MsoNormal > <font size=3 color=navy face= "Times New Roman " > <span
style= 'font-size:12.0pt;color:navy;mso-no-proof:yes ' >  <o:p > </o:p > </span > </font > </p >

</div >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes ' >George Leonard <br >
Oracle Database Administrator <br >
Dimension Data (Pty) Ltd <br >
(Reg. No. 1987/006597/07) <br >
Tel: (+27 11) 575 0573 <br >
Fax: (+27 11) 576 0573 <br >
E-mail: </span > </font > <u > <font size=2 color= "#3366ff " face=Arial > <span
style= 'font-size:10.0pt;font-family:Arial;color:#3366FF;mso-no-proof:yes ' >george.leonard@(protected) </span > </font > </u > <font
size=2 color=navy face=Arial > <span style= 'font-size:10.0pt;font-family:Arial;
color:navy;mso-no-proof:yes ' > <br >
Web:   <a href= "http://www.didata.co.za " >http://www.didata.co.za </a > </span > </font > <font
color=navy > <span style= 'color:navy;mso-no-proof:yes ' > <o:p > </o:p > </span > </font > </p >

<div >

<p class=MsoNormal > <font size=3 color=navy face= "Times New Roman " > <span
style= 'font-size:12.0pt;color:navy;mso-no-proof:yes ' >  <o:p > </o:p > </span > </font > </p >

</div >

<p class=MsoNormal > <font size=2 color=navy face=Arial > <span style= 'font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes ' >You Have The Obligation
to Inform One Honestly of the risk, And As a Person <br >
You Are Committed to Educate Yourself to the Total Risk In Any Activity! <br >
Once Informed & Totally Aware of the Risk, <br >
Every Fool Has the Right to Kill or Injure Themselves as They See Fit! </span > </font > <font
color=navy > <span style= 'color:navy;mso-no-proof:yes ' > <o:p > </o:p > </span > </font > </p >

<div >

<p class=MsoNormal > <font size=3 color=navy face= "Times New Roman " > <span
style= 'font-size:12.0pt;color:navy;mso-no-proof:yes ' >  <o:p > </o:p > </span > </font > </p >

</div >

<p class=MsoNormal > <font size=3 color=navy face= "Times New Roman " > <span
style= 'font-size:12.0pt;color:navy;mso-no-proof:yes ' >  </span > </font > <o:p > </o:p > </p >

</div >

<p class=MsoNormal style= 'margin-left:36.0pt ' > <font size=2 face=Tahoma > <span
style= 'font-size:10.0pt;font-family:Tahoma ' >-- --Original Message-- -- <br >
<b > <span style= 'font-weight:bold ' >From: </span > </b >
oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <b > <span
style= 'font-weight:bold ' >On Behalf Of </span > </b >George Leonard <br >
<b > <span style= 'font-weight:bold ' >Sent: </span > </b > 11 March 2004 10:54 AM <br >
<b > <span style= 'font-weight:bold ' >To: </span > </b > oracle-l@(protected) <br >
<b > <span style= 'font-weight:bold ' >Subject: </span > </b > RE: ora-04031 (See ora-04031.ora-code.com) </span > </font > </p >

<p class=MsoNormal style= 'margin-left:36.0pt ' > <font size=3
face= "Times New Roman " > <span style= 'font-size:12.0pt ' > <o:p >  </o:p > </span > </font > </p >

<p class=MsoNormal style= 'margin-left:36.0pt ' > <font size=3
face= "Times New Roman " > <span style= 'font-size:12.0pt ' >Hi there <br >
<br >
We found something interesting, it normally happens on a specific set of <br >
queries, big ones. What we found if execute via the front end (Oracle <br >
Application server involved) we get this error, if executed via toad <br >
directly on the back end we have no problems. <br >
<br >
What we are thinking is that the error is actually produced by the <br >
application servers infrastructure database. We are altering the shared <br >
pool and buffer cache parameters for this and restarting the environment <br >
to see if this resolves our problems. <br >
<br >
George <br >
<br >
__ ____ ____ ____ ____ ____ ____ ____ ____ _____ <br >
<br >
George Leonard <br >
Oracle Database Administrator <br >
Dimension Data (Pty) Ltd <br >
(Reg. No. 1987/006597/07) <br >
Tel: (+27 11) 575 0573 <br >
Fax: (+27 11) 576 0573 <br >
E-mail:george.leonard@(protected) <br >
Web: http://www.didata.co.za <br >
<br >
You Have The Obligation to Inform One Honestly of the risk, And As a <br >
Person <br >
You Are Committed to Educate Yourself to the Total Risk In Any Activity! <br >
Once Informed & Totally Aware of the Risk, <br >
Every Fool Has the Right to Kill or Injure Themselves as They See Fit! <br >
<br >
<br >
<br >
-- --Original Message-- -- <br >
From: oracle-l-bounce@(protected) <br >
[mailto:oracle-l-bounce@(protected)] On Behalf Of <br >
chris@(protected) <br >
Sent: 11 March 2004 10:47 AM <br >
To: oracle-l@(protected) <br >
Subject: Re: ora-04031 (See ora-04031.ora-code.com) <br >
<br >
George, <br >
<br >
Does this always happen even after a shutdown and restart of the <br >
database? <br >
It might help to look at the size of the free chunks in the SGA. Steve <br >
Adam 's <br >
ixora site (www.ixora.com.au) has some excellent scripts for getting the <br >
size <br >
of each of the free chunks. <br >
<br >
HTH <br >
<br >
Chris <br >
<br >
<br >
Quoting George Leonard <leonarge@(protected) >: <br >
<br >
> Hi all, weird thing, the developers is executing pretty big queries <br >
via <br >
> java. Sometimes on some of the queries they get this error, if they <br >
take <br >
> the SQL and execute it via sqlplus immediate it works no errors. <br >
> <br >
> java.sql.SQLException: ORA-04031 (See ORA-04031.ora-code.com): unable to allocate 1553024 bytes of <br >
> shared memory ("shared pool","select (isoyear * 100) + <br >
> iso...","Typecheck heap","qry_text : qcpisqt") <br >
> <br >
> George <br >
> <br >
> __ ____ ____ ____ ____ ____ ____ ____ ____ _____ <br >
> <br >
> George Leonard <br >
> Oracle Database Administrator <br >
> Dimension Data (Pty) Ltd <br >
> (Reg. No. 1987/006597/07) <br >
> Tel: (+27 11) 575 0573 <br >
> Fax: (+27 11) 576 0573 <br >
> E-mail:george.leonard@(protected) <br >
> Web: http://www.didata.co.za <br >
> <br >
> You Have The Obligation to Inform One Honestly of the risk, And As a <br >
> Person <br >
> You Are Committed to Educate Yourself to the Total Risk In Any <br >
Activity! <br >
> Once Informed & Totally Aware of the Risk, <br >
> Every Fool Has the Right to Kill or Injure Themselves as They See Fit! <br >
<br >
> <br >
> <br >
> <br >
> <br >
> "This e-mail is sent on the Terms and Conditions that can be accessed <br >
by <br >
> Clicking on this link http://www.vodacom.net/legal/email.asp " <br >
> <br >
<br >
<br >
Chris Dunscombe <br >
<br >
chris@(protected) <br >
<br >
-- ---- ---- ---- ---- ---- ---- ---- ---- ------ <br >
Everyone should have http://www.freedom2surf.net/ <br >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ <br >
Please see the official ORACLE-L FAQ: http://www.orafaq.com <br >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ <br >
To unsubscribe send email to: oracle-l-request@(protected) <br >
put 'unsubscribe ' in the subject line. <br >
-- <br >
Archives are at http://www.freelists.org/archives/oracle-l/ <br >
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html <br >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- “This
e-mail is sent on the Terms and Conditions that can be accessed by Clicking on
this link  <a href= "http://www.vodacom.net/legal/email.asp " >http://www.vodacom.net/legal/email.asp </a >
" <o:p > </o:p > </span > </font > </p >

</div >


?This e-mail is sent on the Terms and Conditions that can be accessed by
Clicking on this link  <A
href= "http://www.vodacom.net/legal/email.asp " >http://www.vodacom.net/legal/email.asp </A >
"
</body >

</html >