stats_fetch_consistency

A server parameter determining behavior for accessing cumulative statistics

stats_fetch_consistency is a configuration parameter| determining behavior when cumulative statistics are accessed multiple times within a transaction.

stats_fetch_consistency was added in PostgreSQL 15.

Usage

Possible values are:

  • cache
  • snapshot
  • none

Default value

The default value for stats_fetch_consistency is: cache.

Change history

Categories

GUC configuration item

See also

pg_stat_clear_snapshot()