Re: WAL archiving idle database

From: Erik Jones <erik(at)myemma(dot)com>
To: Brian Wipf <brian(at)clickspace(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL archiving idle database
Date: 2007-10-26 21:31:51
Message-ID: 1806C4CE-FB5A-4FCE-A21D-80F8E9124C7F@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Oct 26, 2007, at 4:08 PM, Brian Wipf wrote:

> I have a test PG 8.2.5 installation that has been left idle with no
> connections to it whatsoever for the last 24 hours plus. WALs are
> being archived exactly 5 minutes apart, even though archive_timeout
> is set to 60. Is this the expected behavior for a database with no
> changes?
>
> Brian

In the absence of activity, WAL are archived every checkpoint_timeout
seconds. archive_timeout is how long postgres will wait for the
archive_command to return before declaring it failed.

Erik Jones

Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2007-10-26 21:39:57 Re: WAL archiving idle database
Previous Message Jim Gates 2007-10-26 21:25:14 Locale collation issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2007-10-26 21:39:57 Re: WAL archiving idle database
Previous Message Magnus Hagander 2007-10-26 21:30:54 Re: 8.2.3: Server crashes on Windows using Eclipse/Junit