Re: BUG #9161: wal_writer_delay is limited to 10s - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #9161: wal_writer_delay is limited to 10s
Date
Msg-id 9250.1392751220@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #9161: wal_writer_delay is limited to 10s  (Clemens Eisserer <linuxhippy@gmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #9227: Error on SELECT ROW OVERLAPS ROW with single ROW argument
Next
From: Joshua Yanovski
Date:
Subject: Re: BUG #9227: Error on SELECT ROW OVERLAPS ROW with single ROW argument