↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

bgwriter_lru_maxpages

In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. (Note that checkpoints, which are managed by a separate, dedicated auxiliary process, are unaffected.) The default value is 100 buffers. This parameter can only be set in the postgresql.conf file or on the server command line.

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
100
category
Resource Usage / Background Writer
context
sighup
documented
true
enumvals
Unknown
extra desc
0 disables background writing.
lang
en
max val
1073741823
metadata version
18
min val
0
name
bgwriter_lru_maxpages
short desc
Background writer maximum number of LRU pages to flush per round.
source
pg-settings-source-snapshot
unit
Unknown
vartype
integer

Definition PG 18

In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. (Note that checkpoints, which are managed by a separate, dedicated auxiliary process, are unaffected.) The default value is 100 buffers. This parameter can only be set in the postgresql.conf file or on the server command line.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:5ec1de90083c2f1b483476a03e8d1f9ff814b898082d0060afa7e75a8645b9ce

Text language: en · wiki-repair-20261023:5ec1de90083c2f1b483476a03e8d1f9ff814b898082d0060afa7e75a8645b9ce