Re: checkpoint segments

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: checkpoint segments
Дата
Msg-id 200505160917.20367.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: checkpoint segments  (Alvaro Herrera <alvherre@surnet.cl>)
Список pgsql-performance
Alvaro,

> > Yes, and yes.   Simply allocating more checkpoint segments (which can eat
> > a lot of disk space -- requirements are 16mb*(2 * segments +1) ) will
> > prevent this problem.
>
> Hmm?  I disagree -- it will only make things worse when the checkpoint
> does occur.

Unless you allocate enough logs that you don't need to checkpoint until the
load is over with.   In multiple data tests involving large quantities of
data loading, increasing the number of checkpoints and the checkpoint
interval has been an overall benefit to overall load speed.   It's possible
that the checkpoints which do occur are worse, but they're not enough worse
to counterbalance their infrequency.

I have not yet been able to do a full scalability series on bgwriter.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Mindaugas Riauba"
Дата:
Сообщение: Re: PostgreSQL strugling during high load
Следующее
От: "Joel Fradkin"
Дата:
Сообщение: Re: Prefetch