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: username

RE: username

From: Seley, Linda <LSeley_at_IQNavigator.com>
Date: Wed, 09 May 2001 16:59:45 -0700
Message-ID: <F001.002FEA02.20010509163527@fatcity.com>

I suppose you could but I'd rather not touch the default views when a simple join in my query can give me the same results....

Linda

-----Original Message-----
Sent: Wednesday, May 09, 2001 3:21 PM
To: Multiple recipients of list ORACLE-L

why dont you go to that view and edit that sql then it will give proper username

>From: "Seley, Linda" <LSeley_at_IQNavigator.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: username
>Date: Wed, 09 May 2001 13:00:56 -0800
>
>Lucy -
>
>The user column is broken in v$sort_usage in v8.1.6 and various v8.0.x. It
>either always displays SYS or it displays the user that you are logged in
>as
>(apparently depending on the version of the DB you have). If you search
>for
>v$sort_usage on Metalink you will see a few related items but in particular
>see notes 124298.1 and 1069041.6.
>
>HTH
>
>Linda
>
>-----Original Message-----
>Sent: Wednesday, May 09, 2001 11:47 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Hi all,
>By selecting from v$sort_segment I found there is one user who is
>currently use temporary TS, so I want to see who is the user by following
>query:
>
>SQL> select USER , SESSION_ADDR, SESSION_NUM, SQLADDR , SQLHASH from
>v$sort_usage;
>
>USER SESSION_ SESSION_NUM SQLADDR SQLHASH
>------------------------------ -------- ----------- -------- ----------
>SYS 841CFFC0 60008 8043A9C0 2232545133
>then I want to find sid, osuser by runnig
>SQL> select username, osuser, sid, serial# from v$session where
>saddr='841CFFC0';
>
>USERNAME OSUSER SID
>------------------------------ ------------------------------ ----------
> SERIAL#
>----------
>FORMS dervid 80
> 60008
>
>my question is why the username from v$sort_usage is different from the
>one from v$session. I thought they should be the same.
>
>Any idea is welcome.
>
>Thanks in advance!
>--
>Lucy Lin Oracle DBA
>
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Lucy Lin
> INET: llin_at_versus.dmz.advance.net
>
>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: Seley, Linda
> INET: LSeley_at_IQNavigator.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).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ARUN K C
  INET: arun_k_c_at_hotmail.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: Seley, Linda
  INET: LSeley_at_IQNavigator.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 May 09 2001 - 18:59:45 CDT

Original text of this message

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