The tools available for monitoring SQL Server performance are useful to obtain the information. However, on a larger scale they will be limited for automation. In order to carry out in-depth monitoring and analyzing the data in a graphical way, and in the form of reports, we may need traditional scripting methods to collect, monitor, and view the required information in a useful way.
Both the Windows operating system and SQL Server provide a number of tools that can be used to collect, analyze, monitor, and report performance-related data to some extent when they are used together. SQL Server 2008 includes the new performance monitoring warehouse feature called Data Collector and Management Data Warehouse (MDW). The Data Collector stands by its name to collect performance-related data from multiple sources and store in a central data warehouse to represent the data through reports in the SSMS tool. The collection process is performed as an automated...