↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / Statistics views

pg_stat_database_conflicts

Read the PG 18 manual

The pg_stat_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers.

Reading PG 18current·documented in 17 of 24 versions, 9.1 to 20

Kind
Statistics views
Columns in this snapshot
8
Definition source
English manual
Metadata snapshot
18.6

Columns 8

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
datidoidOID of a database
datnamenameName of this database
confl_tablespacebigintNumber of queries in this database that have been canceled due to dropped tablespaces
confl_lockbigintNumber of queries in this database that have been canceled due to lock timeouts
confl_snapshotbigintNumber of queries in this database that have been canceled due to old snapshots
confl_bufferpinbigintNumber of queries in this database that have been canceled due to pinned buffers
confl_deadlockbigintNumber of queries in this database that have been canceled due to deadlocks
confl_active_logicalslotbigintNumber of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary
Column history across versions
Version history 6
  1. 18 → 19 changed
  2. 15 → 16 changed
  3. 13 → 14 reworded
  4. 12 → 13 reworded
  5. 9.1 → 9.2 reworded
  6. 9.0 → 9.1 added

Definition snapshot: english-manuals:a808e5e2061914a4a796a508c51… · English manual source