aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>2004-01-24 20:00:46 +0000
committerJan Wieck <JanWieck@Yahoo.com>2004-01-24 20:00:46 +0000
commitd77b63b17cb34c69b4ace1f4479566b9f9160e2b (patch)
tree0cb83cec44628e1b8db0bca809a77724af581a91 /src/backend/utils/misc/postgresql.conf.sample
parent610d33c1949005e9658863441f31083f9f3ceb9b (diff)
downloadpostgresql-d77b63b17cb34c69b4ace1f4479566b9f9160e2b.tar.gz
postgresql-d77b63b17cb34c69b4ace1f4479566b9f9160e2b.zip
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
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 30e7ebe1670..530e8c7952b 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -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 -