Re: WAL files not being recycled

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Scott Moynes <scott(at)vmfarms(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL files not being recycled
Date: 2016-05-16 22:44:50
Message-ID: 20160516224450.GA123161@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Moynes wrote:
> I have a PostgreSQL server that is not recycling WAL files. Log files are
> continually created and no old log files are ever removed.
>
> Running PostgreSQL v 9.4.8 with archive settings:
>
> archive_mode = on
> archive_command = /bin/true
>
> Checkpoint logging is enabled and does not record any logs being recycled:

See the wal_keep_segments option, as well as existance of any
replication slot (select * from pg_replication_slots).

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-05-16 22:46:05 Re: WAL files not being recycled
Previous Message Scott Moynes 2016-05-16 22:33:09 WAL files not being recycled