Dijkgraaf - 9:24 pm on Jul 31, 2013 (gmt 0)
When doing the update, what values are you using to find the record in the database?
Is there an index on these values?
If the answer is no, that's where your performance problem is as it would be doing a full table scan each time to try and find the matching record.
The solution would be to create an index on those values.