× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I believe you're looking at the result of running qqqoptim, one of those mythic programs that's so complex there is nobody alive who can truly understand it. It creates the access plan that is used by all queries. One of the things it considers is the available indexes and/or access paths. However, it also considers a lot of other things, like are you currently running in an interactive job? (Yes? return the first page of results quickly. No? run the query to completion in the shortest possible time), how many rows are in the table in question? (More than <some magic figure>? Expend the resources to find an access path. Otherwise, use sequential access) What is the cardinality of the keys? What is the available index type? (B-Tree and cardinality outside of acceptable norms?) and lots of other stuff that I know even less about than the blather I just wrote. The debug message has a disclaimer that's something along the lines of "Even if you do what I asked you for, I may not use your index because I know more about it than you do." Is the response time acceptable? If so, I recommend accepting that it really does know what it's doing. If you need 50 rows of data and it's taking an hour and a half, call level 1. Developers must enjoy working on problems with qqqoptim almost as much as we mortals would enjoy sliding barefoot down the edge of a 50 ft razor blade, but, at least in my experience, they're very competent, they try very hard, and eventually do get things working correctly.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.