Mnesia transactions, locks, and table events

Deepak Nulu deepak.nulu@REDACTED
Sun Aug 9 08:42:55 CEST 2009


Hi,

If a transaction updates 3 tables (using only record level locks and  
not table level locks), is it possible for another simultaneous  
transaction to update these same tables, especially if the two  
transactions never update the same table at the same time? Is it  
possible for another simultaneous transaction to update a 4th  
(different) table?

If multiple records (in one or more tables) are updated in a  
transaction, table events are sent for each updated record. If there  
are multiple simultaneous transactions, can the table events for these  
transactions get mixed, or is it guaranteed that all events for a  
single transaction are sent before the events for another transaction  
are sent?

Thanks.

-deepak nulu



More information about the erlang-questions mailing list