Connection Pool

Connection Pool

Unter einem Connection Pool versteht man in der Softwaretechnik einen Cache von bestehenden Datenbankverbindungen, der für Anfragen verwendet wird.

Da die Einrichtung einer neuen Verbindung zur Datenbank Zeit kostet und Rechnerressourcen bindet (z. B. im Rahmen einer Webanwendung), wird nicht für jede Anfrage eine neue Verbindung erstellt. Stattdessen wird eine Verbindung aus dem Connection Pool verwendet. Connection Pools verbessern so die Geschwindigkeit der Ausführung und reduzieren den Ressourcenverbrauch.

Bei einer Webanwendung wird der „Connection Pool“ in der Regel durch den Application Server verwaltet. Falls die Applikation eine Verbindung zur Datenbank öffnen möchte, gibt im Hintergrund der Application Server eine Verbindung aus dem Pool zur Anwendung. Schließt die Applikation die Verbindung, dann wird diese vom Application Server zurück in dem Pool gelegt.

Connection Pooling wird unterstützt von IBM DB2[1], Microsoft SQL Server[2], Oracle.[3], MySQL[4] and PostgreSQL[5]

Referenzen

  1. IBM Connection Pooling Support
  2. SQL Server Connection Pooling (ADO.NET)
  3. OCI Driver Connection Pooling
  4. MySQL Connection Pooling
  5. PostgreSQL Replication, Clustering and Connection Pooling

Wikimedia Foundation.

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

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

  • Connection pool — In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing… …   Wikipedia

  • Connection pool — En computación, se denomina connection pool (agrupamiento de conexiones) al manejo de una colección de conexiones abiertas a una base de datos de manera que puedan ser reutilizadas al realizar múltiples consultas o actualizaciones. Cada vez que… …   Wikipedia Español

  • Connection pool — En computación, se denomina connection pool (agrupamiento de conexiones) al manejo de una colección de conexiones abiertas a una base de datos de manera que puedan ser reutilizadas al realizar múltiples consultas o actualizaciones. Cada vez que… …   Enciclopedia Universal

  • Pool — may refer to: Bodies of water*Plunge pool, small, deep body of water *The River Pool, river in England, tributary to the River Ravensbourne *Reflecting pool, shallow pool of water designed to reflect a structure and its surroundings: **Capitol… …   Wikipedia

  • Pool (computer science) — A pool in computer science is a set of initialised resources that are kept ready to use, rather than allocated and destroyed on demand. A client of the pool will request an object from the pool and perform operations on the returned object. When… …   Wikipedia

  • Pool Revolution: Cue Sports — Publisher(s) Hudson Soft Platform(s) …   Wikipedia

  • Pool Meadow Bus Station — Pool Meadow Location Locale Fairfax St …   Wikipedia

  • Connection (EP) — Connection EP (split) by Home Grown and Limbeck Released 2000 …   Wikipedia

  • Pool User — A Pool User (PU) is a client in the Reliable Server Pooling (RSerPool) framework. In order to use the service provided by a pool, a PU has to proceed the following steps: * Ask a Pool Registrar for server selection (the Pool Registrar will return …   Wikipedia

  • Pool of London — Originally, the Pool of London was the stretch of the River Thames forming the south side of the City of London. The term was later used more generally to refer to the stretch of the river in between London Bridge and Rotherhithe, which… …   Wikipedia

Share the article and excerpts

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