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:
-
Type the following:
unlodctr.exe MSSQLServer
-
Type:
lodctr.exe \binn\sqlctr.ini
-
Reboot the server.
If the Analysis Services counters can’t be found use the following:
At the command prompt:
-
Type the following:
unlodctr.exe MSSQLServerOLAPService
-
Type:
lodctr.exe \binn\msmdctr.ini
-
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.