null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
39068435
Concurrency Control
Description
to deliver the best of best presentation.
No tags specified
mindmap for better understanding of concurrency control
computer science
Mind Map by
Muhammad Arshad
, updated more than 1 year ago
More
Less
Created by
Muhammad Arshad
about 1 year ago
2
0
0
Resource summary
Concurrency Control
Problem Definition
Objectives
Throughput: number of transactions processed per unit time eg> 1 million transactions per second
Maximum transactions throughput(work perform) while preventing interference among multiple users
Constraint
No interference: result same as serial/sequential effect
Interference occurs on commonly manipulated data known as hot spot.
Concurrency Control Problems
Last Update Problem
Preventing Last Update Problem Using 2PL
Uncommitted Dependency Problem
Preventing Uncommited using 2PL
Concurrency Control Mechanisms
Locking
Obtain R/W Lock before accessing an item
Locking Conflicts
Locking Granularity
Wait if a conflicting lock is held in The Lock Manager
Shared Lock ( S lock): conflicts with exclusive locks
Exclusive Lock (X lock): conflicts with all other kinds of locks
Two-Phase Locking 2PL
Growing Phase: All files are getting locked.
Shrinking Phase: All locks are released
Strict 2PL
Deadlock
Deadlock(Mutual Waiting)
Deadlock Resolution
Detection
Overhead is reasonable for deadlocks among 2 or 3 transactions
TimeOut
Waiting Limit
Can abort transactions that are not deadlock
Timeout interval is difficult to determine
Optimistic Concurrency
Private Workspaces Each process is executing privately
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr
Browse Library