Don't update columns in batches in a transaction
This ensures that whatever locks are acquired aren't held onto until the end of the transaction (= after _all_ rows have been updated). Timing wise there's also no difference between using a transaction and not using one.
Showing
Please register or sign in to comment