CONCURRENCY CONTROL

Beschreibung

Mindmap am CONCURRENCY CONTROL, erstellt von azzaiqmal am 09/04/2014.
azzaiqmal
Mindmap von azzaiqmal, aktualisiert more than 1 year ago
azzaiqmal
Erstellt von azzaiqmal vor fast 11 Jahre
133
0

Zusammenfassung der Ressource

CONCURRENCY CONTROL
  1. Problem Definition
    1. Objective
      1. Maximize transaction throughput(work perform) while preventing interference among multiple users
        1. Throughput: number of transactions processed per unit time eg >1million transaction per second
        2. Constraint
          1. No interference: result same as serial/sequential effect
            1. Interference occurs on commonly manipulated data known as hot spots
          2. Concurrency Control Problem
            1. Lost Update Problem e.g:slide no.11&12
              1. Preventing Lost Update Problem Using 2PL e.g:slide no.28
              2. Uncommitted Dependency Problem e.g:slide no.13&14
                1. Preventing Uncommitted Using 2PL e.g:slide no.29
              3. Concurrency Control Tools
                1. Locking
                  1. Obtain lock before accessing an item
                    1. Wait if a conflicting lock is held
                      1. Shared lock (S lock): conflicts with exclusive locks
                        1. Exclusive lock (X lock): conflicts with all other kinds of locks
                        2. Locking Conflict e.g:slide no.22
                          1. Locking Granularity e.g:slide no 23
                          2. Deadlock
                            1. Deadlock(Mutual Waiting) e.g:slide no.24
                              1. Deadlock Resolution
                                1. Detection
                                  1. Overhead is reasonable for deadlocks among 2 or 3 transactions
                                  2. Timeout
                                    1. Waiting limit
                                      1. Can abort transactions that are not deadlocked
                                        1. Timeout interval is difficult to determine
                                  Zusammenfassung anzeigen Zusammenfassung ausblenden

                                  ähnlicher Inhalt

                                  Geschichte Deutschlands
                                  max.grassl
                                  Fragen die jeder Fünftklässler beantworten kann.
                                  JohannesK
                                  Das Leben von Nelson Mandela
                                  AntonS
                                  Checkfragen - Kapitel 1: Empirische Sozialforschung und empirische Theorie
                                  Melanie Najm
                                  Abiturvorbereitung (6 Monate)
                                  AntonS
                                  Einstufungstest Italienisch Niveau A2.2
                                  SprachschuleAktiv
                                  Kopfrechnen: Grundrechenarten, 56 Aufgaben
                                  Stefan Kurtenbach
                                  Lernplan Analysis
                                  Hanna Marie Hock
                                  Pädagogik Abitur 2016: Piaget
                                  Lena S.
                                  Vetie Tierhygiene-Quiz 2013
                                  Carolina Heide
                                  Vetie Mibiklausur 2017
                                  Jana Tü