Advanced Features : Using Connection Pooling

Using Connection Pooling
Typically, creating a connection is the most performance-expensive operation that an application performs. Connection pooling allows you to reuse connections rather than create a new one every time a driver needs to establish a connection to the database. Connection pooling manages connection sharing across different user requests to maintain performance and reduce the number of new connections that must be created. For example, compare the following transaction sequences.
Example A: Without Connection Pooling
1.
2.
3.
4.
5.
Example B: With Connection Pooling
1.
2.
3.
4.
5.
6.
Note:

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.