Sometimes we need basic server details , we can get this information from below DMV
SELECT *
FROM sys.dm_os_sys_info
It provides valuable miscellaneous hardware information which includes number of logical cpu and hyperthread ratio for servers. Also provides information for physical memory , virtual memory , buffer pool , sql server start time . In one of my previous article I have discussed how to get SQL server start time from tempdb
But from here we can get more accurate detail about sql server start time .
SELECTcpu_count logical_cpu,
hyperthread_ratio,
cpu_count /hyperthread_ratio physcial_cpu,
physical_memory_in_bytes / ( 1024 * 1024 * 1024 ) memory_in_gb,
virtual_memory_in_bytes / ( 1024 * 1024 * 1024 ) virtual_memory_in_gb,
bpool_committed buffer_pool_committed,
bpool_commit_target buffer_pool_commit_target,
bpool_visible buffer_pool_visible,
sqlserver_start_time
FROM sys.dm_os_sys_info
March 12, 2011 at 11:34 am |
Sir,my database mainteance plans have been vanished. when i create a new plan it says, database msdb cannot be opened …….suspect " i am having a backup of msdb one month before . can i restoe it
March 16, 2011 at 6:14 pm |
well you can restore it but you will not have job /backup history for the month . But you will get all jobs/packages. If you can recreate jops they you can recreate msdb here is link for it http://shahamishm.blogspot.com/2008/07/how-to-restore-msdb-database-if-your.html