执行计划变更 [英] Execution plan change

查看:97
本文介绍了执行计划变更的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们最近将数据库从sql server 2008r2迁移到sql server 2016.迁移后,我们看到查询运行速度较慢。

例如,此处附有2008r2和2016的一个查询执行计划。在2008r2查询在7分30秒内运行。但在2016年同样的查询花了13分48秒。我们尝试重建索引和更新统计数据,但没有帮助。

Hi,

We recently migrated database from sql server 2008r2 to sql server 2016. After migration, we see queries running slower.
For example, One query execution plan of both 2008r2 and 2016 is attached here. In 2008r2 query is running within 7 minutes 30 sec. But in 2016 same query was taking 13 min 48 sec. We tried rebuilding index and updating stats, but it was not helped.

2008r2执行计划:

In 2008r2 execution plan:

2016年,执行计划:

In 2016, execution plan:

任何人都可以提供帮助吗?

Anyone can help on this?

推荐答案

请找到GUI执行计划的以下链接



2016 sql server的执行计划



2008r2服务器的执行计划
Please find the below link for GUI execution plans

execution plan of 2016 sql server

Execution plan of 2008r2 server


这篇关于执行计划变更的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆