Skip site navigation (1) Skip section navigation (2)

archive_timeout behavior for no activity

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: archive_timeout behavior for no activity
Date: 2010-01-14 15:50:07
Message-ID: 201001141550.o0EFo7u22825@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Looking at the archive_timeout documentation and CheckArchiveTimeout(),
it appears we force a new xlog file and archive it even if no activity
has been recorded in the xlog file.  Is this correct?  Should we
document this or fix it so only xlog files with contents are archived?

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-01-14 16:01:00
Subject: Re: Clearing global statistics
Previous:From: Heikki LinnakangasDate: 2010-01-14 15:23:26
Subject: Re: Streaming replication, retrying from archive

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group