Oracle Sessions Monitoring

The following will discuss the information that can be gathered regarding a specific session. .

The main location for all session information is the v$session view.
The sessions.sql script displays session information using this view along with the v$process, v$sesstat, and v$statname views.
The v$process view provides information about the background processes that service the sessions,
while the v$sesstat and v$statname provide statistical information about the session.

select a.username, a.osuser, a.sid, a.SERIAL# , d.spid,
a.lockwait, a.status, trunc(b.value/1024) as pga_kb, trunc(e.value/1024) as uga_kb,
a.module, a.machine, a.program, a.logon_Time
from v$session a, v$sesstat b, v$statname c, v$process d, v$sesstat e, v$statname f
where a.paddr = d.addr
and a.sid = b.sid
and b.statistic# = c.statistic#
and c.name = 'session pga memory'
and a.sid = e.sid
and e.STATISTIC# = f.STATISTIC#
and f.name = 'session uga memory'
order by 1, 2;

Green Power International

Green Power International was established in early 2002 in close cooperation with MWM GmbH (formerly Deutz Power System GmbH).
Gas engine ad Bio gas

Thank you for posting this.

Thank you for posting this. My friend who goes to vocational training enjoyed reading this.

Right now I am doing my

Right now I am doing my project and still looking for the session code for my oracle. When I read this one, I actually follow the syntax and it works for my project. Thanks having this blog posted here. - building twitter followers

get twitter followers instantly

Same Day Courier

Thanks for sharing this post with us.

Powered by Drupal - Design by artinet