High checkpoint_segments

Поиск
Список
Период
Сортировка
От Jay Levitt
Тема High checkpoint_segments
Дата
Msg-id 4F3ABE9D.9040008@gmail.com
обсуждение исходный текст
Ответы Re: High checkpoint_segments  (Venkat Balaji <venkat.balaji@verse.in>)
Re: High checkpoint_segments  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general
We need to do a few bulk updates as Rails migrations.  We're a typical
read-mostly web site, so at the moment, our checkpoint settings and WAL are
all default (3 segments, 5 min, 16MB), and updating a million rows takes 10
minutes due to all the checkpointing.

We have no replication or hot standbys.  As a consumer-web startup, with no
SLA, and not a huge database, and if we ever do have to recover from
downtime it's ok if it takes longer.. is there a reason NOT to always run
with something like checkpoint_segments = 1000, as long as I leave the
timeout at 5m?

Jay Levitt

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade: out of memory
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql latex and newlines