Re: Configuring PostgreSQL to minimize impact of checkpoints

Поиск
Список
Период
Сортировка
От jao@geophile.com
Тема Re: Configuring PostgreSQL to minimize impact of checkpoints
Дата
Msg-id 1084294352.40a104d04ad0d@geophile.com
обсуждение исходный текст
Ответ на Re: Configuring PostgreSQL to minimize impact of checkpoints  (Rob Fielding <rob@dsvr.net>)
Ответы Re: Configuring PostgreSQL to minimize impact of checkpoints  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: Configuring PostgreSQL to minimize impact of checkpoints  (Paul Tuckfield <paul@tuckfield.com>)
Список pgsql-performance
Quoting Rob Fielding <rob@dsvr.net>:

> Assuming you're running with optimal schema and index design (ie you're
> not doing extra work unnecessarily), and your backend has
> better-then-default config options set-up (plenty of tips around here),
> then disk arrangement is critical to smoothing the ride.

The schema and queries are extremely simple. I've been experimenting
with config options. One possibility I'm looking into is whether
shared_buffers is too high, at 12000. We have some preliminary evidence
that setting it lower (1000) reduces the demand for IO bandwidth to
a point where the spikes become almost tolerable.

> First tip would to take your pg_xlog and put it on another disk (and
> channel).

That's on my list of things to try.

> Next if you're running a journalled fs, get that journal off
> onto another disk (and channel). Finally, get as many disks for the data
> store and spread the load across spindles.

Dumb question: how do I spread the data across spindles? Do you have
a pointer to something I could read?

Jack Orenstein

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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

Предыдущее
От: Rob Fielding
Дата:
Сообщение: Re: Configuring PostgreSQL to minimize impact of checkpoints
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Configuring PostgreSQL to minimize impact of checkpoints