Home » RDBMS Server » Server Administration » Segment users
Segment users [message #64364] Mon, 17 January 2005 05:03 Go to next message
Mohammed Abubakker
Messages: 3
Registered: December 2004
Junior Member
Please tell me how to see which user is using the segments or which transaction is going on in a particular segments

Abu
Re: Segment users [message #64372 is a reply to message #64364] Wed, 19 January 2005 23:41 Go to previous messageGo to next message
Depa
Messages: 30
Registered: June 2002
Member
to find which user is using the rollback segment

SELECT r.name "RB NAME ", p.pid "ORACLE PID", p.spid "SYSTEM PID ", NVL (p.username, 'NO TRANSACTION') "OS USER", p.terminal FROM v$lock l, v$process p, v$rollname r, v$session s WHERE l.sid = s.sid(+) AND s.paddr = p.addr AND TRUNC (l.id1(+)/65536) = r.usn AND l.type(+) = 'TX' AND l.lmode(+) = 6 ORDER BY r.name;
Re: Segment users [message #64375 is a reply to message #64372] Thu, 20 January 2005 01:23 Go to previous message
Abu
Messages: 4
Registered: October 2001
Junior Member
Thanks Deepa.

Abu
Previous Topic: Oracle Connection timeout configuration
Next Topic: Rollback Segments
Goto Forum:
  


Current Time: Sat Jan 25 02:48:50 CST 2025