Re: Displaying accumulated autovacuum cost
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Greg Smith <greg@2ndquadrant.com>, Euler Taveira de Oliveira <euler@timbira.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-08-18T13:57:36Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > On Thu, Aug 18, 2011 at 03:23, Greg Smith <greg@2ndquadrant.com> wrote: >> On 08/17/2011 07:42 PM, Euler Taveira de Oliveira wrote: >>> I don't like exposing this information only on title processes. >> I tend to build the simplest possible thing that is useful enough to work. > By only putting it in the ps display, you exclude all the users who > don't have an easy way to look at that information. The big group > there is Windows, but it's not necessarily easy on all other platforms > as well, afaik. Yeah. Also, process title updates are friggin expensive on some platforms --- so much so, that we have a GUC setting to disable them. So I don't think we should use that technique at all. Put the info into the stats collector instead (not "also"). regards, tom lane