| 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: | 4ED34F9B.2050909@2ndQuadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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,
> BUFFERS).
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2011-11-28 09:24:12 | Re: Patch: add timing of buffer I/O requests |
| Previous Message | Greg Smith | 2011-11-28 08:53:01 | Re: Displaying accumulated autovacuum cost |