Re: Async Commit, v21 (now: v22)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Async Commit, v21 (now: v22)
Дата
Msg-id 8686.1185285667@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Async Commit, v21 (now: v22)  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Async Commit, v21 (now: v22)  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: Async Commit, v21 (now: v22)  (Gregory Stark <stark@enterprisedb.com>)
Re: Async Commit, v21 (now: v22)  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> Without async commits? Do we really want the walwriter doing the
> majority of the wal-flushing work for normal commits? It seems like
> that's not going to be any advantage over just having some random
> backend do the commit.

Sure: the advantage is that the backends (ie, user query processing)
don't get blocked on fsync's.  This is not really different from the
rationale for having the bgwriter.  It's probably most useful for large
transactions, which up to now generally had to stop and flush the WAL
buffers every few pages worth of WAL output.

            regards, tom lane

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: msvc const warnings
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: plperl warnings on win32