add in c.name to get the statistic name that the value corresponds to
select a.username, c.name,b.value from v$session a, v$sesstat b, v$statname
c
where a.sid = b.sid and b.statistic# = c.STATISTIC# and a.username!='SYSTEM'
-----Original Message-----
Sent: Tuesday, February 20, 2001 7:56 PM
To: Multiple recipients of list ORACLE-L
Am I the only one who gets garbage out of this query? There's a mismatch on
v$statname. Which statistic are you suggesting to display, uga or pga
memory?
-----Original Message-----
Sent: Tuesday, February 20, 2001 5:15 AM
To: Multiple recipients of list ORACLE-L
solution :
select a.username, b.value from v$session a, v$sesstat b, v$statname c
where a.sid = b.sid and b.statistic# = c.STATISTIC# and a.username!='SYSTEM'
----- Original Message -----
To: Multiple recipients of list ORACLE-L <mailto:[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 3:25 PM
hello dba's ( again )
i'm looking for a way to do a manual "top-session" on a database. According
to TopSession from Oracle, the information should be located in v$sessions.
Anyone an idea how to read the memory usage out of this table? In v$sess_io
i'm able to get the amount of physical reads, but I need the memory usage.
thanks for any help
Bjorn Naessens
Roularta IT Solutions
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sam P. Roberts (ZADCO ITIS)
INET: [EMAIL PROTECTED]
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: [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).