Re: WAL logs eating my diskspace!!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WAL logs eating my diskspace!!
Дата
Msg-id 7776.989623805@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WAL logs eating my diskspace!!  (webb sprague <wsprague@o1.com>)
Список pgsql-general
webb sprague <wsprague@o1.com> writes:
> Is there a way to flush them more often?

Reduce the time interval between WAL checkpoints.  (But don't overdo it.)
Perhaps every three or so minutes, rather than five?

> Otherwise, they can fill up the
> disk space and crash the postmaster.  I am doing bulk copies, but the logs
> hang around for up to 20 minutes after the copy is finished.

Another possibility is to issue a manual CHECKPOINT command as soon as
you've finished a bulk copy.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trigger only firing once
Следующее
От: Justin Clift
Дата:
Сообщение: Tip for using Druid and PostgreSQL