Speeding up UpdateRecord

Jay Madren jay at jaymadren.com
Sat Jan 11 08:27:59 CST 2014


We need more information. Which database? What do you mean "class way"? Is
this multi-user? How big are the records, on average? How are the records
to be updated selected?


On Sat, Jan 11, 2014 at 7:58 AM, Beatrix Willius <bwillius at gmx.de> wrote:

> Hi,
>
> I’ve got some old code where I had some complaints that it was too slow.
> After having a look at the execution with Instruments it turns out the the
> simple UpdateRecord takes 80-90% of all time.
>
> The basics of the code isn’t too complicated.
>
> - Go to first record.
> - Fish out MessageBody
> - Change MessageBody.
> - Update record with MessageBody.
> - Go to next record.
> - Do until finished.
>
> All this is done with the class way. How can I make this faster? With SQL?
>
> Mit freundlichen Grüßen/Regards
>
> Trixi Willius
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20140111/1273b9dd/attachment.html>


More information about the Valentina mailing list