usually, a deadlock will not cause the sysem to hung. If your problem is onyl a deadlock, Oracle will detect the deadlock and resolve it. you need to pay more attention on your application if it is designed properly.
you can get information from :
1: database alert log file.
2: when your application is running, you can check:
v$locked_object,v$session,
to help you find out what's happen in your database.
Main Topics
Browse All Topics





by: adixitPosted on 2004-02-02 at 23:34:14ID: 10259073
There should also be a trace file generated for the session. Have a look there for additional information.
If it happens again you could try killing the session manually using the statement.
ALTER SYSTEM KILL SESSION '<sid>,<serial#>'
Get sid and serial# from v$session.
You may find that Oracle was performing a log of rollback and that is what took the time. You should check the statistics for the session to see if there is any changes. I sometimes get people saying there session has hung, when in reality it is working behind the scenes doing large amounts of rollback and cleaning up etc.