pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Hoover <revoohc@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Why so long between archive calls?
Date: Wed, 06 Sep 2006 16:54:30 -0400
Message-ID: <24338.1157576070@sss.pgh.pa.us> (raw)
In-Reply-To: <1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com>
References: <1d219a6f0608290835u6647a8e1g437dfd4cedb81658@mail.gmail.com>
	<1d219a6f0608290934g6d3ed785oa2814dbf3619306b@mail.gmail.com>
	<1d219a6f0608301212k699061d0ge52c953ecc5bddfa@mail.gmail.com>
	<24247.1157059093@sss.pgh.pa.us>
	<1d219a6f0609011230t2407cba5u53a5e536ad4fbc20@mail.gmail.com>
	<25848.1157153334@sss.pgh.pa.us>
	<20060902014010.GA14288@alvh.no-ip.org>
	<26777.1157161705@sss.pgh.pa.us>
	<1d219a6f0609051333t70e1207eife3d0ad7a55a2e07@mail.gmail.com>
	<23808.1157572848@sss.pgh.pa.us>
	<1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com>

"Chris Hoover" <revoohc@gmail.com> writes:
> Currenty, there are no .ready files in the pg_xlog/archive_status file.

Well, that explains why the archiver thinks it has nothing to do.

> Like I mentioned, the db server was stoped and restarted on 9/5 am, but the
> oldest unarchived log file is:
> -rw-------  1 postgres postgres 16M Sep  1 04:04 0000000100000197000000F1

Are you sure that's an unarchived file, and not a file waiting to be
used later?  What's the current WAL endpoint address?  (pg_controldata
would tell you ... but your trace showed 000000010000019700000078 being
archived, which would suggest that this one is just waiting to be reused.)
Have you got a particularly large checkpoint_segments setting?

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <24338.1157576070@sss.pgh.pa.us>
Permalink:  ../24338.1157576070@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24338.1157576070@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, revoohc@gmail.com, alvherre@commandprompt.com
  Subject: Re: Why so long between archive calls?
  In-Reply-To: <24338.1157576070@sss.pgh.pa.us>
  References: <1d219a6f0608290835u6647a8e1g437dfd4cedb81658@mail.gmail.com> <1d219a6f0608290934g6d3ed785oa2814dbf3619306b@mail.gmail.com> <1d219a6f0608301212k699061d0ge52c953ecc5bddfa@mail.gmail.com> <24247.1157059093@sss.pgh.pa.us> <1d219a6f0609011230t2407cba5u53a5e536ad4fbc20@mail.gmail.com> <25848.1157153334@sss.pgh.pa.us> <20060902014010.GA14288@alvh.no-ip.org> <26777.1157161705@sss.pgh.pa.us> <1d219a6f0609051333t70e1207eife3d0ad7a55a2e07@mail.gmail.com> <23808.1157572848@sss.pgh.pa.us> <1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com> <24338.1157576070@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox