MySQL Forums :: InnoDB :: Should ORDER BY SELECTs to to avoid deadlocks?


Advanced Search

Re: Should ORDER BY SELECTs to to avoid deadlocks?
Posted by: Victor Porton ()
Date: October 02, 2016 12:46PM

Sorry, I was inexact (or rather wrong) in my question.

In fact, I do not update any SELECTed rows, I update many-to-many relations between selected row.

Thus SELECT FOR UPDATE may be not for me.

Also it is important not to block reading operations during the transaction.

--
http://freesoft.portonvictor.org

Options: ReplyQuote


Subject Views Written By Posted
Should ORDER BY SELECTs to to avoid deadlocks? 468 Victor Porton 09/30/2016 12:52PM
Re: Should ORDER BY SELECTs to to avoid deadlocks? 309 Rick James 10/02/2016 12:33PM
Re: Should ORDER BY SELECTs to to avoid deadlocks? 262 Victor Porton 10/02/2016 12:46PM
Re: Should ORDER BY SELECTs to to avoid deadlocks? 262 Rick James 10/03/2016 10:59PM


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.