Subject | Re: [firebird-support] Re: FB 2.0 / FB1.5 optimizer difference |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-12-04T07:55:48Z |
lacakus wrote:
requires a major rework of the ANY/ALL handling in the engine.
NULL. We could enable it as a short-term solution.
Dmitry
>102 printed, 112 electronic :-)
> 102 or 112?
> In the future NOT IN will use indexes, or it will never use indexes ?I think it could be properly optimized in the future, but IMO it
requires a major rework of the ANY/ALL handling in the engine.
> So query of type :Theoretically, it could be indexed even now, if T2.C is declared as NOT
> select * from t where c NOT IN (select c from t2)
> will NOT use indexes
NULL. We could enable it as a short-term solution.
> and :It will.
> select * from t where c IN (select c from t2)
> this will use index or not ?
Dmitry