Re: Potential Large Performance Gain in WAL synching

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Potential Large Performance Gain in WAL synching
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961EB1@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Potential Large Performance Gain in WAL synching  ("Curtis Faith" <curtis@galtair.com>)
Список pgsql-hackers
> Hmmm ... if you were willing to dedicate a half meg or meg of shared
> memory for WAL buffers, that's doable.

Yup, configuring Informix to three 2 Mb buffers (LOGBUF 2048) here.

> However, this would only be a win if you had few and large transactions.
> Any COMMIT will force a write of whatever we have so far, so the idea of
> writing hundreds of K per WAL write can only work if it's hundreds of K
> between commit records.  Is that a common scenario?  I doubt it.

It should help most for data loading, or mass updating, yes.

Andreas


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

Предыдущее
От: "Michael Paesold"
Дата:
Сообщение: Re: Improving backend startup interlock
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: Potential Large Performance Gain in WAL synching