Article

From:
To:
Dmitry Arefiev
Subject:
Re: connection pooling and open connections
Newsgroup:
embarcadero.public.delphi.database.firedac

Re: connection pooling and open connections

Hi Dmitry,

thanks for writing back. Sorry if I ask again but still I did not understand.
Pooled = true
AdConnection1.Connected := True -> Mysql Management shows 1 connection (sleep) AdConnection2.Connected := True -> Mysql Management shows 2 connection (sleep)
AdConnection1.Connected := False -> Mysql Management shows 2 connection (sleep) AdConnection2.Connected := False -> Mysql Management shows 2 connection (sleep)
The fact the Mysql management console shows 2 connection is correct?
> {quote:title=Dmitry Arefiev wrote:}{quote}
> FireDAC does not open the pooled connections before they will be
> really needed. Instead FireDAC returns open connections back to
> pool instead of closing them, when they are no longed needed (eg, as
> result of ADConnection.Close call).
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack
Wed, 30 Sep 2020 01:33:32 UTC
Copyright © 2009-2020
HREF Tools Corp.