How Pooled Default Connections Are Assigned
When a user logs into the Siebel Application Object Manager, a database connection is established to authenticate the user, then discarded (closed) once the database or external authentication system authenticates the user. After successful authentication, the Siebel Application Object Manager's connection manager checks the connection pool for SQL statements. If this connection pool is empty, then the connection manager adds a connection.
Each time a user initializes an SQL statement, the connection manager checks the connection pool for available connections. The connection manager reserves a connection for the SQL statement in one of the following ways:
If a connection is available to handle the SQL statement, the connection manager assigns this connection to execute the SQL statement.
The connection manager reserves this connection until execution of the SQL statement terminates. On termination of the SQL statement, the connection manager releases the connection. At the end of a user session (due to a user logging out or a session timeout), the connection manager checks the connection used by the user session. If this connection is not referenced by other user sessions and the number of connections available in the pool of database connections exceeds the value specified by
MinSharedDbConns
, the connection manager closes this connection and releases it from the pool of database connections.If no connection is available in the connection pool, then the connection manager creates a new connection and assigns it to execute the SQL statement.
The connection manager continues to add connections to the connection pool until the number of connections in the connection pool equals
MaxSharedDBConns
.