Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-04031 error while trying to load a PL/SQL object
Pin your package to the sharedpool. This seems to resolve the issue most
times. As a rule I pin all the standard packages.
Brian Spears
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Hameed, Amir
Sent: Monday, February 06, 2006 4:32 PM
To: oracle-l_at_freelists.org
Subject: ORA-04031 error while trying to load a PL/SQL object
Folks,
I have an 11i (11.5.0)/9.2.0.6 (64-bit) database running on Solaris 8
with the following shared pool sizing:
Shared_pool: 1.2 GB
Db_cache_size: 6 GB
ODM is enabled and that is why the cache size is large. We run hot backups on this database (using use-managed backup procedure) and flush the shared pool every night after the hot backup (this process is scripted into the backup process). I pin ~ 300 packages into SGA based upon an algorithm in the pinning script. We had an issue this past Friday where some concurrent programs failed and reported the following error in their log files:
ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 ----
The action taken to remediate the problem was that we shutdown the concurrent managers and then flushed the shared pool (without bouncing the database) and the problem went away. I now have the following questions:
Any feedback will be appreciated.
Regards
Amir
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Feb 06 2006 - 16:10:01 CST
![]() |
![]() |