GoConqr has a new look! Let us know what you think.

Mind map

CONCURRENCY CONTROL

Parag Gawde Information Technology English

Map content

CONCURRENCY CONTROL

  1. 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
  2. Concurrency Control Problem

    • Lost Update Problem
      • Preventing Lost Update Problem Using 2PL
    • Uncommitted Dependency Problem
      • Preventing Uncommitted Using 2PL
  3. 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

Information

Description
Information Technology Mind Map on CONCURRENCY CONTROL, created by Parag Gawde on 21/10/2018.
Created by
Parag Gawde · Oct 2018
Updated
Oct 24, 2018
Views
0
History
  • Created by azzaiqmal · Apr 9, 2014
  • Copied by Parag Gawde · Oct 21, 2018
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?