Sql选择查询执行计划 [英] Sql select query execution plan

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

问题描述





我有一个MSSQL表,Id字段是增量的。

现在id值是985300.



但是实际的记录数是64000.Reason是我删除了两者之间的行。



所以我什么时候执行select语句会降低任何性能吗?



我尝试过:



i测试没有遇到任何重大差异。

想知道数据增长是否有任何问题

Hi,

I have a MSSQL table where Id field is incremental.
Now id value is 985300.

But actual count of records is 64000.Reason is i have deleted the rows in between.

so when i am executing select statement will it reduce any perfomance?.

What I have tried:

i have tested not facing any signifcant diffrence.
wanted to know as data grows is there any Problem

推荐答案

As Tomas提到,不,这不是问题。你应该有一个定期维护sql作业计划运行,其中一部分应该是重建索引所以应该没有问题。
As Tomas mentioned, no it is not a problem. You should have a regular maintenance sql job plan running and part of that should be rebuilding indexes so there should be no issue.


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

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