pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: does wal archiving block the current client connection?
Date: Mon, 15 May 2006 14:33:43 -0400
Message-ID: <10784.1147718023@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0605151127220.9581@discord.dyndns.org>
References: <Pine.LNX.4.64.0605150914360.9581@discord.dyndns.org>
	<10692.1147717389@sss.pgh.pa.us>
	<Pine.LNX.4.64.0605151127220.9581@discord.dyndns.org>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> On Mon, 15 May 2006, Tom Lane wrote:
>> No, I can't see what the connection should be there.  It's supposed to
>> be designed so that the archive command can take its sweet old time and
>> nothing happens except that a backlog of WAL files builds up in pg_xlog.

> That's what I thought, but that doesn't seem to be what I'm observing.  Of 
> course the NAS device only gets wedged about once every month or two, so it's
> difficult to reproduce.

If it's really a PG bug, it should be trivial to reproduce: put a long
sleep in the archive-command script.

			regards, tom lane



view thread (55+ messages)  latest in thread

Message-ID: <10784.1147718023@sss.pgh.pa.us>
Permalink:  ../10784.1147718023@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10784.1147718023@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, jeff@frostconsultingllc.com
  Subject: Re: does wal archiving block the current client connection?
  In-Reply-To: <10784.1147718023@sss.pgh.pa.us>
  References: <Pine.LNX.4.64.0605150914360.9581@discord.dyndns.org> <10692.1147717389@sss.pgh.pa.us> <Pine.LNX.4.64.0605151127220.9581@discord.dyndns.org> <10784.1147718023@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