Database abstraction layer

Database abstraction layer

Eine Datenbankabstraktionsschicht ist eine Programmierschnittstelle, welche die Verbindung zwischen einer Software-Anwendung und damit zu verbindenden Datenbanken vereinheitlicht. Damit kann ein Verwalter bei der Installation der Anwendung aus einer Reihe möglicher Datenbankprodukte wählen, ohne dass der Programmcode angepasst werden muss.

Für die verschiedenen Datenbanken und Programmierumgebungen hatten sich mit der Zeit eigene Datenbankschnittstellen entwickelt, die teils spezifische Funktionen der Datenbanken zur Verfügung stellen, teils nur Syntax-Abweichungen abbilden. Durch eine Datenbankabstraktionsschicht werden die Syntaxunterschiede ausgeglichen und die Programmierung vereinfacht, während andererseits über den Standard (etwa bei SQL) hinausgehende Funktionen nicht mehr genutzt werden können. Weiterer Nachteil eines dba ist der zusätzliche Verarbeitungsaufwand für die Sprach- und Datenumsetzungen zur Laufzeit.

Für die meisten Programmiersprachen und eine Anzahl von Frameworks stehen heute Datenbankabstraktionsschichten zur Verfügung, etwa:

Für die Sprache C und C++ wird etwa die Bibliothek OpenDBX angeboten, welche eine hohe Zugriffsgeschwindigkeit sicherstellen soll, während bei der sprach- und plattformübergreifenden Datenbankschnittstelle ODBC mehr Wert auf einheitliche Standards und hohe Verbreitung gelegt wird.

Weitergehende Funktionen eines dba kommen bei objektorientierten Umgebungen zum Einsatz, wo das API auch die Abbildung von Objekten auf die ggf. abweichende, etwa relationale Tabellenstruktur leistet.


Wikimedia Foundation.

Игры ⚽ Поможем решить контрольную работу

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Database abstraction layer — A database abstraction layer is an application programming interface which unifies the communication between a computer application and databases such as SQL Server, DB2, MySQL, PostgreSQL, Oracle or SQLite. Traditionally, all database vendors… …   Wikipedia

  • Abstraction layer — This is about the concept in computer science, for the concept in grouping, see Principle of abstraction. An abstraction layer (or abstraction level) is a way of hiding the implementation details of a particular set of functionality. Software… …   Wikipedia

  • Abstraction (computer science) — In computer science, abstraction is the process by which data and programs are defined with a representation similar to its pictorial meaning as rooted in the more complex realm of human life and language with their higher need of summarization… …   Wikipedia

  • Database security — concerns the use of a broad range of information security controls to protect databases (potentially including the data, the database applications or stored functions, the database systems, the database servers and the associated network links)… …   Wikipedia

  • Document-oriented database — A document oriented database is a computer program designed for storing, retrieving, and managing document oriented, or semi structured data, information. Document oriented databases are one of the main categories of so called NoSQL databases and …   Wikipedia

  • Database — A database is an organized collection of data for one or more purposes, usually in digital form. The data are typically organized to model relevant aspects of reality (for example, the availability of rooms in hotels), in a way that supports… …   Wikipedia

  • Relational database — A visual diagram showing the relationship between the two tables, as indicated by the arrow A relational database matches data by using common characteristics found within the data set. The resulting groups of data uses the relational model (a… …   Wikipedia

  • Data access layer — A data access layer (DAL) is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as an entity relational database. For example, the DAL might return a reference to an object (in… …   Wikipedia

  • Drupal — Drupal …   Wikipedia

  • Dba — steht für: dba (Fluggesellschaft) Dibenzylidenaceton Deutscher Bundesverband der Atem ,Sprech und Stimmlehrer DBA steht für: Data Bank Access Data Base Agent Datenbankadministrator (engl. Database Administrator) Database abstraction layer, eine… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”