Re: [GENERAL] pg_xlog keeps growing

Поиск
Список
Период
Сортировка
От dhanuj hippie
Тема Re: [GENERAL] pg_xlog keeps growing
Дата
Msg-id CAGqAkKeyDpsXeWqdvyLy=5MOHAeAoupEJbdYPTsNxRXSrwh+aQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] pg_xlog keeps growing  (dhanuj hippie <dhanuj.hippie@gmail.com>)
Ответы Re: [GENERAL] pg_xlog keeps growing  (Michael Paquier <michael.paquier@gmail.com>)
Re: [GENERAL] pg_xlog keeps growing  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
So does it work like - it can go upto 16MB*1024 times which is 16GB, and then this will be cleaned up automatically ?

On Tue, Feb 28, 2017 at 9:47 AM, dhanuj hippie <dhanuj.hippie@gmail.com> wrote:
psql (9.3.5)
wal_keep_segments = 1024

On Tue, Feb 28, 2017 at 9:16 AM, Rob Sargent <robjsargent@gmail.com> wrote:

> On Feb 27, 2017, at 8:33 PM, dhanuj hippie <dhanuj.hippie@gmail.com> wrote:
>
> Hi,
>
> I have a postgres cluster running in hot_standby. I see the pg_xlog is growing over time (may files of size 16 MB each). The replication lag is very less ~2kB, and never goes into a bad state.
> I'm manually resetting this once a while using pg_resetxlog command.
> Is there a way to understand why my system keeps running into this problem ?
>
> Thanks

wal_keep_segments is set to ???

(and version = ???, etc)


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

Предыдущее
От: dhanuj hippie
Дата:
Сообщение: Re: [GENERAL] pg_xlog keeps growing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] [ADMIN] cpu hight sy% usage