Anj Adu <fotographs@gmail.com> wrote:
> The combination index works great. Would adding the combination
> index guarantee that the optimizer will choose that index for
> these kind of queries involving the columns in the combination. I
> verified a couple of times and it picked the right index. Just
> wanted to make sure it does that consistently.
It's cost based -- as long as it thinks that approach will be
faster, it will use it.
-Kevin