Re: [BUGS] backend_flush_after bytes/pages

Поиск
Список
Период
Сортировка
От Дилян Палаузов
Тема Re: [BUGS] backend_flush_after bytes/pages
Дата
Msg-id 27193232-f993-147f-4c07-8182d64c7611@aegee.org
обсуждение исходный текст
Ответ на Re: [BUGS] backend_flush_after bytes/pages  (Andres Freund <andres@anarazel.de>)
Ответы Re: [BUGS] backend_flush_after bytes/pages  (Andres Freund <andres@anarazel.de>)
Список pgsql-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-AFTERsuggests 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
mentionsthat 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

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: [BUGS] data inconsistency between client and server at pg_ctlstop -m fast
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] backend_flush_after bytes/pages