In part-1, I discussed about tracking modified extent page counts. Starting from SQL Server 2017 CTP 2.0 processor information is visible in sys.dm_os_sys_info dmv. This was another highly requested feature from the community. New columns which are added in sys.dm_os_sys_info dmv are socket_count, cores_per_socket, numa_node_count.
SELECT @@version as 'SQL Version', socket_count, cores_per_socket, numa_node_count FROM sys.dm_os_sys_info
Some of the other ways to get the processor information
Using PowerShell
Get-WmiObject -Class win32_processor | select DeviceID, SocketDesignation, NumberOfCores, NumberOfLogicalProcessors
Using System Information
Open run (Windows Key + R) -> Type msinfo32 -> Hit Enter
Hope this helps
Cheers,
Naveen
Nice article, but need more on power shell for DBA
ReplyDeleteWow what a great blog, i really enjoyed reading this, good luck in your work. AZ-120: Planning and Administering Microsoft Azure for SAP Workloads
ReplyDelete