Subject | Re: [ib-support] view on a table to speed up queries |
---|---|
Author | Helen Borrie |
Post date | 2002-04-22T14:05:54Z |
At 03:24 PM 22-04-02 +0200, Svein wrote:
followed by the unique id in second spot.
cheers,
H.
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________
> >does multicolumn indexes make sense if you use them in a non multicolumnActually, you must define this index with the low-selectivity column first,
> >query?
>
>Yes, because duplicates in an index make things slow down. When running the
>query, IB will only use those parts of the index that are useful.
followed by the unique id in second spot.
cheers,
H.
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________