Using Connection PoolingTypically, 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.
2.
Note: The application calls the close() method, but the connection remains open and the pool is notified of the close request.
| © 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |