This one has me confused - If I have a package pinned, why has it been loaded into
the SGA more than once? The database has been up for about 15 hours.
SQL> run
1 select owner || '.' || name OBJECT
2 , type
3 , to_char(sharable_mem/1024,'9,999.9') "SPACE(K)"
4 , loads
5 , executions execs
6 , kept
7 from v$db_object_cache
8 where type in ('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
9 and (loads > 1 or (executions > 5000 and sharable_mem > 102400) or executions
> 20000)
10* order by executions
All Packages Not Owned by SYS
OBJECT TYPE SPACE(K) LOADS EXECS KEPT
---------------------------------- ------------- -------- -------- -------- ----
SYS.DBMS_OUTPUT PACKAGE 20.3 16 187 YES
SYS.DBMS_APPLICATION_INFO PACKAGE 20.2 18 1,297 YES
Thanks,
Jay
**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the
individual or entity to which they are addressed and may contain information that is
privileged, proprietary and confidential. If you are not the intended recipient, you
may not use, copy or disclose to anyone the message or any information contained in
the message. If you have received this communication in error, please notify the
sender and delete this e-mail message. The contents do not represent the opinion of
D&E except to the extent that it relates to their official business.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jay Hostetter
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).