The Lock Escalation Threshold – Part 1
SQL Performance
SEPTEMBER 6, 2022
Testing environment. I happen to be using SQL Server 2019 CU16 but the details I’ll describe haven’t materially changed since partition level lock escalation was added to SQL Server 2008. SET NOCOUNT , XACT_ABORT ON ; -- Prevent plan caching for this procedure. -- See [link]. BEGIN TRANSACTION ; -- Test statement(s).
Let's personalize your content