Lock record before updating?
Is开发者_运维技巧 there any disadvantage of locking a record before updating it?
Well, what do you mean my "locking"?
But generally, yes. What you're probably talking about is "pessimistic locking", and the disadvantage is that your scalability can be negatively impacted.
精彩评论