Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Ora 4031
On 5/2/05, Burton, Laura <BurtonL_at_frmaint.com> wrote:
> I have just created a database for 9.2.0.1 on Windows 2003. This was an
> 8.1.6 database that I imported the database from. Today we started
> getting these errors on only one application, which does perform a lot
> of pl/sql. We did not get those errors on the 8.1.6 database version. =
=3D20
>=20
>=20
>=20
>=20
Hi Laura.
Did you happen to re-run catpatch after creating the database using dbca?
Did you run catpatch after applying the 9.2.0.6 patchset?
Check v$sgastat for free memory in the shared pool.
What you might have is fragmentation of the shared pool:
There may be bytes available, but no contiguous chunks big enough.
Have you tried increasing the value of the shared_pool_size (what was
it, is it now)?
Do you have larger objects pinned, using the package dbms_shared_pool?
After flushing the shared pool,
(SQL> alter system flush shared_pool;)
how long was it before the ORA-4031 errors resumed?
What is the value for the parameter shared_pool_reserved_size?
What is the value for the parameter cursor_sharing?
How many CPUs are in the box?
There are several notes in Metalink regarding this class of errors. As 9.2 has multiple child latches for the shared pool, you might be in more trouble than in 8.1.6 as the chunks are divided over multiple lists/chains.
Memory usage always increases as one upgrades. This was true for 8.1.7 to 9.2, and especially true for 9.2 to 10.1.
hth.
Paul
--=20
#/etc/init.d/init.cssd stop
# f=3Dma, divide by 1, convert to moles.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon May 02 2005 - 19:30:45 CDT
![]() |
![]() |