i find that the performance for Sqlserver is not good then ADO
I test a table ,it has 90 fields and 50000 recoreds ;
when i use AdoQuery.SQL.TEXT:='select * from table1'
it cost 10's
but use UniQuery, it very slowly;
and when recoreds is much ;
it shows : Out of Memory ;
unidac for sqlserver has errors when record is much
fetchAll=true ;
a table ,witch recoreds more than 100000, fields more than 50 ;
then UniQuery.open ,it very slowly ,at last it show :Out of Memory;
But ,the same table , i test it in oracle , it is very fast then ADO;
so i think UniDAC is disigned for oracle much ;
but for SQLSERVER is NOT very good.
a table ,witch recoreds more than 100000, fields more than 50 ;
then UniQuery.open ,it very slowly ,at last it show :Out of Memory;
But ,the same table , i test it in oracle , it is very fast then ADO;
so i think UniDAC is disigned for oracle much ;
but for SQLSERVER is NOT very good.
-
AndreyZ
Hello,
I've tried to reproduce this problem on Delphi 7 with UniDAC 3.60.0.16. TUniQuery opens a table with 100 columns and 100000 records in 4-4,5 seconds, and ADOQuery opens it in 6,5-7 seconds. Please specify the following:
- table1 structure (script);
- the exact version of UniDAC. You can learn it from the About sheet of TUniConnection Editor;
- the exact version of your IDE;
- the exact version of SQL Server server and client. You can learn it from the Info sheet of TUniConnection Editor.
I've tried to reproduce this problem on Delphi 7 with UniDAC 3.60.0.16. TUniQuery opens a table with 100 columns and 100000 records in 4-4,5 seconds, and ADOQuery opens it in 6,5-7 seconds. Please specify the following:
- table1 structure (script);
- the exact version of UniDAC. You can learn it from the About sheet of TUniConnection Editor;
- the exact version of your IDE;
- the exact version of SQL Server server and client. You can learn it from the Info sheet of TUniConnection Editor.
-
AndreyZ
The point is that for Oracle the TUniQuery.SpecificOptions.FetchAll option is set to False, and for SQL Server it's True. Please try setting this option to False when you are testing UniDAC with SQL Server. For more information about the FetchAll property, please read the "Using UniDAC with SQL Server" and "Using UniDAC with Oracle" topics of the UniDAC documentation.