Re: R: R: slow seqscan after vacuum analize

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eddy(at)axa(dot)it
Cc: "'Christopher Browne'" <cbbrowne(at)acm(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: R: R: slow seqscan after vacuum analize
Date: 2004-02-05 19:33:45
Message-ID: 5732.1076009625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Edoardo Ceccarelli" <eddy(at)axa(dot)it> writes:
> Given a query that HAS to be executed with a seqscan I have noticed an
> increase in time comparing before and after the vacuum.

This is really hard to believe --- I cannot think of any mechanism that
would result in that effect. Unless the vacuum were flushing the
kernel's disk cache, but the effects of that would only persist for one
scan. You did say that the increased time is repeatable if you do
multiple seqscans after the vacuum?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2004-02-05 19:40:56 Re: Installation procedure
Previous Message Edoardo Ceccarelli 2004-02-05 18:50:31 R: R: R: slow seqscan after vacuum analize