Re: slow join on postgresql6.5 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: slow join on postgresql6.5
Date
Msg-id 200004021636.MAA04853@candle.pha.pa.us
Whole thread Raw
In response to RE: slow join on postgresql6.5  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
> > >As for NULL,it seems possible to look up NULL keys in a btree index
> > >because NULL == NULL for btree indexes.
> > >I've wondered why PostgreSQL's planner/executor never looks up
> > >indexes for queries using 'IS NULL'.
> >
> > Unfortunately for the RI MATCH PARTIAL case, NULL is a "wildcard".
> >
> 
> Oops I misunderstood NULL.
> 
> Hmm,is the following TODO worth the work ?
> * Use index to restrict rows returned by multi-key index when used with
>   non-consecutive keys or OR clauses, so fewer heap accesses.

This is a Vadim item.


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Call for porting reports
Next
From: Bruce Momjian
Date:
Subject: Re: src/test/locale/de_DE.ISO-8859-1