Spotlight Enterprise uses the Azure SQL Managed Instance virtual table sysperfinfo to retrieve data for many of its displays. In some rare cases, this table may not contain information. When this is the case, Spotlight Enterprise will not be able to collect the data it requires, and will display '0' for many of its metrics. Most obvious will be the Memory icons on the Spotlight Overview page, which will show 0 MB of memory used by Azure SQL Managed Instance. Also, many of the flows on the Spotlight Overview page will show no activity, and many drilldowns will show incomplete information.



Spotlight Enterprise raises an informational alarm shortly after connecting if it detects that the sysperfinfo table contains no data.

You can confirm the existence of this problem by running the following SQL in SQL Server Management Studio:

select * from sys.dm_os_performance_counters

If this query returns no records, then your Azure SQL Managed Instance performance counters are missing and Spotlight Enterprise will not be able to operate correctly.

Sometimes, for a variety of reasons, the SQL Server Performance Monitor counters will not show up as they should. Often, but not always, this problem can be fixed by following these steps:

At the command prompt:

  1. Type the following:

    unlodctr.exe MSSQLServer
    
  2. Type:

    lodctr.exe \binn\sqlctr.ini
    
  3. Reboot the server.

If the Analysis Services counters can’t be found use the following:

At the command prompt:

  1. Type the following:

    unlodctr.exe MSSQLServerOLAPService
    
  2. Type:

    lodctr.exe \binn\msmdctr.ini
    
  3. Reboot the server.

If an unexpected error message is displayed, look it up at msdn.microsoft.com. Note, this tip is for non-clustered SQL Servers only.