calculated fields - performance problem
Posted: Fri 10 Jun 2011 21:58
Hi,
We have performance issues with your driver under RAD XE when using calculated fields and an additional query in the OnCalcFields event. The same code under BDS 2006 with older driver works many times faster.
Can you investigate this?
Execution times:
1. BDS 2006, C++
Calc fields enabled - 2 seconds
Calc fields disabled - 1 second
2. RAD XE, C++
Calc fields disabled - 2 seconds
Calc field enabled - 25 seconds (!!!)
Download the sample app from:
http://www.netinfo.pl/oracleCalcFieldsTest.zip
In the zip file you will find:
CFTSourceCodeBDS2006.zip, CFTSourceCodeXE.zip - source code of sample apps (the same in both environments)
ObjectsSql.sql - sql script to create sql schema and insert sample data;
OnCalcFieldsTestBDS2006.exe, OnCalcFieldsTestXE.exe - compiled sample apps
dbexpoda30.dll, dbexpoda40.dll - your oracle dbexpress drivers
We have performance issues with your driver under RAD XE when using calculated fields and an additional query in the OnCalcFields event. The same code under BDS 2006 with older driver works many times faster.
Can you investigate this?
Execution times:
1. BDS 2006, C++
Calc fields enabled - 2 seconds
Calc fields disabled - 1 second
2. RAD XE, C++
Calc fields disabled - 2 seconds
Calc field enabled - 25 seconds (!!!)
Download the sample app from:
http://www.netinfo.pl/oracleCalcFieldsTest.zip
In the zip file you will find:
CFTSourceCodeBDS2006.zip, CFTSourceCodeXE.zip - source code of sample apps (the same in both environments)
ObjectsSql.sql - sql script to create sql schema and insert sample data;
OnCalcFieldsTestBDS2006.exe, OnCalcFieldsTestXE.exe - compiled sample apps
dbexpoda30.dll, dbexpoda40.dll - your oracle dbexpress drivers