Mindmap
CONCURRENCY CONTROL
Inhalt der Mindmap
CONCURRENCY CONTROL
Problem Definition
- Objective
- Maximize transaction throughput(work perform) while preventing interference among multiple users
- Throughput: number of transactions processed per unit time eg >1million transaction per second
- Constraint
- No interference: result same as serial/sequential effect
- Interference occurs on commonly manipulated data known as hot spots
- Objective
Concurrency Control Problem
- Lost Update Problem
- Preventing Lost Update Problem Using 2PL
- Uncommitted Dependency Problem
- Preventing Uncommitted Using 2PL
- Lost Update Problem
Concurrency Control Tools
- Locking
- Obtain lock before accessing an item
- Wait if a conflicting lock is held
- Shared lock (S lock): conflicts with exclusive locks
- Exclusive lock (X lock): conflicts with all other kinds of locks
- Locking Conflict
- Locking Granularity
- Deadlock
- Deadlock(Mutual Waiting) e.g:slide no.24
- Deadlock Resolution
- Detection
- Overhead is reasonable for deadlocks among 2 or 3 transactions
- Timeout
- Waiting limit
- Can abort transactions that are not deadlocked
- Timeout interval is difficult to determine
- Detection
- Locking
Informationen
- Beschreibung
- Information Technology Mindmap am CONCURRENCY CONTROL, erstellt von Parag Gawde am 21/10/2018.
- Erstellt von
- Parag Gawde · Okt 2018
- Aktualisiert
- 24 Okt 2018
- Aufrufe
- 0
- Verlauf
-
- Erstellt von azzaiqmal · 9 Apr 2014
- Kopiert von Parag Gawde · 21 Okt 2018
- Bewertung