Re: postgresql.conf recommendations

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: postgresql.conf recommendations
Дата
Msg-id 1360154987.89420.YahooMailNeo@web162901.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: postgresql.conf recommendations  ("ac@hsk.hk" <ac@hsk.hk>)
Ответы Re: postgresql.conf recommendations  (Johnny Tan <johnnydtan@gmail.com>)
Список pgsql-performance
"ac@hsk.hk" <ac@hsk.hk> wrote:
> Johnny Tan <johnnydtan@gmail.com> wrote:

>>shared_buffers = 48GB# min 128kB

> From the postgresql.conf, I can see that the shared_buffers is
> set to 48GB which is not small,  it would be possible that the
> large buffer cache could be "dirty", when a checkpoint starts, it
> would cause a checkpoint I/O spike.
>
>
> I would like to suggest you about using pgtune to get recommended
> conf for postgresql.

I have seen symptoms like those described which were the result of
too many dirty pages accumulating inside PostgreSQL shared_buffers.
It might be something else entirely in this case, but it would at
least be worth trying a reduced shared_buffers setting combined
with more aggressive bgwriter settings.  I might try something like
the following changes, as an experiment:

shared_buffers = 8GB
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 4

-Kevin


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

Предыдущее
От: Pavan Deolasee
Дата:
Сообщение: Re: Slow Query Help
Следующее
От: Will Platnick
Дата:
Сообщение: Re: Slow Query Help