N. America: (800)876-3101 | World: +44 (0) 1-344-386-367

Tracking Connection Pool Performance in ADO.NET

All DataDirect Connect for ADO.NET data providers install a set of Performance Monitor (PerfMon) counters that return information that lets you tune your applications for performance.

The following table describes the PerfMon counters that you can use to tune pooling for your application.

PerfMon Counter

Counter Description

Current # of Connection Pools

Returns the current number of pools associated with the process.

Current # of Pooled Connections

Returns the current number of connections in all pools associated with the process.

Current # of Pooled and Non-Pooled Connections

Returns the current number of pooled and non-pooled connections.

Peak # of Pooled Connections

Returns the highest number of connections in all connection pools since the process started.

Total # of Failed Connects

Returns the total number of attempts to open a connection that failed for any reason since the process started.

 

Refer to the Microsoft .NET Framework documentation for information about using PerfMon counters.

 

Prev: "Tips on Opening and Closing Connections"

Next: "Conclusion"

Email Print Share

Connection Pooling in ADO.NET Applications

Tutorial: Connection Pooling in ADO.NET Applications Would you rather have the PDF version of this Tutorial? No Problem!

Click here to download the PDF version of Connection Pooling in ADO.NET Applications.