Performance + DisconnectedMode
Posted: Tue 31 Jul 2007 05:42
Hi
I am trying to use less connections to the database. I turn connection pooling on.
What i do is open a storedprocedure and copying is to a buffer before sending back to the client.
With disconnectedMode on + pooling will it be slower or will pooling of connections keep the speed up.
Whats would be best way of using it.
Connection.Active := True;
Get Storedprocparams
Do procedure
Connection.Active := False
Copy data
DataSet.Close;
All the best
Mike
I am trying to use less connections to the database. I turn connection pooling on.
What i do is open a storedprocedure and copying is to a buffer before sending back to the client.
With disconnectedMode on + pooling will it be slower or will pooling of connections keep the speed up.
Whats would be best way of using it.
Connection.Active := True;
Get Storedprocparams
Do procedure
Connection.Active := False
Copy data
DataSet.Close;
All the best
Mike