How to avoid deadlocks?

inicial › Forums › Database › Performance › How to avoid deadlocks?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2292658
    matheusdba
    Keymaster

    How to avoid deadlocks caused due to row lock contention?

    #2292659
    matheusdba
    Keymaster

    Quick answer: Fix your application.
    Deadlocks are in general unpredicted situations where session A waits for session B and vice-versa, in a why it will never be resolved.
    Please don’t mistake regular locks (healthy mechanism) with deadlocks (you-messed-up mechanism). Also, be aware Oracle automatically kills deadlocks since 10g.
    If you have deadlock kills messages in your alert lock, report the trace files with the SQLs to your Dev Team. Some “table-tests” are required from their side. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.