Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-04031 - Which packages should be kept in memory?
DA Morgan <damorgan_at_psoug.org> wrote:
> Alexander Skwar wrote:
> > Look at the demos at in Morgan's Library at www.psoug.org under > DBMS_SHARED_POOL. Also look at DBMS_SESSION.FREE_UNUSED_USER_MEMORY.
Thanks, will do so!
> But I would suggest symptom fighting is not a long term solution. > What version of Oracle (to 3 decimals)
9.2.0.4
> and what is causing the
> problem.
Some homemade application. I don't know the internals of the application. What should I find out about the application?
Error message:
A database error was reported by Oracle.
ORA-04031: unable to allocate 20 bytes of shared memory ("shared pool","ALTER SYSTEM FLUSH SHARED_POOL","sql area","logdef : apaclg")
ORA-02063: preceding line from ADMM31A
(31ulymsgs007)
I doubt that it's possible to change the SQL statements, as the developers are using some wrappers made available from an application. Those wrappers are not Oracle specific (ie. the same program could be run against a different DBMS, like MS SQL Server, as well).
> That is what needs to be determined.
Okay.
Alexander Skwar Received on Wed Apr 25 2007 - 01:30:43 CDT
![]() |
![]() |