pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Why so long between archive calls?
Date: Wed, 6 Sep 2006 16:13:21 -0400
Message-ID: <1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com> (raw)
In-Reply-To: <23808.1157572848@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>

Currenty, there are no .ready files in the pg_xlog/archive_status file.

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

I'm not sure what is going on, since the db was stopped and restarted, there
should be no hanging transactions.  I would have believed all of the archive
files from before the reboot would have been archived by now.

Let me know if I can provide you with further information.  This is my
development/non-production db server, so I do have a little bit of lattitude
on what I do with it.

Chris


On 9/6/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Chris Hoover" <revoohc@gmail.com> writes:
> > Right now, I have 510 log files waiting to be archived totaling 8GB.
> > ...
> > Why is the server so far behind?
>
> Good question.  The trace shows the archiver scanning
> pg_xlog/archive_status/
> and apparently not finding any .ready files.  What do you see in that
> directory?
>
>                         regards, tom lane
>

view thread (16+ messages)  latest in thread

Message-ID: <1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com>
Permalink:  ../1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f0609061313q5f94ab54l9e84211e8b43c8fd@mail.gmail.com

 · 

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: revoohc@gmail.com, tgl@sss.pgh.pa.us, alvherre@commandprompt.com
  Subject: Re: Why so long between archive calls?
  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>

* 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