Skip site navigation (1) Skip section navigation (2)

Re: Displaying accumulated autovacuum cost

From: Greg Smith <greg(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Displaying accumulated autovacuum cost
Date: 2011-11-28 09:08:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 11/25/2011 05:10 PM, Robert Haas wrote:
> This patch adds a count of the number of buffers dirtied to VACUUM,
> but it strikes me that it would be useful to add similar tracking to
> pgBufferUsage.  Attached is a patch for that.  You can see the new
> counters through pg_stat_statements or with EXPLAIN (ANALYZE,

This looks pretty useful to me.  I just threw it into the current 
CommitFest, on the basis that there's already so many other thing trying 
to whack around pg_stat_statements right now we might as well keep them 
together.  Let me clear my queue of patches submitted on time I need to 
do something with (re-review Scott Mead's pg_stat_activity change, 
respond to Jeff Janes on relation free space) and I'll take a quick spin 
on this one.

In response to

pgsql-hackers by date

Next:From: Tomas VondraDate: 2011-11-28 09:24:12
Subject: Re: Patch: add timing of buffer I/O requests
Previous:From: Greg SmithDate: 2011-11-28 08:53:01
Subject: Re: Displaying accumulated autovacuum cost

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group