bgwriter_lru_multiplier blurbs inconsistent

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: bgwriter_lru_multiplier blurbs inconsistent
Date: 2008-01-20 19:55:19
Message-ID: 20080120195519.GD22740@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2008-01-20 20:08:40 Re: bgwriter_lru_multiplier blurbs inconsistent
Previous Message Oleg Bartunov 2008-01-16 08:00:48 Re: Full Text Search examples patch

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-20 20:08:40 Re: bgwriter_lru_multiplier blurbs inconsistent
Previous Message Alvaro Herrera 2008-01-20 19:41:41 Re: Friendly help for psql