Re: pg_archivecleanup not deleting anything? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_archivecleanup not deleting anything?
Date
Msg-id 5637A460.3080604@aklaver.com
Whole thread Raw
In response to Re: pg_archivecleanup not deleting anything?  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
On 11/02/2015 08:41 AM, Paul Jungwirth wrote:
>> So, as Albe posted pg_archivecleanup is only cleaning up the WAL files,
>> not the auxiliary files. The WAL files would be the ones with no
>> extension and a size of 16 MB(unless someone changed the compile
>> settings).
>
> Okay, thank you both for the explanation! I'm glad to hear that it's not
> a misconfiguration on our side. I guess we should just make sure we
> remove older *.backup files by some other means, because thousands of
> 16MB files add up eventually. We had more than 30k of them!

Aright backwards disease in affect, so:

postgres@test=# select (30000 / ('2015-11-02'::date
-'2014-02-01'::date))/ 24.0;
       ?column?
--------------------
  1.9166666666666667

actually is roughly twice an hour not every two hours.

>
> Paul
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_archivecleanup not deleting anything?
Next
From: Jim Nasby
Date:
Subject: Re: Waiting on ExclusiveLock on extension 9.3, 9.4 and 9.5