Re: WAL Archiving frequency

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WAL Archiving frequency
Дата
Msg-id 7131.1143863273@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WAL Archiving frequency  (Brendan Duddridge <brendan@clickspace.com>)
Ответы Re: WAL Archiving frequency  (Brendan Duddridge <brendan@clickspace.com>)
Список pgsql-general
Brendan Duddridge <brendan@clickspace.com> writes:
> I've noticed that it's archiving the 16 MB wal files about once every
> minute. Is this normal? There's a huge number of files in my
> wal_archives directory now.
> Is there a parameter to tell it not to archive so frequently? Or is
> this nothing to be too concerned about?

If you've got a reasonably active database, 16MB/minute is not an
unlikely rate of WAL generation.  You can probably slow it down a bit by
increasing the checkpoint-spacing parameters, but you can't just say
"don't generate so much WAL please".  Either you want a log or you don't.

Basically, you have to take base backups often enough that the total
number of WAL archive files needed stays under your threshold of pain...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf errors
Следующее
От: Brendan Duddridge
Дата:
Сообщение: Re: WAL Archiving frequency