Title: RE: weird

try committing and see if the number changes too ... me thinks it is showing the number of undo blocks used by your current transaction. Since this info is mainly coming from v$, it isn't dependent upon your transaction committing ...

Raj
--------------------------------------------------------------------------------
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-----Original Message-----
From: Stephen Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 19, 2003 11:10 AM
To: Multiple recipients of list ORACLE-L
Subject: weird



No question here.  Just something weird.  This is a long-running insert with
NO NONE ZERO ZIP ZILCH NADA commit.  It makes me wonder if something weird
is going on, or if I am overlooking something in the query.

SQL> select a.username,sum(b.used_ublk) x from v$session a, v$transaction b
where a.taddr=b.addr group by a.username;

USERNAME                                X
------------------------------ ----------
SYSTEM                                418

1 row selected.

SQL> /

USERNAME                                X
------------------------------ ----------
SYSTEM                                893

1 row selected.

SQL> /

USERNAME                                X
------------------------------ ----------
SYSTEM                                  2

1 row selected.

SQL> /

USERNAME                                X
------------------------------ ----------
SYSTEM                               3181

1 row selected.

SQL> /

USERNAME                                X
------------------------------ ----------
SYSTEM                               3204
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Stephen Lee
  INET: [EMAIL PROTECTED]

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

********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************1

Reply via email to