5.0
2021-11-22T02:06:20Z
Windows Servers
App MS SQL DB Discovery
App MS SQL DB Discovery
Windows Servers
SQL Databases
MS SQL DB Discovery
windowsdb.discovery
300
{#DBS}
@MS SQL System DBs
A
Discovers databases within a single instance specified in a Powershell script.
{$INSTANCE01} Databases {#DBS} Active Transactions
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Active Transactions",300]
30
FLOAT
Number of active transactions for the database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Bulk Copy Rows/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Bulk Copy Rows/sec",300]
30
FLOAT
/sec
Number of rows bulk copied per second.
SQL Databases
{$INSTANCE01} Databases {#DBS} Bulk Copy Throughput/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Bulk Copy Throughput/sec",300]
30
FLOAT
KBytes/sec
Amount of data bulk copied (in kilobytes) per second.
SQL Databases
{$INSTANCE01} Databases {#DBS} Commit Table Entries
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Commit Table Entries",300]
30
FLOAT
The size of the in-memory portion of the commit table for the database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Data File(s) Size (KB)
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Data File(s) Size (KB)",300]
30
FLOAT
KBytes
Cumulative size (in kilobytes) of all the data files in the database including any automatic growth. Monitoring this counter is useful, for example, for determining the correct size of tempdb.
SQL Databases
{$INSTANCE01} Databases {#DBS} DBCC Logical Scan Bytes/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\DBCC Logical Scan Bytes/sec",300]
30
FLOAT
Bytes/sec
Number of logical read scan bytes per second for database console commands (DBCC).
SQL Databases
{$INSTANCE01} Databases {#DBS} Group Commit Time/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Group Commit Time/sec",300]
30
FLOAT
/sec
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Bytes Flushed/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Bytes Flushed/sec",300]
30
FLOAT
Bytes/sec
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Cache Hit Ratio
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Cache Hit Ratio",300]
30
FLOAT
Percentage of log cache reads satisfied from the log cache.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Cache Reads/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Cache Reads/sec",300]
30
FLOAT
/sec
Reads performed per second through the log manager cache.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log File(s) Size (KB)
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log File(s) Size (KB)",300]
30
FLOAT
KBytes
Cumulative size (in kilobytes) of all the transaction log files in the database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log File(s) Used Size (KB)
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log File(s) Used Size (KB)",300]
30
FLOAT
KBytes
The cumulative used size of all the log files in the database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Flushes/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flushes/sec",300]
30
FLOAT
/sec
Number of log flushes per second.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Flush Waits/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Waits/sec",300]
30
FLOAT
/sec
Number of commits per second waiting for the log flush.
SQL Databases
{avg(600)}>0.1
{#DBS} Log Flush Waits/sec
WARNING
The number of times per second that SQL Server must wait for pages to be written to the transaction log.
{$INSTANCE01} Databases {#DBS} Log Flush Wait Time
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Wait Time",300]
30
FLOAT
millisec
Total wait time (in milliseconds) to flush the log. On an AlwaysOn secondary database, this value indicates the wait time for log records to be hardened to disk.
SQL Databases
{avg(600)}>0.1
{#DBS} Log Flush Wait Time
WARNING
Total wait time, in milliseconds, to write all transaction log pages.
{$INSTANCE01} Databases {#DBS} Log Flush Write Time (ms)
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Write Time (ms)",300]
30
FLOAT
millisec
Time in milliseconds for performing writes of log flushes that were completed in the last second.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Growths
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Growths",300]
30
FLOAT
Total number of times the transaction log for the database has been expanded.
SQL Databases
{avg(600)}>0.1
{#DBS} Log Growths
WARNING
Total number of times the transaction log for the database has been expanded. Each time the transaction log grows, all user activity must halt until the log growth completes. Therefore, you want log growths to occur during predefined maintenance windows rather than during general working hours
{$INSTANCE01} Databases {#DBS} Log Pool Cache Misses/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Cache Misses/sec",300]
30
FLOAT
/sec
Number of requests for which the log block was not available in the log pool. The log pool is an in-memory cache of the transaction log. This cache is used to optimize reading the log for recovery, transaction replication, rollback, and AlwaysOn Availability Groups.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Pool Disk Reads/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Disk Reads/sec",300]
30
FLOAT
/sec
Number of disk reads that the log pool issued to fetch log blocks.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Pool Requests/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Requests/sec",300]
30
FLOAT
/sec
The number of log-block requests processed by the log pool.
SQL Databases
{$INSTANCE01} Databases {#DBS} Log Shrinks
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Shrinks",300]
30
FLOAT
Total number of times the transaction log for the database has been shrunk.
SQL Databases
{avg(600)}>0.1
{#DBS} Log Shrinks
WARNING
Total number of times the transaction log for the database has been shrunk.
{$INSTANCE01} Databases {#DBS} Log Truncations
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Truncations",300]
30
FLOAT
The number of times the transaction log has been shrunk.
SQL Databases
{$INSTANCE01} Databases {#DBS} Percent Log Used
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Percent Log Used",300]
30
FLOAT
%
Percentage of space in the log that is in use.
SQL Databases
{last()}>80
{#DBS} Percent Log Used
WARNING
Percentage of space in the log that is in use. Since all work in an OLTP database stops until writes can occur to the transaction log, it’s a very good idea to ensure that the log never fills completely. Hence, the recommendation to keep the log under 80% full.
{$INSTANCE01} Databases {#DBS} Repl. Pending Xacts
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Repl. Pending Xacts",300]
30
FLOAT
Number of transactions in the transaction log of the publication database marked for replication, but not yet delivered to the distribution database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Repl. Trans. Rate
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Repl. Trans. Rate",300]
30
FLOAT
/sec
Number of transactions per second read out of the transaction log of the publication database and delivered to the distribution database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Shrink Data Movement Bytes/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Shrink Data Movement Bytes/sec",300]
30
FLOAT
Bytes/sec
Amount of data being moved per second by autoshrink operations, or DBCC SHRINKDATABASE or DBCC SHRINKFILE statements.
SQL Databases
{$INSTANCE01} Databases {#DBS} Tracked transactions/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Tracked transactions/sec",300]
30
FLOAT
/sec
Number of committed transactions recorded in the commit table for the database.
SQL Databases
{$INSTANCE01} Databases {#DBS} Transactions/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Transactions/sec",300]
30
FLOAT
/sec
Number of transactions started for the database per second.
SQL Databases
{$INSTANCE01} Databases {#DBS} Write Transactions/sec
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Write Transactions/sec",300]
30
FLOAT
/sec
Number of transactions that wrote to the database and committed, in the last second.
SQL Databases
Database {#DBS} Bulk Copies
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Bulk Copy Rows/sec",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Bulk Copy Throughput/sec",300]
Database {#DBS} File Sizes (KB)
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Data File(s) Size (KB)",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log File(s) Size (KB)",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log File(s) Used Size (KB)",300]
Database {#DBS} Log Pool Rates
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Cache Misses/sec",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Disk Reads/sec",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Pool Requests/sec",300]
Database {#DBS} Log Rates
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Bytes Flushed/sec",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Cache Reads/sec",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flushes/sec",300]
3
C800C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Waits/sec",300]
Database {#DBS} Log Sizes
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Growths",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Shrinks",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Truncations",300]
3
C800C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Percent Log Used",300]
Database {#DBS} Log Times and Ratios
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Cache Hit Ratio",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Wait Time",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Log Flush Write Time (ms)",300]
Database {#DBS} Replication
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Repl. Pending Xacts",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Repl. Trans. Rate",300]
Database {#DBS} Transactions
00C800
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Active Transactions",300]
1
FF3333
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Tracked transactions/sec",300]
2
0000C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Transactions/sec",300]
3
C800C8
-
App MS SQL DB Discovery
perf_counter["\{$INSTANCE01}:Databases({#DBS})\Write Transactions/sec",300]
{$INSTANCE01}
SQLServer