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

Home -> Community -> Mailing Lists -> Oracle-L -> Anyone use V$SESSION_LONGOPS ???

Anyone use V$SESSION_LONGOPS ???

From: Orr, Steve <sorr_at_rightnow.com>
Date: Wed, 13 Mar 2002 00:13:26 -0800
Message-ID: <F001.004268D2.20020313001326@fatcity.com>


Is my V$SESSION_LONGOPS view broken?

Check out the curious results below. Notice the changing SID-serial# and how elapsed seconds gyrates. None of the below sessions are in V$SESSION. The sql address and hash is not extant in V$SQL, V$SQLAREA, etc. (Note, we are using PQO with timed statistics.)



col SID-ser# format a10
col secs format 999,999,999 heading "Elapsed|Seconds" col addhash format a15 heading "SQL Address|Hash"

select substr(lo.sid||'-'||lo.serial#,1,10) "SID-Ser#",

        lo.last_update_time "Last Update",
        lo.elapsed_seconds secs,
        lo.sql_address||'-'||lo.sql_hash_value addhash
from v$session_longops lo
where lo.username not like 'SYS%'
/
                                    Elapsed SQL Address
SID-Ser#   Last Update              Seconds Hash
---------- ------------------- ------------ ---------------
30-6021    11/28/2001 23:20:21           77 095B5B94-0
30-6021    11/28/2001 23:21:35           74 095B5B94-0
30-6021    11/28/2001 23:22:21           46 095B5B94-0
30-6021    11/28/2001 23:23:24           62 095B5B94-0
30-6021    11/28/2001 23:24:26           62 095B5B94-0
24-3435    11/28/2001 23:59:30            9 59D39B8C-363345
30-7110    11/29/2001 00:40:21            9 59D39B8C-363345
73-2593 03/07/2002 11:39:54 447,507,594 56B9FA30-792775

SQL>/

                                    Elapsed SQL Address
SID-Ser#   Last Update              Seconds Hash
---------- ------------------- ------------ ---------------
30-6021    11/28/2001 23:20:21           77 095B5B94-0
30-6021    11/28/2001 23:21:35           74 095B5B94-0
30-6021    11/28/2001 23:22:21           46 095B5B94-0
30-6021    11/28/2001 23:23:24           62 095B5B94-0
30-6021    11/28/2001 23:24:26           62 095B5B94-0
24-3435    11/28/2001 23:59:30            9 59D39B8C-363345
30-7110    11/29/2001 00:40:21            9 59D39B8C-363345
51-61397   03/07/2002 11:40:52            0 56B9FA30-792775

SQL>/
                                    Elapsed SQL Address
SID-Ser#   Last Update              Seconds Hash
---------- ------------------- ------------ ---------------
30-6021    11/28/2001 23:20:21           77 095B5B94-0
30-6021    11/28/2001 23:21:35           74 095B5B94-0
30-6021    11/28/2001 23:22:21           46 095B5B94-0
30-6021    11/28/2001 23:23:24           62 095B5B94-0
30-6021    11/28/2001 23:24:26           62 095B5B94-0
24-3435    11/28/2001 23:59:30            9 59D39B8C-363345
30-7110    11/29/2001 00:40:21            9 59D39B8C-363345
63-34890 03/07/2002 11:41:59 447,507,719 56B9FA30-792775

--

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

Author: Orr, Steve
  INET: sorr_at_rightnow.com

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: 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).

Content-Type: text/plain; name="ReadMe.txt"; charset="us-ascii" Content-Transfer-Encoding: 7bit

The previous attachment was filtered out by the ListGuru mailing software at fatcity.com because binary attachments are not appropriate for mailing lists. If you want a copy of the attachment which was removed, contact the sender directly and ask for it to be sent to you by private E-mail.

This warning is inserted into all messages containing binary attachments which have been removed by ListGuru. If you have questions about this message, contact Postmaster_at_fatcity.com for clarification.

------_=_NextPart_001_01C1C7D4.80253200--
--

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

Author: Orr, Steve
  INET: sorr_at_rightnow.com

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: 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 Wed Mar 13 2002 - 02:13:26 CST

Original text of this message

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