From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kim <kim(at)myemma(dot)com>, pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] unusual performance for vac following 8.2 upgrade |
Date: | 2007-01-11 19:49:28 |
Message-ID: | 20070111194928.GC10464@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
Tom Lane wrote:
> What I think we need to do about this is
>
> (1) fix pgstat_vacuum_tabstats to have non-O(N^2) behavior; I'm thinking
> of using a hash table for the OIDs instead of a linear list. Should be
> a pretty small change; I'll work on it today.
>
> (2) Reconsider whether last-vacuum-time should be sent to the collector
> unconditionally.
(2) seems a perfectly reasonably answer, but ISTM (1) would be good to
have anyway (at least in HEAD).
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-11 20:14:37 | Re: Checkpoint request failed on version 8.2.1. |
Previous Message | Tom Lane | 2007-01-11 19:45:10 | Re: unusual performance for vac following 8.2 upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2007-01-11 20:40:06 | Re: unusual performance for vac following 8.2 upgrade |
Previous Message | Tom Lane | 2007-01-11 19:45:10 | Re: unusual performance for vac following 8.2 upgrade |