Skip to main content
Log in

Datenbank-Caching - Eine systematische Analyse möglicher Verfahren

  • Published:
Informatik Forschung und Entwicklung

Zusammenfassung.

Caching ist ein bewährtes Mittel, um die Skalier- und Verfügbarkeit von Systemen zu steigern sowie die Latenzzeit für Benutzeranforderungen zu verkürzen. Im Gegensatz zum Web-Caching, bei dem einzelne Web-Objekte irgendwo längs ihres Aufrufpfades in der Proxy-Kette vorgehalten werden, setzt Datenbank-Caching „ausgewachsene“ Datenbanksysteme als Caches ein, um dort Satzmengen entfernter Datenbanken möglichst adaptiv verwalten und Anfragen darauf auswerten zu können. Verfahren dazu reichen von separat verwalteten materialisierten Sichten über überlappende, aber replikationsfrei gespeicherte Sichten bis hin zu Cache-Groups, in denen parametrisierte Cache-Constraints den Cache-Inhalt spezifizieren. Wir untersuchen anschaulich die verschiedenen Ansätze und ermitteln daraus eine Klassifikation, die den Lösungsraum zu enthüllen hilft. Im Mittelpunkt steht das Konzept der Prädikatsvollständigkeit: Ein Datenbank-Cache verwaltet vollständige Extensionen von Prädikaten, was ihm ermöglicht, Schlüsse über beantwortbare Anfragen zu ziehen.

Abstract.

Caching is a proven means of enhancing scalability and availability of software systems as well as of reducing latency of user requests. In contrast to Web caching, where single Web objects are kept ready somewhere along their invocation path in the proxy chain, database caching uses full-fledged database management systems as caches to adaptively maintain sets of records from a remote database and to evaluate queries on them. This procedure can be achieved by a spectrum of techniques ranging from separate materialized views via overlapping, but „replication-free” stored views up to cache groups where parameterized cache constraints specify the contents of the cache. We explore different approaches in an illustrative way and, from the insights gained, we derive a classification scheme which helps to discover the solution space. The key concept for advanced techniques is predicate completeness: A database cache maintains complete extensions of predicates, which enables the system to draw conclusions about locally answerable queries.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Theo Härder.

Additional information

Eingegangen am 14. Januar 2004, Angenommen am 13. Februar 2004,

CR Subject Classification:

C.2.4, D.4.4, H.2.4, H.2.8

Rights and permissions

Reprints and permissions

About this article

Cite this article

Härder, T., Bühmann, A. Datenbank-Caching - Eine systematische Analyse möglicher Verfahren. Informatik Forsch. Entw. 19, 2–16 (2004). https://doi.org/10.1007/s00450-004-0152-x

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00450-004-0152-x

Schlüsselwörter:

Keywords:

Navigation