BG Writer
Properties
bgwriter_delay(integer): Specifies the delay between activity rounds for the background writer in milliseconds. The default is200.bgwriter_flush_after(integer): Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is512.bgwriter_lru_maxpages(integer): In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is100.bgwriter_lru_multiplier(number): The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is2.0.
Last updated on