A lack of statistics for the dials in SQL check usually occurs because the SQL counters that look for that information are unavailable.
You can check whether this is the case by running Perfmon:
- Go to start... run and execute "perfmon.exe"
- Right click or press ctrl-I in the counter window to bring up "Add counters"
- Connect to the computer where the SQL Server is installed under "select counters from computer:"
- Under Performance Monitor object, select any object prefaced with SQLServer: and add a counter to the list
If the counters are not available, they might not have been installed initially or they may have been disabled by a service pack.
This situation is easily resolved.
If the statistics have disappeared just after an upgrade to the monitored server's OS or SQL Server, you may need to restart that computer for the counters to become active again.
If the counters were never installed before, just use the SQL server setup CD to install the counters.
If the counters have been installed before, and a restart doesn't resolve the issue, please follow the instructions below. Please note that this procedure requires a stop and restart of SQL Server on the machine:
- Unload the SQL Server Counters. In command line, execute "unlodctr MSSQLServer"
- Verify that the file C:\Program Files\Microsoft SQL Server\MSSQL\BINN\sqlctr.ini is defined with all counters.
- From the command line, go to C:\Program Files\Microsoft SQL Server\MSSQL\BINN and execute "lodctr sqlctr.ini"
- In command line, execute "net stop mssqlserver", then execute "net start mssqlserver"
Further, SQL check will show no real-time database performance statistics if the server has been started with the parameter -x, which disables the keeping of statistics. To determine if this is the case, open Enterprise Manager, right click the server, go to Properties, and view Startup Parameters.