Re: Frequency of archive_cleanup_command

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: A J <s5aly(at)yahoo(dot)com>
Cc: PG Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Frequency of archive_cleanup_command
Date: 2011-08-10 17:58:11
Message-ID: 87y5z1jgi4.fsf@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

A J <s5aly(at)yahoo(dot)com> writes:

> Couple of questions: 1. At what frequency is the
> archive_cleanup_command executed from the recovery.conf file on the
> standby ?

Typically once per WAL file being processed.

> 2. If for some reason lets say a WAL file is missing from the
> archive directory but the files after that are present. When the
> standby tries to restore the missing WAL file, does it fail or it
> simply skips the missing WAL file and goes to the next one.

Neither.

A standby will sit waiting forever for the next WAL segment that it
needs.

You can't just skip missing WALs :-)

HTH

> Thanks.
>

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 305.321.1144

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2011-08-10 18:01:18 Re: Frequency of archive_cleanup_command
Previous Message Raghavendra 2011-08-10 17:44:13 Re: Frequency of archive_cleanup_command