Pooling with the OLE DB .NET Data Provider
The OLE DB .NET Data Provider pools connections by using the underlying services of OLE DB resource pooling. You have a number of options for configuring resource pooling:
- You can use the connection string to configure, enable, or disable resource pooling.
- You can use the registry.
- You can programmatically configure resource pooling.
Managing Connection Pooling with Pooled Objects
As Windows DNA developers, you were encouraged to disable OLE DB resource pooling and/or ODBC connection pooling and use COM+ object pooling as a technique to pool database connections. There are two primary reasons for this:
- Pool sizes and thresholds can be explicitly configured (in the COM+ catalog).
- Performance is improved. The pooled object approach can outperform native pooling by a factor of two.

Join the conversation! Your thoughts help the community grow.