Subject | Re: [firebird-support] When do I need descending index ? |
---|---|
Author | Lester Caine |
Post date | 2003-10-09T08:47:32Z |
> Usually they are ordered ascending, but every once in a while theDepends on how often, the overhead of the second index
> user order them descending.
>
> Would I then gain anything if I also have a descending index on the
> same fields ?
should not be too bad, compared with the time it takes to
sort a large table in reverse order.
Where I have given the descending option, I also have the
matching index, and switching direction is quite quick. Give
it a try without the index, then add it and see the difference.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services