From: Дилян Палаузов <dilyan.palauzov@aegee.org>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: backend_flush_after bytes/pages
Date: Tue, 7 Feb 2017 20:21:58 +0100
Message-ID: <27193232-f993-147f-4c07-8182d64c7611@aegee.org> (raw)
In-Reply-To: <20170207185720.uqep3szyulmej7no@alap3.anarazel.de>
References: <2b9e5c4a-be57-ec45-12c7-2d17e6ebd8b9@aegee.org>
<20170207185720.uqep3szyulmej7no@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello,
does
backend_flush_after = 7
mean 7 bytes or seven pages? https://www.postgresql.org/docs/9.6/static/runtime-config-resource.html#GUC-BACKEND-FLUSH-AFTER suggests it means 7 bytes, which is not the reality. The documentation is misleading.
Greetings
Dilian
On 02/07/17 19:57, Andres Freund wrote:
> Hi,
>
> On 2017-02-07 19:40:45 +0100, Дилян Палаузов wrote:
>> doc/src/smgl/config.sgml: line 2049 for postgres 9.6 states: "Whenever more than backend_flush_after bytes have been written...", which suggests that the data is interpreted as bytes. However the by initdb generated postgresql.conf file mentions that backend_flush_after is in pages, and pg_settings says the unit is 8kB.
>
>> Please rephrase doc/src/smgl/config.sgml to state, that the unit for
>> backend_flush_after is not bytes, but pages.
>
> You can configure it in bytes though, so I don't really think that
> matters?
>
> Regards,
>
> Andres
>
>
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: dilyan.palauzov@aegee.org, andres@anarazel.de
Subject: Re: backend_flush_after bytes/pages
In-Reply-To: <27193232-f993-147f-4c07-8182d64c7611@aegee.org>
References: <2b9e5c4a-be57-ec45-12c7-2d17e6ebd8b9@aegee.org> <20170207185720.uqep3szyulmej7no@alap3.anarazel.de> <27193232-f993-147f-4c07-8182d64c7611@aegee.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox