Get Databases Config Health
mssql_db_config_healthCheck SQL Server user database settings health by flagging risky compatibility, recovery, auto-shrink, statistics, Query Store, and related options; return only flagged databases by default.
Instructions
Database settings health for every online user database: compatibility level, recovery model, page verify, auto close, auto shrink, auto statistics, target recovery time and Query Store, with Flags for risky values. onlyFlagged=true (default) returns only flagged databases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onlyFlagged | No | Return only databases with at least one flag. Set false to return all. |