Re: Recent 7.4 change slowed down a query by a factor of 3 - Mailing list pgsql-performance

From Bruno Wolff III
Subject Re: Recent 7.4 change slowed down a query by a factor of 3
Date
Msg-id 20030618154541.GB20906@wolff.to
Whole thread Raw
In response to Re: Recent 7.4 change slowed down a query by a factor of 3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Wed, Jun 18, 2003 at 11:18:39 -0400,
  Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Bruno Wolff III <bruno@wolff.to> writes:
> > The query below was running in a bit under 300ms on a version of 7.4
> > from less than a week ago until I updated to the version from last night.
> > Now it takes about 800ms using a significantly different plan.
>
> Something fishy here.  Will it use the right plan if you set
> enable_seqscan off?

This got it to use the backward index scan.

pgsql-performance by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Recent 7.4 change slowed down a query by a factor of 3
Next
From: Bruno Wolff III
Date:
Subject: Re: Recent 7.4 change slowed down a query by a factor of 3