Friends --

My pesky users want to be able to see how many bytes are flying over the
wire by process given a start time and end time... here's what I had that
they want to use as a basis going forward...

select osuser,username,terminal,program,name,value
from (
select osuser,username, terminal,program,name,value
from v$session a, v$sesstat b, v$statname c
where a.sid=b.sid 
and b.statistic#=c.statistic#
and c.name like '%SQL*N%'
and osuser=decode(lower('&user'),'all',osuser,lower('&user'))
and program is not null
and value != 0
order by value desc )
where rownum <= 10
/

Now, given that they want to pass in a start time and end time, seems to me
that they want historical information that v$session just isn't going to
give me... and, aside from logon_time, v$session isn't going to give me any
time at all.  Is what they're asking for possible?  Is there some table
somewhere that tracks SQL*Net activity at this level with timestamps
embedded?

aTdHvAaNnKcSe!
Bambi.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Bellow, Bambi
  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).

Reply via email to