Home » RDBMS Server » Server Administration » locks& deadlocks
locks& deadlocks [message #56943] Thu, 08 May 2003 10:44 Go to next message
Tony
Messages: 190
Registered: June 2001
Senior Member
Hello,
I have a lock question, does oracle allocate a table level lock when enforcing referential integrity? we re having strange deadlocks in our database and I suspect frequent lock escalation by Oracle. There are very simple delete statements failing in production with a deadlock, it doesn t make sense except the table is referenced by a million other tables. First question how does Oracle manage locks when enforcing referential integrity.
Second question: we are trying to replicate the situation in our development database, I need to capture all locks held in the database for a given period of time and log it to a file. Locks happen so quickly i can't see them through dynamic views or oem lock manager. How do i capture locks in a log file?

thanks a lot
Re: locks& deadlocks [message #56953 is a reply to message #56943] Thu, 08 May 2003 23:12 Go to previous message
mb
Messages: 51
Registered: March 2001
Member
To get rid of referential integrity locking problem make sure that all foreign keys are indexed.
Mb
Previous Topic: workflow installtion error
Next Topic: Oracle 9i installation on Caldera Open Unix 8
Goto Forum:
  


Current Time: Fri Sep 20 09:39:11 CDT 2024