* interestingly enough, the first one also recommended building the
following logical:


Based on that, it appears that the Optimizer is smart enough to know that an exact match between the OPNQRYF Select and the Keys on the LF will speed up the selection. Maybe Sorting the Results after the Select isn't as expensive as doing the Select in the First place.... Especially if the Results are a much smaller number of Rcds than the File itself contains.

* 4 - The cost to use this access path, as determined by the optimizer, was
*higher than the cost associated with the chosen access method.

*  5 - The keys of the access path did not match the fields specified for
*the ordering/grouping criteria.

It's interesting that the Optimizer came up with 2 different Reasons for not using the L2 File. Wonder what's up with that?

FREE pop-up blocking with the new MSN Toolbar ? get it now! http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.