Re: What does "[backends] should seldom or never need to wait for a write to occur" mean?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: What does "[backends] should seldom or never need to wait for a write to occur" mean?
Дата
Msg-id CAKFQuwb=gsfEq-HL+7Oh92dVdf2YZwYEtGv6KJXugfEWECYJag@mail.gmail.com
обсуждение исходный текст
Ответ на What does "[backends] should seldom or never need to wait for a write to occur" mean?  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
On Thu, Oct 29, 2020 at 3:24 PM PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/runtime-config-resource.html
Description:

https://www.postgresql.org/docs/13/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-BACKGROUND-WRITER

says:

"There is a separate server process called the background writer, whose
function is to issue writes of “dirty” (new or modified) shared buffers. It
writes shared buffers so server processes handling user queries seldom or
never need to wait for a write to occur."

It's not clear what "wait for a write to occur" means: a write() syscall or
an fsync() syscall?

Probably neither...think more abstract/general.

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: COPY statement: no list of the allowed values for "format_name"
Следующее
От: Bryn Llewellyn
Дата:
Сообщение: Re: COPY statement: no list of the allowed values for "format_name"