Re: BUG #9161: wal_writer_delay is limited to 10s

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #9161: wal_writer_delay is limited to 10s
Дата
Msg-id 9250.1392751220@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #9161: wal_writer_delay is limited to 10s  (Clemens Eisserer <linuxhippy@gmail.com>)
Список pgsql-bugs
Clemens Eisserer <linuxhippy@gmail.com> writes:
> Thanks a lot for the in-depth information.
> Is the 8KB boundary configureable at compile time?

There is a configure option for XLOG_BLCKSZ, but it won't go beyond 64K
which is probably not enough to fix your problem.  (I'm not sure offhand
if there are technical reasons for 64K in particular as the limit, but
in any case I suspect making it really large would create performance
issues of its own.)

I think what you'd really want is to tweak the walwriter logic so that
it avoids writing individual blocks and instead waits for wal_buffers
to be, say, half full before writing.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9227: Error on SELECT ROW OVERLAPS ROW with single ROW argument
Следующее
От: Joshua Yanovski
Дата:
Сообщение: Re: BUG #9227: Error on SELECT ROW OVERLAPS ROW with single ROW argument