summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2004-10-17 22:01:51 +0000
committerTom Lane2004-10-17 22:01:51 +0000
commit4347cc2392a75dec1d5e83f8b60911597fc602d9 (patch)
tree291a95ed8fc4a81871ca98848ec69007e1078663 /doc/src
parentbdbe9c9f061439f180976b75e4be50f5ea64d07f (diff)
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index f82fbc877de..b4a84616f54 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.288 2004/10/15 16:50:29 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.289 2004/10/17 22:01:49 tgl Exp $
-->
<Chapter Id="runtime">
@@ -1305,7 +1305,9 @@ SET ENABLE_SEQSCAN TO OFF;
<varname>bgwriter_maxpages</varname> reduce the extra I/O load
caused by the background writer, but leave more work to be done
at checkpoint time. To reduce load spikes at checkpoints,
- increase the values.
+ increase the values. To disable background writing entirely,
+ set <varname>bgwriter_percent</varname> and/or
+ <varname>bgwriter_maxpages</varname> to zero.
</para>
</sect3>