Re: slow plan on join when adding where clause

From: "L(dot) Loewe" <lloewe(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: slow plan on join when adding where clause
Date: 2010-04-13 02:29:31
Message-ID: op.va2zzijzb4gxma@oakcreek2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


No it is not, but that's not the issue I think - see my other posts.

On Mon, 12 Apr 2010 19:19:34 -0600, syan <kittylitter(at)people(dot)net(dot)au> wrote:

> Is the index clustered?

> On Thu, 2010-04-01 at 14:19 -0400, Mladen Gogala wrote:
>> Jasen, he does have the index, that precisely is a problem. According to
>> his statement, full table scan is faster than an index search.
>>
>> Jasen Betts wrote:
>> > 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

Browse pgsql-novice by date

  From Date Subject
Next Message Syan Tan 2010-04-13 02:31:33 Re: Postgres 8.4 view keys
Previous Message Donn Washburn 2010-04-13 02:04:58 Getting started