| DotNetFirebird Using Firebird SQL in .NET. |
|
Home
Features
Download
Documentation
Developer's Documentation
Connection String Parameters
Using FbConnectionStringBuilder to Build a Connection String
Connection Pooling
Create a New Database From an SQL Script
Using FbDataAdapter to Fill a Dataset
Firebird and .NET Framework Data Types Mapping
Transaction Isolation Levels
Embedded Firebird Documentation
Performance Tuning
Security
Administration
Migration to Firebird
Sample Code
FAQ
Tools and Code
About
Blog
|
Connection Pooling
Firebird ADO.NET provider supports connection pooling. By default, connection pooling is turned on. That means that when you call Close method on FbConnection instance the connection to the server is not closed but is returned to the pool. Connection pooling is useful especially for Web applications. Each page request would otherwise need to open a new connection and that can be time expensive. You can modify the behavior of connection pooling in the connection string by using these parameters:
Since version 1.7 of the Firebird ADO.NET Provider you can check the number of connections in the pool using FbConnection.GetPooledConnectionCount(). You can explicitly clear a pool using FbConnection.ClearPool() or all pools using FbConnection.ClearAllPools(). Things to remember:
Copyright © 2005 - 2007 DotNetFirebird |