bgwriter_lru_multiplier blurbs inconsistent

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема bgwriter_lru_multiplier blurbs inconsistent
Дата
Msg-id 20080120195519.GD22740@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: [DOCS] bgwriter_lru_multiplier blurbs inconsistent  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: bgwriter_lru_multiplier blurbs inconsistent  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-hackers
Is the bgwriter_lru_multiplier parameter a limit on the number to scan
or to write?  GUC and docs seem to contradict one another.  GUC says

#: utils/misc/guc.c:1834
#, fuzzy
msgid "Background writer multiplier on average buffers to scan per round."

The docs say

         Unless limited by <varname>bgwriter_lru_maxpages</>, the number
         of dirty buffers written in each round is determined by reference
         to the number of new buffers that have been needed by server
         processes during recent rounds.  This number is multiplied by
         <varname>bgwriter_lru_multiplier</> to arrive at the estimate
         of the number of buffers that will be needed during the next round.


Which one is correct?  Do we need a correction of either?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Transaction Snapshot Cloning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] bgwriter_lru_multiplier blurbs inconsistent