Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ora-04031
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_at_za.didata.com
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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of George Leonard
Sent: 11 March 2004 10:54 AM
To: oracle-l_at_freelists.org
Subject: RE: ora-04031
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_at_za.didata.com
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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of
chris_at_thedunscombes.f2s.com
Sent: 11 March 2004 10:47 AM
To: oracle-l_at_freelists.org
Subject: Re: ora-04031
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: 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_at_za.didata.com
> 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_at_thedunscombes.f2s.com
-- 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 " ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org 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 -----------------------------------------------------------------Received on Thu Mar 11 2004 - 04:20:53 CST
![]() |
![]() |