Subject | Re: [firebird-support] Index not used by "where xxx not null" query? |
---|---|
Author | Nando Dessena |
Post date | 2006-02-27T21:52:09Z |
Ann,
A> beginning of (its) InterBase / Firebird have _not_ used
A> indexes with _NOT_ conditions.
My wording was unclear. I didnt mean that *only* equality tests use
indexes, just that inequality test don't, AFAICS.
A> Whether (or _not_) that's
A> appropriate with expressions like NOT NULL is debatable.
yep, and that's the point of the suggestion (see the rest of the
thread).
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
>> I don't see anything particularly strange in your case. Equality testsA> Err, _not_ quite. In fact the key is the "_not_". Since the
>> use indexes, inequality tests don't. Why do you expect is null and is
>> not null to behave differently?
A> beginning of (its) InterBase / Firebird have _not_ used
A> indexes with _NOT_ conditions.
My wording was unclear. I didnt mean that *only* equality tests use
indexes, just that inequality test don't, AFAICS.
A> Whether (or _not_) that's
A> appropriate with expressions like NOT NULL is debatable.
yep, and that's the point of the suggestion (see the rest of the
thread).
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================