Skip site navigation (1) Skip section navigation (2)

Re: Recent 7.4 change slowed down a query by a factor of 3

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Recent 7.4 change slowed down a query by a factor of 3
Date: 2003-06-18 15:45:41
Message-ID: 20030618154541.GB20906@wolff.to (view raw or flat)
Thread:
Lists: pgsql-performance
On Wed, Jun 18, 2003 at 11:18:39 -0400,
  Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruno Wolff III <bruno(at)wolff(dot)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.

In response to

pgsql-performance by date

Next:From: Bruno Wolff IIIDate: 2003-06-18 15:53:40
Subject: Re: Recent 7.4 change slowed down a query by a factor of 3
Previous:From: Bruno Wolff IIIDate: 2003-06-18 15:43:32
Subject: Re: Recent 7.4 change slowed down a query by a factor of 3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group