25 pts.
 SQL Server 2005 System Report
I need some ideas of how to create a SQL Server System Report, i.e. how much memory has been consumed, how much time was taken in a job run? Can some one provide me an example, please? Thanx.

Software/Hardware used:
SQL Server 2005
ASKED: April 22, 2010  4:40 PM
UPDATED: May 15, 2010  2:18 PM

Answer Wiki:
You can query the sys.dm_os_performance_counters DMV to see a breakdown of where the memory is being used. <pre>select * from sys.dm_os_performance_counters where object_name = 'SQLServer:Memory Manager'</pre> You can use the stored procedure sp_help_jobhistory in the msdb database to view the job history. <pre>EXEC sp_help_jobhistory @job_name='syspolicy_purge_history'</pre>
Last Wiki Answer Submitted:  April 22, 2010  6:19 pm  by  Denny Cherry   64,520 pts.
All Answer Wiki Contributors:  Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thanx for the help MrDenny.

 25 pts.

 
 10 pts.