Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Who has package open

RE: Who has package open

From: Khedr, Waleed <Waleed.Khedr_at_FMR.COM>
Date: Thu, 16 Jan 2003 09:35:03 -0800
Message-ID: <F001.00531A80.20030116093503@fatcity.com>


Just wrote this now (9.2). Run it while the compilation is waiting:

select *
from v$session
where saddr in (select kgllkuse

                 from DBA_KGLLOCK 
                 where kgllktype = 'Pin' 
                   and kgllkreq = 0 
                   and kgllkhdl in 
                     (select p1raw 
                       from v$session_wait 
                       where event like '%libr%pin%'))

Probably there is many other ways.

Regards,

Waleed

-----Original Message-----
[mailto:Charlie_Mengler_at_HomeDepot.com]
Sent: Thursday, January 16, 2003 10:14 AM To: Multiple recipients of list ORACLE-L

I realize that a package can't be recompiled while a session has it open.

How do I identify which session has a package open?

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Charlie_Mengler_at_HomeDepot.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Khedr, Waleed
  INET: Waleed.Khedr_at_FMR.COM
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Thu Jan 16 2003 - 11:35:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US