Re: Problem with planner choosing nested loop

From: Harald Fuchs <hari(dot)fuchs(at)googlemail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with planner choosing nested loop
Date: 2008-04-02 19:06:39
Message-ID: pu63v0xeio.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <a55915760804021107h4410dd93m33a6f94e28a83a2b(at)mail(dot)gmail(dot)com>,
"Rodrigo E. De León Plicet" <rdeleonp(at)gmail(dot)com> writes:

> On Wed, Apr 2, 2008 at 12:36 PM, Alex Solovey <a(dot)solovey(at)gmail(dot)com> wrote:
>> ... I have no idea how it could be fixed.

> - CREATE INDEX xifoo ON foo(bar_id);
> - ANALYZE;
> - Retry.

A compound index
CREATE INDEX xifoo2 ON foo (foo_a, bar_id)
might be more worthwhile.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2008-04-02 19:08:16 Re: (FAQ?) JOIN condition - 'WHERE NULL = NULL'
Previous Message Alex Solovey 2008-04-02 19:02:15 Re: Problem with planner choosing nested loop