How many sockets does my machine have in SQL Server?

select
cpu_count/hyperthread_ratio AS sockets
from
sys.dm_os_sys_info

No comments:

Post a Comment