[Lazarus] Writing >1000 TBufDataset records to file is extremely slow
LacaK
lacak at zoznam.sk
Mon Mar 27 10:59:18 CEST 2017
>> Try call FExportDataset.MergeChangeLog before:
>>> WriteLn('Saving...');
>> Does anything in your timing changed ?
>
> Ah - that's it. TBufDataset saves the records instantly now. Probably,
> this should go into the official wiki site for TBufDataset.
>
> But now another issue is coming up: If I increase the number of
> records to 40,000 population of records slows down after about 10,000
> records, speeds up again, and comes to an apparant stand-still for
> 32900 records. After waiting some time the record counter (which is
> incremented in steps of 100 in my demo) goes up to 33000. Then I gave up.
Try call MergeChangeLog regulary on every 1000 rows for example.
If does not help, attach your test program, so we can reproduce ...
L.
More information about the Lazarus
mailing list