Server Configuration
Sets the maximum number of disk pages for which free space will
be tracked in the shared free-space map. Six bytes of shared memory
are consumed for each page slot. This setting must be more than
- 16 * max_fsm_relations. The default is 20000,
- but
initdb> will try to set it as close as possible
- to 200000, depending on the amount of available memory.
- This option can only be set at server start.
+ 16 * max_fsm_relations. The default is chosen
+ by
initdb> depending on the amount of available memory,
+ and can range from 20000 to 200000.
+ This option can only be set at server start.
Controls whether the server should start the
statistics-collection subprocess. This is on by default, but
may be turned off if you know you have no interest in
- collecting statistics. This option can only be set at server
- start.
+ collecting statistics or running autovacuum.
+ This option can only be set at server start, because the collection
+ subprocess cannot be started or stopped on-the-fly. (However, the
+ extent to which statistics are actually gathered can be changed while
+ the server is running, so long as the subprocess exists.)
- global configuration parameters
+ configuration parameters
- These settings control the default behavior for the autovacuum
- daemon. Please refer to for
+ These settings control the behavior of the autovacuum>
+ feature. Please refer to for
more information.
- Controls whether the server should start the
- autovacuum subprocess. This is off by default.
+ Controls whether the server should run the
+ autovacuum daemon. This is off by default.
stats_start_collector> and stats_row_level>
- must also be on for this to start.
+ must also be turned on for autovacuum to work.
This option can only be set at server start or in the
postgresql.conf file.
Specifies the delay between activity rounds for the autovacuum
- subprocess. In each round the subprocess examines one database
+ daemon. In each round the daemon examines one database
and issues VACUUM> and ANALYZE> commands
as needed for tables in that database. The delay is measured
in seconds, and the default is 60.