Skip to main content

Konsistenzsicherung

  • Chapter
  • First Online:
SQL- & NoSQL-Datenbanken

Part of the book series: eXamen.press ((EXAMEN))

  • 20k Accesses

Zusammenfassung

Unter dem Begriff der Konsistenz oder Integrität einer Datenbank versteht man den Zustand widerspruchsfreier Daten. Integritätsbedingungen sollen garantieren, dass bei Einfüge- oder änderungsoperationen die Konsistenz der Daten jederzeit (strong consistency) oder zeitlich verz­gert (weak consistency) gewährleistet bleibt. Neben pessimistischen Verfahren (z.B. mittels Sperrprotokollen) existieren optimistische Verfahren, die nur im Konfliktfall die gegenseitig behindernden Transaktionen auflösen müssen. Bei massiv verteilten Webanwendungen ist aufgrund des sogenannten CAP-Theorems die Konsistenz (C=Consistency) lediglich verzögert gewährleistet, falls hohe Verfügbarkeit (A=Availability) und Ausfalltoleranz (P=Partition Tolerance) angestrebt werden.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Im SQL-Standard werden Transaktionen implizit durch SQL-Anweisungen begonnen und durch COMMIT abgeschlossen. Sie lassen sich auch explizit mit START TRANSACTION aufrufen

  2. 2.

    Unter der Zuweisung b:= b + 200 versteht man, dass der aktuelle Bestand des Kontos b um 200 Währungseinheiten erhöht wird.

  3. 3.

    Die Logdatei ist nicht zu verwechseln mit dem Logbuch aus Abschn. 4.2.2.

References

  • Basta, A., Zgola, M.: Database Security. Cengage Learning (2011)

    Google Scholar 

  • Bernstein, P.A., Hadzilacos, V., Goodman, N.: Concurrency Control and Recovery in Database Systems. Addison Wesley (1987)

    Google Scholar 

  • Brewer, E.: Keynote – towards robust distributed systems. In: 19th ACM Symposium on Principles of Distributed Computing, Portland, 16–19 July 2000

    Google Scholar 

  • Castano, S., Fugini, M.G., Martella, G., Samarati, P.: Database Security. Addison Wesley (1994)

    Google Scholar 

  • Eswaran, K.P., Gray, J., Lorie, R.A., Traiger, I.L.: The notion of consistency and predicate locks in a data base system. Commun. ACM 19(11), 624–633 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  • Gifford, D.K.: Weighted voting for replicated data. In: Proceedings of the seventh ACM Symposium on Operating Systems Principles (SOSP’79), pp. 150–162. Pacific Grove, 10–12 Dec 1979

    Google Scholar 

  • Gilbert, S., Lynch, N.: Brewer’s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services. Massachusetts Institute of Technology, Cambridge (2002)

    Google Scholar 

  • Gray, J., Reuter, A.: Transaction Processing – Concepts and Techniques. Morgan Kaufmann (1993)

    Google Scholar 

  • Härder, T., Reuter, A.: Principles of transaction-oriented database recovery. ACM Comput. Surv. 15(4), 287–317 (1983)

    Article  MathSciNet  Google Scholar 

  • Redmond, E., Wilson, J.R.: Seven Databases in Seven Weeks – A Guide to Modern Databases and the NoSQL Movement. The Pragmatic Bookshelf (2012)

    Google Scholar 

  • Reuter, A: Fehlerbehandlung in Datenbanksystemen. Hanser (1981)

    Google Scholar 

  • Riak: Open Source Distributed Database. Siehe http://basho.com/riak/ (2014). Abgerufen am 18 Dezember 2014

  • Schaarschmidt, R.: Archivierung in Datenbanksystemen – Konzepte und Sprache. Teubner (2001)

    Google Scholar 

  • Störl, U.: Backup und Recovery in Datenbanksystemen – Verfahren, Klassifikation, Implementierung und Bewertung. Teubner (2001)

    Google Scholar 

  • Vogels, W.: Eventually consistent. Commun. ACM 52(1), 40–44 (2009)

    Article  Google Scholar 

  • Weikum, G.: Transaktionen in Datenbanksystemen – Fehlertolerante Steuerung paralleler Abläufe. Addison Wesley (1988)

    Google Scholar 

  • Weikum, G., Vossen, G.: Transactional Information Systems – Theory, Algorithms, and the Practice of Concurrency Control and Recovery. Morgan Kaufmann (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andreas Meier .

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Meier, A., Kaufmann, M. (2016). Konsistenzsicherung. In: SQL- & NoSQL-Datenbanken. eXamen.press. Springer Vieweg, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-47664-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-47664-2_4

  • Published:

  • Publisher Name: Springer Vieweg, Berlin, Heidelberg

  • Print ISBN: 978-3-662-47663-5

  • Online ISBN: 978-3-662-47664-2

  • eBook Packages: Computer Science and Engineering (German Language)

Publish with us

Policies and ethics