Home » SQL & PL/SQL » SQL & PL/SQL » SQL query from v$session and v$lock hangs (SQL 10G)
SQL query from v$session and v$lock hangs [message #305027] Fri, 07 March 2008 11:17 Go to next message
aidi-h
Messages: 45
Registered: November 2005
Member
SQL query from v$session and v$lock hangs

Please can you help, When I run the following SQL, it just hangs.

select c.sid,c.username from v$session c,v$lock b
where C.USERNAME is not null
and b.sid = c.sid

if I run selects on the individual views, records are output immediately




Re: SQL query from v$session and v$lock hangs [message #305030 is a reply to message #305027] Fri, 07 March 2008 11:25 Go to previous message
Michel Cadot
Messages: 68719
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Activate trace and see where it is waiting.

Regards
Michel
Previous Topic: hot to clean queues oracle message queues
Next Topic: Need to write an Select for the following result
Goto Forum:
  


Current Time: Sun Dec 08 19:27:15 CST 2024