This question does not appear to be about programming within the scope defined in the help center.
Closed 11 years ago.
您的亲和力桅杆设置为多少?您可以通过查询找到答案:
exec sp_configure 'show advanced options', 1 go reconfigure go exec sp_configure 'affinity mask' go
我的猜测是您没有利用一半的 CPU,向您显示这些结果。
如果您有四个处理器,则可以通过将关联掩码设置为 15 来利用所有处理器,如下所示:
exec sp_configure 'affinity i/o mask', 0 go reconfigure with override go exec sp_configure 'affinity mask', 15 go reconfigure with override go
值 15(二进制 00001111)允许 SQL Server 线程在所有四个处理器上运行。
参考
What is your affinity mast set to? You can find out by querying:
My guess is that you're not utilizing half of your CPUs, showing you those results.
If you have four processors, you can utilize all of them by setting affinity mask to 15, like so:
affinity mask
The value 15 (binary 00001111) allows SQL Server threads on all four of your processors.
Reference
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
您的亲和力桅杆设置为多少?您可以通过查询找到答案:
我的猜测是您没有利用一半的 CPU,向您显示这些结果。
如果您有四个处理器,则可以通过将关联掩码设置为 15 来利用所有处理器,如下所示:
值 15(二进制 00001111)允许 SQL Server 线程在所有四个处理器上运行。
参考
What is your affinity mast set to? You can find out by querying:
My guess is that you're not utilizing half of your CPUs, showing you those results.
If you have four processors, you can utilize all of them by setting
affinity mask
to 15, like so:The value 15 (binary 00001111) allows SQL Server threads on all four of your processors.
Reference