Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> SQL*Net bytes per session over time
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: bbellow_at_chi.navtech.com
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: 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 Tue Jan 13 2004 - 13:39:33 CST
![]() |
![]() |