Re: ADO vs ADO Express Time Trials (redux)
- From: "Lluis Olle" <llob.correobasurano@xxxxxxxxx>
- Date: Mon, 31 Dec 2007 00:38:34 +0100
Hi,
We have a process that's using ADOExpress ( Delphi 5 ) / dbGO ( Delphi 7 ),
which executes Querys to an MS SQL Server 2005 DB, and writes the whole
result set ( WriteInteger, WriteString, ... ), into a ZLib compressed Stream
.... Basically, reads thousands of records, and processes every field in each
record, to put the contents into a Stream.
For the worst Query, which returned something like 500.000 records, with 15
fields, it took 30 seconds to do that .. which I always considered to be a
normal durantion, and I assumed that was mainly due to the ZLib compression.
When we changed the process not to use ADOExpress / dbGo but SDCAC instead,
we get astonished to see the 30 second process reduced to only 3 seconds !
We couldn't belive ...
As the process is the same, the amount of data is the same, the source of
the data is the same, and the ZLib compression is the same, then ... what is
left ? ADOExpress / dbGo ... really, if you have to process 1000 records,
you'll not notice, but that compoment is really, really inefficient ...
whatever you do to bypass it, will produce a big preformance gain.
Regards,
Lluis
.
- Follow-Ups:
- Re: ADO vs ADO Express Time Trials (redux)
- From: Del Murray
- Re: ADO vs ADO Express Time Trials (redux)
- References:
- ADO vs ADO Express Time Trials (redux)
- From: Ian Boyd
- ADO vs ADO Express Time Trials (redux)
- Prev by Date: ADO vs ADO Express Time Trials (redux)
- Next by Date: Re: ADO vs ADO Express Time Trials (redux)
- Previous by thread: Re: ADO vs ADO Express Time Trials (redux)
- Next by thread: Re: ADO vs ADO Express Time Trials (redux)
- Index(es):