Re: backend_flush_after bytes/pages

From: Andres Freund <andres(at)anarazel(dot)de>
To: Дилян Палаузов <dilyan(dot)palauzov(at)aegee(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: backend_flush_after bytes/pages
Date: 2017-02-07 19:28:48
Message-ID: 20170207192848.deqytrme2nanhhjc@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message NAVEEN CHALIMETI 2017-02-07 19:31:04 Re: BUG #14531: server process (PID 12714) was terminated by signal 11: Segmentation fault
Previous Message Дилян Палаузов 2017-02-07 19:21:58 Re: backend_flush_after bytes/pages