Re: pg_archivecleanup not deleting anything?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_archivecleanup not deleting anything?
Date: 2015-11-02 17:58:56
Message-ID: 5637A460.3080604@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2015-11-02 18:47:39 Re: Waiting on ExclusiveLock on extension 9.3, 9.4 and 9.5
Previous Message Adrian Klaver 2015-11-02 17:50:48 Re: pg_archivecleanup not deleting anything?