Open marcingminski opened 4 years ago
Things that are currently failing to build for 2008:
sys.dm_hadr_availability_replica_states
in vw_sqlwatch_sys_databases
with results
statementsBased on my checks, version 1.3.3 is the last one that works with SQL Server 2008.
Installation steps
Download release https://github.com/marcingminski/sqlwatch/releases/download/1.3.3/SQLWATCH_1.3.3.zip
[Optional] Create empty database to avoid issues related to collation (https://docs.sqlwatch.io/known-issues/#collation-conflict)
C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin
) and run command:SqlPackage.exe /Action:Publish /SourceFile:{{PathToSqlWatch}}\SQLWATCH.dacpac /TargetDatabaseName:
SQLWATCH /TargetServerName:{{ServerName}} /p:RegisterDataTierApplication=True
Usage
SQLWATCH Performance Dashboard.pbit
in PowerBI Desktop or another templateUninstallation steps
https://docs.sqlwatch.io/installation/removal/#manually
DBA-PERF-*
, these need to be deleted as well
Looks like the minimum target platform was changed to SQL 2012 in order to query availability replicas, which aren't available in 2008. What this means is that it is now impossible to deploy to SQL 2008 but it was not the intention. Other than the above there is nothing that would stop supporting SQL 2008. I will look into how to make this work but for the time being, if you are on SQL 2008 you'd need to pull the source code and exclude references to availability replicas, then build for SQL 2008.