On Tue, Feb 28, 2017 at 1:20 PM, dhanuj hippie <dhanuj.hippie@xxxxxxxxx> wrote: > So does it work like - it can go upto 16MB*1024 times which is 16GB, and > then this will be cleaned up automatically ? On a standby each time a restart point is created the oldest segments are either recycled or removed, wal_keep_segments retains more of that. You can look at KeepLogSeg() in src/backend/access/transam/xlog.c if you want.. -- Michael -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general