简体   繁体   English

SQL Server 2014 的问题 - SQL Server 数据库上的锁

[英]Problem of SQL Server 2014 - locks on the SQL Server database

We upgraded from SQL Server 2008 to SQL Server 2014. The upgrade was successful.我们从 SQL Server 2008 升级到 SQL Server 2014。升级成功。

However, there were problems with optimization.但是,优化存在问题。 Some queries have started to create locks based on.一些查询已经开始基于创建锁。 Often the blockade disappears or whip it but the base does not want to move.通常封锁会消失或鞭打它,但基地不想移动。

The solution to this problem with us is the MAXDOP change.我们对这个问题的解决方案是更改 MAXDOP。 After the change I do not know what is freeing but everything starts to go like before the jam in the database.更改后我不知道什么是释放,但一切都开始像数据库中的堵塞之前一样。 I have no idea what to do about it anymore.我不知道该怎么办了。

Our SQL Server configuration我们的 SQL Server 配置

We have already changed the cost and MAXDOP parameters.我们已经更改了成本和MAXDOP参数。 Doesn't help much.帮助不大。 I've optimized queries that cause blockades.我已经优化了导致阻塞的查询。

The problem persists all the time.问题一直存在。 Oddly enough, the MAXDOP change helps with this blockage.奇怪的是, MAXDOP变化有助于解决这个问题。 The system then completely forgives.然后系统完全原谅。 SQL queries go down and execute. SQL 查询下降并执行。

The performance issue can raise due to a lot of reasons.性能问题可能由于多种原因而引发。 improper Maxdop settings is just one of them.不当的 Maxdop 设置只是其中之一。

Run a health check with Sp_Blitz使用 Sp_Blitz 运行健康检查

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM