Re: Postgres 8.3, four times slower queries?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Aaron Guyon <battlemage(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres 8.3, four times slower queries?
Date: 2009-03-05 16:56:08
Message-ID: 603c8f070903050856y37d9825bga53fcc2017143163@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Mar 5, 2009 at 10:20 AM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
>>>> Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Well, it looks like the problem is that 8.3 is not using the index
>> idx_bundle_content_bundle_id.  But I don't know why that should be
>> happening, unless there's a problem with that index.
>
> I didn't see that index defined.  In fact, in the query shown, t8 is
> the payment_amount table, but in plan, I don't see any references to
> that table, and t8 is a table called bundle_content which is not
> included.

Good point. Now that you mention it, I notice that many of the tables
and columns seem to have been renamed. It's pretty hard to make
anything intelligible out of a schema that doesn't resemble the plan.

...Robert

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-03-05 18:30:51 Re: Index scan plan estimates way off.
Previous Message Aaron Guyon 2009-03-05 16:06:21 Re: Postgres 8.3, four times slower queries?