Re: Old WAL files under pg_xlog not getting delete

From: rammohan ganapavarapu <rammohanganap(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Old WAL files under pg_xlog not getting delete
Date: 2019-01-31 03:09:40
Message-ID: CALm_Vjhf4AJF_=rvOMmmwKcaN3CN0YNnm7Q8RwivpLio8G+i7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you all, but irrespective of count i have why is it keeping old
files? and how is it using those files? Is there any processes that can
flush or remove those files?

On Wed, Jan 30, 2019, 4:11 PM David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com
wrote:

> On Wed, Jan 30, 2019 at 5:00 PM Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
> wrote:
> > Hmm ... I would recommend to keep the xlog files in a subdir, not the
> > root of the filesystem.
>
> They are in a subdir (under /opt/pgdata), and the OP seems likely to
> have omitted the self/parent hidden directories during his check as
> well. Plus per the docs we actually expect 501 so there isn't a need
> to account for 6 extra, just 5.
>
> Dave
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2019-01-31 03:19:11 Re: Old WAL files under pg_xlog not getting delete
Previous Message David G. Johnston 2019-01-31 00:11:04 Re: Old WAL files under pg_xlog not getting delete