MySQL Forums
Forum List  »  Stored Procedures

Re: table locks in cursor. how it works?
Posted by: Yurii Korotia
Date: October 03, 2012 03:46PM

server starts to lag if we move one of tables to innodb (about 500k records). so we have mixed engines, myisam for old application part and innodb for new. we are planning to migrate, but historically it was built not very 'safely'.

also, as i understand, innodb only locks for write/update, but allows read.

I need to block any attempt to access data during my critical updates, so no ghost operations , etc.

Going to try locks on view with select for update with demo procedure




thanks



Edited 1 time(s). Last edit at 10/03/2012 03:48PM by Yurii Korotia.

Options: ReplyQuote


Subject
Views
Written By
Posted
5617
September 24, 2012 02:37AM
2162
September 28, 2012 01:35PM
Re: table locks in cursor. how it works?
1382
October 03, 2012 03:46PM


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.