File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1820,8 +1820,11 @@ include_dir 'conf.d'
1820
1820
There is a separate server
1821
1821
process called the <firstterm>background writer</>, whose function
1822
1822
is to issue writes of <quote>dirty</> (new or modified) shared
1823
- buffers. It writes shared buffers so server processes handling
1824
- user queries seldom or never need to wait for a write to occur.
1823
+ buffers. When the number of clean shared buffers appears to be
1824
+ insufficient, the background writer writes some dirty buffers to the
1825
+ file system and marks them as clean. This reduces the likelihood
1826
+ that server processes handling user queries will be unable to find
1827
+ clean buffers and have to write dirty buffers themselves.
1825
1828
However, the background writer does cause a net overall
1826
1829
increase in I/O load, because while a repeatedly-dirtied page might
1827
1830
otherwise be written only once per checkpoint interval, the
You can’t perform that action at this time.
0 commit comments