Re: Errors and Optimization: re-ordering predicates

> 
> eXist does not do much in the way of predicate reordering, currently
> we suggest to users to put the most selective predicates first as we
> evaluate them from left-to-right. In future, we could do more
> intelligent reordering based on index statistics.
> 

Aside: The optimum ordering, of course, is based on some combination of evaluation cost and selectivity. Saxon at the moment is doing a very rough - but still useful - estimate of evaluation cost, and is not attempting to take selectivity into account.

Michael Kay

Received on Sunday, 3 January 2016 20:57:05 UTC