5. Transactions and Other Access Contexts
5 Transactions and Other Access Contexts
This section describes the Mnesia
transaction system and the transaction properties that make Mnesia
a fault-tolerant, distributed Database Management System (DBMS).
This section also describes the locking functions, including table locks and sticky locks, as well as alternative functions that bypass the transaction system in favor of improved speed and reduced overhead. These functions are called "dirty operations". The use of nested transactions is also described. The following topics are included:
- Transaction properties, which include atomicity, consistency, isolation, and durability
- Locking
- Dirty operations
- Record names versus table names
- Activity concept and various access contexts
- Nested transactions
- Pattern matching
- Iteration