posted 10/3/2011 12:30:35 PM by Quick Tip - Views: [1252]
Lock escalation in SQL Server happens automatically when the number of Locks threshold is reached orthe memory threshold of the lock manager is reached. Locks are escalated from ROWS/PAGE to TABLEor PARTITION (if the table is partitioned and partition-level locking is enabled).However, lock escalation can be completely disabled using TRACE FLAG 1211. Use it wisely as it canimpact DB engine performance. TRACE FLAGS are mostly used to diagnose performance issues !Alternatively, you can use TRACE FLAG 1224. While 1211 disables escalation completely, 1224 is a littlerelaxed as it will not disable lock escalation if the engine is starving for memory !
Quick Tip (Member since: 9/30/2011 3:53:08 PM)
View Quick Tip 's profile
Leave a comment