Contents
Statistics collector
A subsystem which collects information about activity on the local server
The statistics collector
is a subsystem which collects information about activity on the local server, such as table/index access and vacuum/analyze activity.
Information gathered by the statistics collector is made available via the various pg_stat_* / pg_statio_*
views.
Note that these kinds of statistics are specific to the local server and are not replicated. They should not be confused with the statistics on data collected by analyze
operations and stored in the pg_statistic
table, which are replicated.
Configuration
The following configuration parameters are relevant for the statistics collector
:
track_activities
track_activity_query_size
track_counts
track_functions
track_io_timing
stats_temp_directory
References
- PostgreSQL documentation: The Statistics Collector
- PostgreSQL documentation: Query and Index Statistics Collector