Search Postgresql Archives

Re: pg_xlog keeps growing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
psql (9.3.5)
wal_keep_segments = 1024

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

> On Feb 27, 2017, at 8:33 PM, dhanuj hippie <dhanuj.hippie@xxxxxxxxx> 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)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux