User configuration defined in this section will never be replaced by subsequent SQLWATCH updates.
Data collection relies on SQL Agent jobs. The jobs' schedules can be modified to fit specific requirements.
Data retention is executed by Agent job
snapshot_type has its own retention defined in table
This approach allows setting different retention for performance data, disk utilisation, query performance and son on.
Default retention periods:
select * from [dbo].[sql_perf_mon_config_snapshot_type]
Performance counters collected by SQLWATCH are defined in table
[dbo].[sql_perf_mon_config_perf_counters]. Collection of individual performance counters can be set using the boolean
collect column. Disabling the default performance counter collectors will stop them from being shown on the default dashboard. New collectors can be added to the list if required.
Please note the
instance_name is dynamic and contains actual names of objects i.e. database names. The collection definition takes this into account with a dynamic approach:
Literal valid instance name i.e. 'Elapsed Time:Total(ms)' or ''
Will translate to literal 'Elapsed Time:Total(ms)' or '' Not e that instance name must a valid instance
Will only include '_Total' instances. This is useful if we only want to collect high level aggregates and are not interested in low level objects i.e. datbase
Will not include '_Total' instances, i.e. it will collect any other instances for this particular