问题描述
您是否可以通过所有成本和指标查看查询及其执行计划
并建议对查询重写和索引更改等进行调整建议降低成本和提高性能(或)它们看起来很好并且不需要进行任何更改。
你能不能对计划中的成本进行一些说明[比如 - 查询计划4中的索引扫描79%,这很好......而且估计没有。行和实际执行,
子树成本等我们如何根据这些指标得出结论]以供我理解
(1)
(2)
(3)
https://www.brentozar.com/pastetheplan/?id=r1nS2Q3qE
(4)
https://www.brentozar.com/pastetheplan/?id=r1JG6m3qV
非常感谢。
Kenny ShareNlearn
Could you please go through the queries and its execution plan with all the cost and metrics
and suggest tuning recommendations on query rewrite and index changes etc to reduce the cost and better the performance (or) does they look fine and no changes are needed.
can you brief a bit on the cost from the plans [ say - index scan 79% in query plan 4 , is that fine... and on estimated no.of rows and actual execution, sub-tree cost etc how do we draw out the conclusions based on these metrics] for my understanding
(1)
https://www.brentozar.com/pastetheplan/?id=rJdp6DsqN
https://www.brentozar.com/pastetheplan/?id=HJYhlds94
(3)
https://www.brentozar.com/pastetheplan/?id=r1nS2Q3qE
(4)
https://www.brentozar.com/pastetheplan/?id=r1JG6m3qV
Thanks a lot.
Kenny ShareNlearn
这篇关于查询执行计划 - 调整建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!