Re: configure option for XLOG_BLCKSZ

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: configure option for XLOG_BLCKSZ
Дата
Msg-id 20080505150932.GD27548@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: configure option for XLOG_BLCKSZ  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
Ответы Re: configure option for XLOG_BLCKSZ  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
Re: configure option for XLOG_BLCKSZ  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Andreas 'ads' Scherbaum wrote:
> On Sat, 03 May 2008 13:14:35 -0400 Tom Lane wrote:
>
> > Simon Riggs <simon@2ndquadrant.com> writes:
> >
> > > Not seen any gains from varying the WAL file size since then...
> >
> > I think the use-case for varying the WAL segment size is unrelated to
> > performance of the master server, but would instead be concerned with
> > adjusting the granularity of WAL log shipping.
>
> *nod* I heard this argument several times. Simon: there was a discussion
> about this topic in Prato last year. Since WAL logfiles are usually
> binary stuff, the files can't be compressed much so a smaller logfile
> size on a not-so-much-used system would save a noticeable amount of
> bandwith (and cpu cycles for compression).

Seems the stuff to zero out the unused segment tail would be more useful
here.

Kevin sent me the source file some time ago -- he didn't want to upload
them to pgfoundry because he was missing a Makefile.  I built one for
him, but last time I looked he hadn't uploaded anything.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Sorting writes during checkpoint
Следующее
От: Andreas 'ads' Scherbaum
Дата:
Сообщение: Re: configure option for XLOG_BLCKSZ