Wiki / Configuration Parameters
wal_summary_keep_time
Configures the amount of time after which the WAL summarizer automatically removes old WAL summaries. The file timestamp is used to determine which files are old enough to remove. Typically, you should set this comfortably higher than the time that could pass between a backup and a later incremental backup that depends on it. WAL summaries must be available for the entire range of WAL records between the preceding backup and the new one being taken; if not, the incremental backup will fail. If this parameter is set to zero, WAL summaries will not be automatically deleted, but it is safe to manually remove files that you know will not be required for future incremental backups. This parameter can only be set in the postgresql.conf file or on the server command line. If this value is specified without units, it is taken as minutes. The default is 10 days. If summarize_wal = off, existing WAL summaries will not be removed regardless of the value of this parameter, because the WAL summarizer will not run.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- boot val
- 14400
- category
- Write-Ahead Log / Summarization
- context
- sighup
- documented
- true
- enumvals
- Unknown
- extra desc
- 0 disables automatic summary file deletion.
- lang
- en
- max val
- 35791394
- metadata version
- 18
- min val
- 0
- name
- wal_summary_keep_time
- short desc
- Time for which WAL summary files should be kept.
- source
- pg-settings-source-snapshot
- unit
- min
- vartype
- integer
Definition PG 18
Configures the amount of time after which the WAL summarizer automatically removes old WAL summaries. The file timestamp is used to determine which files are old enough to remove. Typically, you should set this comfortably higher than the time that could pass between a backup and a later incremental backup that depends on it. WAL summaries must be available for the entire range of WAL records between the preceding backup and the new one being taken; if not, the incremental backup will fail. If this parameter is set to zero, WAL summaries will not be automatically deleted, but it is safe to manually remove files that you know will not be required for future incremental backups. This parameter can only be set in the postgresql.conf file or on the server command line. If this value is specified without units, it is taken as minutes. The default is 10 days. If summarize_wal = off, existing WAL summaries will not be removed regardless of the value of this parameter, because the WAL summarizer will not run.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:5b473f0e25867083110b6a4ed90026b0783d4ff697eae1511070273ffa4f10c2
Text language: en · wiki-repair-20261023:5b473f0e25867083110b6a4ed90026b0783d4ff697eae1511070273ffa4f10c2