Method DacConnectionPool():new() Foundation
Creates a connection pool instance for a specific connection category.
:new( <coSession> ) --> self
This method returns self.
A connection pool instance is responsible for efficiently managing a limited number of active connections to a database or server. By default, a connection pool can handle up to 50 active connections at the same time. This limit can be configured based on application needs.
Connections that are idle for longer than the default timeout of 15 minutes are automatically removed from the pool to free up resources. This ensures that stale or unused connections do not consume system resources unnecessarily.
Applications can create and manage multiple connection pool instances. This allows developers to organize connection caching strategies based on specific usage patterns or operational requirements (categories). For instance, one pool might manage short-lived connections to a reporting database, while another pool handles long-lived transactions for a production database.
Each connection pool instance is capable of managing connections to different databases or servers, providing flexibility in scenarios where multiple data sources or environments are in use.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.