Skip to content

Checks#

Every check that ships with pgcue, by topic.

Database activity#

Connections, sessions, transactions, and backend activity.

Check What it does
activity.connections Summarizes current connections by database, user, application, client, and state.
activity.idle_transactions Shows sessions left idle inside a transaction beyond a specified duration.
activity.long_transactions Shows transactions running longer than a specified duration.

Statements#

Statement workload and query performance.

Check What it does
statements.top Shows statements with the highest mean execution time.

Storage#

Cluster, database, table, and index sizes.

Check What it does
storage.cluster_size Shows the on-disk size of the postgres cluster.
storage.database_size Shows the on-disk size of databases in the PostgreSQL cluster.
storage.largest_indexes Selects user indexes by estimated pages, then reports their on-disk sizes.
storage.largest_tables Selects user tables by estimated heap pages, then reports their total relation sizes.
storage.table_size Shows the table, index, and total size of a PostgreSQL table.

WAL#

Write-ahead log generation, archiving, and checkpoints.

Check What it does
wal.archiver Shows successful and failed write-ahead log archive operations.
wal.statistics Shows cumulative write-ahead log generation and write statistics.