Re: deadlock: a row being locked by a query twice?
Posted by:
Amit K
Date: April 10, 2016 08:24PM
We are using stored procedures in our project. So got to use it.
Nevertheless, the query I am using uses primary key, may be a bit inefficient, but works like a charm. No deadlocks in months (it's a very high volume/frequency query), with one exception (of course).
I am interested in knowing how can a query ever get an exclusive lock on same record, this is what innodb status says (if i am reading it correctly). This puzzles me.
Subject
Views
Written By
Posted
2266
April 09, 2016 07:04AM
872
April 09, 2016 03:02PM
917
April 09, 2016 09:53PM
833
April 10, 2016 10:58AM
914
April 10, 2016 07:58PM
820
April 10, 2016 08:02PM
Re: deadlock: a row being locked by a query twice?
896
April 10, 2016 08:24PM
841
April 10, 2016 10:43PM
951
April 10, 2016 11:35PM
769
April 12, 2016 07:20PM
779
April 15, 2016 11:33PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.