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: V$SESSION

RE: V$SESSION

From: Mark Leith <mark_at_cool-tools.co.uk>
Date: Fri, 12 Apr 2002 06:18:26 -0800
Message-ID: <F001.00443263.20020412061826@fatcity.com>

  1. The user has connected, but not issued a SQL statement.
  2. The user has been connected a while, issued a statement some time ago, but that statement has been flushed via the buffer under the LRU algorithm.

Any more?

HTH Mark


 Mark Leith             | T: +44 (0)1905 330 281
 Sales & Marketing      | F: +44 (0)870 127 5283
 Cool Tools UK Ltd      | E: mark_at_cool-tools.co.uk

===================================================
http://www.cool-tools.co.uk Maximising throughput & performance

-----Original Message-----
Mengler
Sent: 11 April 2002 21:29
To: Multiple recipients of list ORACLE-L

If there is an entry in V$SESSION, does it imply that user has a current session within the instance?

If not, how do I determine which users have logged out of the DB?

Under what conditions would I not be able to obtain any SQL from V$SQLAREA for any given SID?

  1 select username, osuser, sql_text
  2 from v$session ss, v$sqlarea sa

  3  where ss.sid = 861
  4   and  ss.sql_address = sa.address
  5*  and  ss.sql_hash_value = sa.hash_value
bcm_at_MWH.ARES.MWH.COM> /

no rows selected

bcm_at_MWH.ARES.MWH.COM> select * from v$session where sid = 861;

SADDR SID SERIAL# AUDSID PADDR USER# USERNAME COMMAND TADDR
-------- ---------- ---------- ---------- -------- ---------- --------------

683581            -1
            14          137853            28 11-APR-02          117


--
Charlie Mengler                           Maintenance Warehouse
charliem_at_mwh.com                          10641 Scripps Summit Ct.
858-831-2229                              San Diego, CA 92131
Daylight Savings Time means that everybody gets up 1 hour earlier.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Charlie Mengler
  INET: charliem_at_mwh.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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Leith
  INET: mark_at_cool-tools.co.uk

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 Fri Apr 12 2002 - 09:18:26 CDT

Original text of this message

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