|
|||||||||||
|
Are transactions atomic?
From: Douglas Pearson <biz(at)sunnyhome.org>
Date: Sun Oct 14 2007 - 18:36:38 EDT
Clearly, transactions have the property that either all updates occur or none do. By atomic, I mean are other queries guaranteed to either see all changes from the transaction or none of them? An obvious example of the potential problem if they are not atomic (with regards to visibility):
Transaction {
Separate process running periodically:
Could query3 ever see the total of credits and debits as being out of balance? If the transaction doesn't guarantee that, is there any other way to force atomic visibility? Doug -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=lists@pantek.comReceived on Sun Oct 14 18:37:42 2007 This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:39:50 EDT |
||||||||||
|
|||||||||||