DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: LOCKS

  1. #1
    Join Date
    Jan 2001
    Posts
    642
    hi,

    One of my processes,(Daily updation) is taking unusally long time. I checked up in the v$objects_locked. I got the object id on which there is a lock.

    I have got the object name(all_objects), It's the same table on which updation happens.

    Question is.: how do i know whether this lock is a lock put by any other processes or it's the lock obtained by the table itself for the purpose of DML.

    Badrinath

  2. #2
    Join Date
    Feb 2001
    Location
    Bombay,India
    Posts
    530
    Hi,
    Yes when u perform any DML action ,Oracle puts 2 types of lock on the object .One at the row level which is a exclusive lock and one at the table level which is a share lock.If another user has put an exclusive lock on the table then ur process has to wait until the lock is released.If u kill the user session which is holding the lock then u can access the object.If u want any further help please be free to write to me at rohitsn@altavista.com

    Regards,
    Rohit Nirkhe,Oracle DBA,OCP


  3. #3
    Join Date
    Jan 2001
    Posts
    642
    HOw do I know which user/session or process has put a exclusive lock on the object, of my interest.

    Badrinath

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width