mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Allow background writing to be shut down by setting limit values to zero.
This does not disable the bgwriter process: it still has to wake up often enough to collect fsync requests from backends in a timely fashion. But it responds to the recent gripe about not being able to prevent the disk from being spun up constantly.
This commit is contained in:
@ -98,9 +98,9 @@
|
||||
|
||||
# - Background writer -
|
||||
|
||||
#bgwriter_delay = 200 # 10-5000 milliseconds
|
||||
#bgwriter_percent = 1 # 1-100% of dirty buffers
|
||||
#bgwriter_maxpages = 100 # 1-1000 buffers max at once
|
||||
#bgwriter_delay = 200 # 10-10000 milliseconds between rounds
|
||||
#bgwriter_percent = 1 # 0-100% of dirty buffers in each round
|
||||
#bgwriter_maxpages = 100 # 0-1000 buffers max per round
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user