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