pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: backend_flush_after bytes/pages
Date: Tue, 7 Feb 2017 11:28:48 -0800
Message-ID: <20170207192848.deqytrme2nanhhjc@alap3.anarazel.de> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,

(please don't top-quote on this list)

On 2017-02-07 20:21:58 +0100, Дилян Палаузов wrote:
> 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.

7 pages. But if you write '700kB' it'll be taken as bytes (with 8kB
granularity).  shared_buffers also is computed based on page-size and
documented in bytes.

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



view thread (4+ messages)

Message-ID: <20170207192848.deqytrme2nanhhjc@alap3.anarazel.de>
Permalink:  ../20170207192848.deqytrme2nanhhjc@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170207192848.deqytrme2nanhhjc@alap3.anarazel.de

 · 

reply

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: andres@anarazel.de, dilyan.palauzov@aegee.org
  Subject: Re: backend_flush_after bytes/pages
  In-Reply-To: <20170207192848.deqytrme2nanhhjc@alap3.anarazel.de>
  References: <2b9e5c4a-be57-ec45-12c7-2d17e6ebd8b9@aegee.org> <20170207185720.uqep3szyulmej7no@alap3.anarazel.de> <27193232-f993-147f-4c07-8182d64c7611@aegee.org> <20170207192848.deqytrme2nanhhjc@alap3.anarazel.de>

* 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