top of page

Script to find SQL Server Hardware Details

SELECT cpu_count AS [Logical CPU Count], hyperthread_ratio AS [Hyperthread Ratio],

cpu_count/hyperthread_ratio AS [Physical CPU Count],

physical_memory_kb/1048576 AS [Physical Memory (MB)],

sqlserver_start_time, affinity_type_desc

FROM sys.dm_os_sys_info OPTION (RECOMPILE);


--Fetching data from SQL Server DMV sys.dm_os_sys_info

10 views0 comments

Recent Posts

See All

SQL Server Profiler Trace

--Import multiple trace file in sql Table. --All the rollover files will be automatically imported --provide number tracefile to capture...

Σχόλια


bottom of page