views:

62

answers:

1

Is there any disadvantage of locking a record before updating it?

+1  A: 

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.

Dave Markle