Re: slow plan on join when adding where clause

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: slow plan on join when adding where clause
Date: 2010-04-01 06:52:59
Message-ID: hp1fsb$t0r$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 2010-03-29, L. Loewe <lloewe(at)hotmail(dot)com> wrote:
> Hi all

> SELECT * FROM events, main WHERE main.ti > events.start and
> main.ti < events.stop and sensor_id=1;

create index main_ti_sid on main(sensor_id,ti);

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jignesh Shah 2010-04-01 07:17:21 Re: Get the list of permissions on schema for current user
Previous Message dipti shah 2010-04-01 05:39:28 Get the list of permissions on schema for current user