Concurrency Control and ER Model in Database Systems
Classified in Computers
Written at on English with a size of 2.2 KB.
Concurrency Control in RDBMS
What are Transactions?
Transactions are sets of operations (like reading or writing data) treated as a single unit. Think of transferring money: multiple steps must happen together.
Isolation Levels
RDBMS uses isolation levels to manage how transactions interact:
- Read Uncommitted: Transactions see changes before they're finalized, which is risky due to potential inaccuracies.
- Read Committed: Transactions only see finalized changes, safer but still prone to inconsistencies.
- Repeatable Read: Data remains unchanged during a transaction, preventing some issues.
- Serializable: Transactions run sequentially, avoiding all problems but potentially slowing performance.
Concurrency Control Techniques
Techniques like locking data, timestamps,... Continue reading "Concurrency Control and ER Model in Database Systems" »