Re: [GENERAL] pg_xlog keeps growing - Mailing list pgsql-general

From dhanuj hippie
Subject Re: [GENERAL] pg_xlog keeps growing
Date
Msg-id CAGqAkKeyDpsXeWqdvyLy=5MOHAeAoupEJbdYPTsNxRXSrwh+aQ@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] pg_xlog keeps growing  (dhanuj hippie <dhanuj.hippie@gmail.com>)
Responses 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>)
List 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 by date:

Previous
From: dhanuj hippie
Date:
Subject: Re: [GENERAL] pg_xlog keeps growing
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] [ADMIN] cpu hight sy% usage