Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optimization Hint - QUERYNO

Status
Not open for further replies.

MarcLodge

Programmer
Feb 26, 2002
1,886
GB
Anybody used this feature in v8, and have any comments on it, good or bad?
 
On LUW we had a case for the following:


The problem was that the statistical information on selectivity is only available for the 3 most and 3 fewest values, not in between. And sometimes the access path can differ ...

The queryno you mention is related to the host?
Or you have any statement sample ?
We use it to specify the query number to later find the correct output in the Explain Table (not having a fully featured Visual Explain on z/OS available).
Same should be possible on LUW as well - so it is not a real optimization hint as such.


Juliane
 
Thanks for your response Julianne. It's not the facility that you describe, and it's not one I've come acroos before. It's something they are implementing at my current site, details of which can be found here:
I wondered if anybody had actually used it, and could give any comments.

Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top