Quantcast
Channel: SQL.ru: Firebird, InterBase
Viewing all articles
Browse latest Browse all 1677

Вопросы по пулу внешних соединений

$
0
0
читаю описание пула внешних соединений

README.external_connections_pool

when idle connection gets expired (exceeded the lifetime), it is deleted from
the pool and closed.

....

Pool parameters:
- connection life time: the time interval from the moment of the last usage of
connection after which it will be forcibly closed
- pool size: the maximum allowed number of idle connections in the pool

....

ALTER EXTERNAL CONNECTIONS POOL CLEAR OLDEST
Closes expired idle connections.


Хочу понять смысл последнего оператора. Если при истечении времени жизни коннекта в пуле, он принудительно закрывается и удаляется из пула, то в каком случае может потребовать выполнение этого оператора?

Вопрос прежде всего к Владу.

Viewing all articles
Browse latest Browse all 1677

Trending Articles