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 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.

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

Columns 8

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 11
  1. PG 18 → 19changed
  2. PG 15 → 16changed
  3. PG 13 → 14changed
  4. PG 12 → 13changed
  5. PG 11 → 12changed
  6. PG 9.6 → 10changed
  7. PG 9.5 → 9.6changed
  8. PG 9.4 → 9.5changed
  9. PG 9.3 → 9.4changed
  10. PG 9.1 → 9.2changed
  11. PG 9.0 → 9.1added

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