Re: Strangely Variable Query Performance - Mailing list pgsql-performance

From Tom Lane
Subject Re: Strangely Variable Query Performance
Date
Msg-id 10503.1176423606@sss.pgh.pa.us
Whole thread Raw
In response to Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Responses Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
List pgsql-performance
Steve <cheetah@tanabi.org> writes:
> Either way, it runs perfectly fast.  So it looks like the indexes are
> confusing this query like you suspected.  Any advise?

Wow --- sometimes grasping at straws pays off.  I was testing here with
just a subset of the indexes to save build time, but I bet that one of
the "irrelevant" ones is affecting this somehow.  Time to re-test.

If you have some time to kill, it might be interesting to vary that
begin/rollback test script to leave one or two other indexes in place,
and see if you can identify exactly which other index(es) get it
confused.

I'm about to go out to dinner with the wife, but will have a closer
look when I get back, or tomorrow morning.  We'll figure this out.

            regards, tom lane

pgsql-performance by date:

Previous
From: Steve
Date:
Subject: Re: Strangely Variable Query Performance
Next
From: Steve
Date:
Subject: Re: Strangely Variable Query Performance