Re: Slow updates, poor IO

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Slow updates, poor IO
Дата
Msg-id Pine.GSO.4.64.0809270301290.27800@westnet.com
обсуждение исходный текст
Ответ на Re: Slow updates, poor IO  (John Huttley <John@mib-infotech.co.nz>)
Список pgsql-performance
On Sat, 27 Sep 2008, John Huttley wrote:

> I've got 32M shared on a 1G machine and 16 checkpoint segments.
> I'll run some tests against 64 segments and see what happens.

Increase shared_buffers to 256MB as well.  That combination should give
you much better performance with the type of update you're doing.  Right
now the database server has to write the index blocks updated to disk all
the time because it has so little working room to store them in.  If an
index block is updated but there is room to keep it memory, it doesn't
have to get written out, which considerably lowers the overhead here.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

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

Предыдущее
От: John Huttley
Дата:
Сообщение: Re: Slow updates, poor IO
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Slow updates, poor IO