Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1 - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1
Date
Msg-id 29336.1337889468@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1  (Lonni J Friedman <netllama@gmail.com>)
Responses Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1
List pgsql-general
Lonni J Friedman <netllama@gmail.com> writes:
> On Thu, May 24, 2012 at 12:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Can you correlate the performance hit with any specific part of
>> autovacuum? In particular, I'm wondering if it matters whether vacuum
>> is cleaning tables or indexes --- it alternates between the two, and the
>> access patterns are a bit different. You could probably watch what the
>> autovac process is doing with strace to see what it's accessing.

> Is there something specific I should be looking for in the strace
> output, or is this just a matter of correlating PID and FD to
> pg_class.relfilenode ?

Nah, just match up the files it touches with pg_class.relfilenode.

            regards, tom lane

pgsql-general by date:

Previous
From: Lonni J Friedman
Date:
Subject: Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1
Next
From: fche@redhat.com (Frank Ch. Eigler)
Date:
Subject: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1