Non-existing databases in offline whitelist

How can we help?
< All Topics
Print

Non-existing databases in offline whitelist

If a database has been included in the dbo.offline_databases_whitelist table, but does not exist anymore, this alert will be thrown.

To query the Performance Store database for databases that do not exist, but are marked to be whitelisted so they wont be a part of the automated offline functionality, use:

select w.*
from dbo.offline_databases_whitelist w
left join dbo.databases d on d.server_name = w.server_name and d.database_name = w.database_name and d.state_desc = 'ONLINE'
where d.server_name is null

The alert will be visible on the Latest stats dashboard.

To exclude specific servers from this alert, see how to use the dbo.team_alert_exclude table in Alerting.

Table of Contents