[DUG] Speed of loading a Client DataSet
Paul Hectors
paul.hectors at gmail.com
Thu Dec 6 21:33:19 NZDT 2007
John I highly recommend you give TkbmMemTable or TVirtualtable ago they are
so much faster.
On Dec 6, 2007 9:10 PM, John Bird <johnkbird at paradise.net.nz> wrote:
> The test example I was testing on has 2 grids showing the same data - one
> a
> standard DBGrid, the other a CDSDBGrid (an extension of the same grid from
> BDN which adds sorting by the column buttons similar to Windows Explorer),
> and several single field labels DBLabels, all standard VCL components
> except the BDN grid....so there is possibly some extra overhead but
> nothing
> does get updated on the screen until everything has loaded.
>
> I did try disconnecting the datasource from the grids, again this makes no
> difference in the load times.
>
> The CPU is a 2GHz Athlon, likely a bit slower than others quoted here as
> the
> PC is a couple of years old...
>
> John
>
> -----Original Message-----
> From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
> On
> Behalf Of Karl Reynolds
> Sent: Thursday, 6 December 2007 4:39 p.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Speed of loading a Client DataSet
>
>
> It shouldn't be that slow. A quick test here of loading a CDS with 15K
> records finished in under half a second. Maybe you have some badly-behaved
> components around that don't properly respect your
> DisableControls/EnableControls? See if disconnecting your dataset from all
> datasources before loading makes any difference.
>
> Cheers,
> Carl
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20071206/216c0c2f/attachment-0001.html
More information about the Delphi
mailing list