dbTalk Databases Forums  

lockwait session

comp.databases.oracle.server comp.databases.oracle.server


Discuss lockwait session in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
akdnr_larry
 
Posts: n/a

Default lockwait session - 06-25-2003 , 02:00 PM






I have a v$session.lockwait value that has no equal v$lock.kaddr
value. How do I find the offending lock and remove it?

Reply With Quote
  #2  
Old   
Mark D Powell
 
Posts: n/a

Default Re: lockwait session - 06-26-2003 , 09:02 AM






larry_freeman (AT) dnr (DOT) state.ak.us (akdnr_larry) wrote in message news:<b8182012.0306251100.5a49177b (AT) posting (DOT) google.com>...
Quote:
I have a v$session.lockwait value that has no equal v$lock.kaddr
value. How do I find the offending lock and remove it?
Take a look at the results of $ORACLE_HOME/rdbms/admin/utllockt, which
will show lock waited sessions and the session they are waiting on.

You can also look at How do you find out who is locking a specific row
in a table? at http://www.jlcomp.demon.co.uk/faq/locked_rows.html

If your are waiting on a row specific row then the v$session rowid
columns: row_wait*, should be populated.

HTH -- Mark D Powell --


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.