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

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема What does "[backends] should seldom or never need to wait for a write to occur" mean?
Дата
Msg-id 160399562040.7809.7335281028960123489@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: What does "[backends] should seldom or never need to wait for a write to occur" mean?
Re: What does "[backends] should seldom or never need to wait for a write to occur" mean?
Список pgsql-docs
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?

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

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