MySQL Forums
Forum List  »  MyISAM

Re: paralel updates
Posted by: Rick James
Date: October 19, 2010 10:18PM

MyISAM knows nothing about Autocommit.

In MyISAM, the first UPDATE will lock the table until it finishes. Then the other one can start.

SHOW CREATE TABLE

To be able to use an index on ch_status, turn this around:
now()-ch_status>300
-->
ch_status > DATE_SUB(NOW(), INTERVAL 300 SECOND)

Options: ReplyQuote


Subject
Views
Written By
Posted
2713
October 18, 2010 05:08AM
Re: paralel updates
1366
October 19, 2010 10:18PM
1547
October 20, 2010 02:43AM


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.