Search Postgresql Archives

Re: pg_archivecleanup - Increase time files are deleted

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

 



On Mon, Jun 27, 2016 at 6:42 AM, Melvin Davidson <melvin6925@xxxxxxxxx> wrote:
> >That means there will be at least 256 files before postgres delete them?
>
> Yes!

Not exactly. To be more precise, for an instance generating WAL, the
decision regarding the number of WAL segments to remove or recycled is
done at the creation of a checkpoint, for a standby that's when a
restart point is created. See where KeepLogSeg() in xlog.c.
-- 
Michael


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[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