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 @@ -2093,8 +2093,11 @@ include_dir 'conf.d'
2093
2093
There is a separate server
2094
2094
process called the <firstterm>background writer</firstterm>, whose function
2095
2095
is to issue writes of <quote>dirty</quote> (new or modified) shared
2096
- buffers. It writes shared buffers so server processes handling
2097
- user queries seldom or never need to wait for a write to occur.
2096
+ buffers. When the number of clean shared buffers appears to be
2097
+ insufficient, the background writer writes some dirty buffers to the
2098
+ file system and marks them as clean. This reduces the likelihood
2099
+ that server processes handling user queries will be unable to find
2100
+ clean buffers and have to write dirty buffers themselves.
2098
2101
However, the background writer does cause a net overall
2099
2102
increase in I/O load, because while a repeatedly-dirtied page might
2100
2103
otherwise be written only once per checkpoint interval, the
You can’t perform that action at this time.
0 commit comments