UniDAC slower than IBDAC
Posted: Wed 23 Nov 2011 08:20
Hi,
We have recently switched from IBDAC to UniDAC, after which we experienced quite some slowing of the performance.
We use the components in a pooled environment (DataAbstract).
When we used IBDAC we had a maximum of 5 concurrent connections in the connection pool. After switching to UniDAC this has increased to around 12 concurrent connections.
This was the only change introduced to our server application, so it must be the reason to the decreased performance.
Are there any component settings that are important for speed, when creating the connections/queries/etc. (UniDAC)?
***EDIT***
I have discovered that the TUniQuery.SpecificOptions.FetchAll is set to False (default). I believe this should be set to True in my case.
I need all data at once, to pass it on to the client. What impact does it have to have FetchAll=False. Does it require futher connections/transactions?
And I do not need bidirectional dataset - so can I set UniDirectional=True together with FetchAll=True? Or is this incompatible?
Thanks.
---
Birger Buhl Dinesen / HD-Support ApS
We have recently switched from IBDAC to UniDAC, after which we experienced quite some slowing of the performance.
We use the components in a pooled environment (DataAbstract).
When we used IBDAC we had a maximum of 5 concurrent connections in the connection pool. After switching to UniDAC this has increased to around 12 concurrent connections.
This was the only change introduced to our server application, so it must be the reason to the decreased performance.
Are there any component settings that are important for speed, when creating the connections/queries/etc. (UniDAC)?
***EDIT***
I have discovered that the TUniQuery.SpecificOptions.FetchAll is set to False (default). I believe this should be set to True in my case.
I need all data at once, to pass it on to the client. What impact does it have to have FetchAll=False. Does it require futher connections/transactions?
And I do not need bidirectional dataset - so can I set UniDirectional=True together with FetchAll=True? Or is this incompatible?
Thanks.
---
Birger Buhl Dinesen / HD-Support ApS