Microsoft SQL server 2014 的默认升级阈值是多少
What is the default Escalation Threshold for Microsoft SQL server 2014
Microsoft SQL 服务器 2014 的默认 table 升级阈值是多少。
注意:SQL 2008 和 2012 是 5000,有参考,但我找不到 2014 的任何参考
我想 MSDN 本身已经在顶部提到这适用于 2008 及更高版本。因此 2014 版本也是 5000。
适用于:SQL Server 2008 R2 及更高版本。
来自MSDN
When the Database Engine checks for possible escalations at every 1250
newly acquired locks, a lock escalation will occur if and only if a
Transact-SQL statement has acquired at least 5000 locks on a single
reference of a table. Lock escalation is triggered when a Transact-SQL
statement acquires at least 5,000 locks on a single reference of a
table. For example, lock escalation is not triggered if a statement
acquires 3,000 locks in one index and 3,000 locks in another index of
the same table. Similarly, lock escalation is not triggered if a
statement has a self join on a table, and each reference to the table
only acquires 3,000 locks in the table.
Microsoft SQL 服务器 2014 的默认 table 升级阈值是多少。
注意:SQL 2008 和 2012 是 5000,有参考,但我找不到 2014 的任何参考
我想 MSDN 本身已经在顶部提到这适用于 2008 及更高版本。因此 2014 版本也是 5000。
适用于:SQL Server 2008 R2 及更高版本。
来自MSDN
When the Database Engine checks for possible escalations at every 1250 newly acquired locks, a lock escalation will occur if and only if a Transact-SQL statement has acquired at least 5000 locks on a single reference of a table. Lock escalation is triggered when a Transact-SQL statement acquires at least 5,000 locks on a single reference of a table. For example, lock escalation is not triggered if a statement acquires 3,000 locks in one index and 3,000 locks in another index of the same table. Similarly, lock escalation is not triggered if a statement has a self join on a table, and each reference to the table only acquires 3,000 locks in the table.