Re: [Fwd: [PATCHES] archiver ps display]

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Fwd: [PATCHES] archiver ps display]
Date: 2007-12-13 14:16:14
Message-ID: 1197555374.4255.1771.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2007-12-13 at 10:55 -0300, Alvaro Herrera wrote:
> Simon Riggs wrote:
> >
> > Now that we have set archiver messages to DEBUG levels, there's no easy
> > way of seeing what file we are currently working on.
> >
> > The behaviour of the startup process and archiver should be symmetrical,
> > allowing it to be used for replication monitoring.
> >
> > Before archive_command
> > postgres: archiver process archiving 00000001000000000000000B
> >
> > After archive_command
> > postgres: archiver process archived 00000001000000000000000B
>
> I agree that replication should be able to be monitored. However,
> isn't ps_display supposed to show what the process is _currently_ doing?
> So if the archiver finishes processing a file, its display should go
> back to "idle" or some such. (Perhaps "idle, last archived XXXYYYZZZ")

That was my first thought, but that ends up with the archiver ps display
being mostly blank, and so isn't really very useful.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-12-13 14:16:25 Re: [GENERAL] Slow PITR restore
Previous Message Alvaro Herrera 2007-12-13 13:55:00 Re: [Fwd: [PATCHES] archiver ps display]