1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Added GUC variable bgwriter_flush_method controlling the action

done by the background writer between writing dirty blocks and
napping.

    none (default)   no action
	sync             bgwriter calls smgrsync() causing a sync(2)

A global sync() is only good on dedicated database servers, so
more flush methods should be added in the future.

Jan
This commit is contained in:
Jan Wieck
2004-01-24 20:00:46 +00:00
parent 610d33c194
commit d77b63b17c
4 changed files with 68 additions and 5 deletions

View File

@ -61,9 +61,12 @@
#debug_shared_buffers = 0 # 0-600 seconds
# - Background writer -
#debug_shared_buffers = 0 # 0-600 seconds interval (0 = off)
#bgwriter_delay = 200 # 10-5000 milliseconds
#bgwriter_percent = 1 # 0-100% of dirty buffers
#bgwriter_maxpages = 100 # 1-1000 buffers max at once
#bgwriter_flush_method = none # how the bgwriter flushes kernel buffers
# one of: none or sync
# - Free Space Map -