Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Stefan — — source: Informix-list mailing list archive (1991-1998)
Hi,
there's no difference between an UNIQUE or DUPS index for the
optimizer. If you would have a lot of duplicates inside your
index tree, the number of leaf pages would be less than if
you have only unique values. The optimizer is only interested
in the number of leaf pages, the number of index levels,
and in the selectivity of the filter conditions.
I suppose that you need the composite index for an ORDER BY or
a Key-Only Read. For this query it makes no difference.
Bye
Stefan
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.