[Lazarus] Writing >1000 TBufDataset records to file is extremely slow

Werner Pamler werner.pamler at freenet.de
Mon Mar 27 11:35:37 CEST 2017


Am 27.03.2017 um 10:59 schrieb LacaK via Lazarus:
>> 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 ...

Yes, this is the solution. Thank you. MergeChangeLog definitely should 
be documented in a better way.



More information about the Lazarus mailing list