Not sure about 1 & 2, but I believe v$db_object_cache is what you want for #3. -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Schauss, Peter Sent: Wednesday, July 13, 2005 10:45 AM To: oracle-l@xxxxxxxxxxxxx Subject: Which packages to pin Oracle 8.1.7.4 - Aix 5.2. As a cure for the ORA-4031 errors which we are getting (up to 5 per day), I am looking at the possibility of pinning some of my stored procedures and triggers. Looking at the Toad Pinned Code screen combined with what I know about the application gives me a good idea of what parts of the application code should be pinned, but I do have some questions: 1. Are triggers normally candidates for pinning? (Toad lists them on its screen, so I infer that they are.) 2. Should I also pin some of the system packages which are displayed on the Toad Pinned Code screen? (e.g. DBMS_OUTPUT, STANDARD, DBMS_STANDARD, DBMS_SQL...) 3. Which of the dynamic views (V$... ) lists the packages, stored procedures, and triggers currently in the shared pool? Thanks, Peter Schauss -- //www.freelists.org/webpage/oracle-l Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. -- //www.freelists.org/webpage/oracle-l