|
On Tue, 5 Jan 1999, Joe Giusto wrote: > > If you figure out which logical should be used, specify that logical in the > query instead of the physical file. > Again, it simply doesn't work that way. Specifying logicals in the query, even best ones for the query, won't force query optimizer(QO) to use them. It will, however, force QO to consider them first, and therefore, that method will ensure that these logicals are not ignored simply because QO timed out. But, QO has a last word and, under certain circumstances, even logicals with exact key(s) would be phased out because "QO estimated that creation of temporary index would be cheaper". A few tips: - Try to have less than 20% of records to be selected or updated. - Make sure that your host variables have same description like fields. (packed 5 0 and packed 6 0 are not the same; packed 5 0 and zoned 5 0 are not the same ...) Vanya Jovic (who is just enjoying -30C) Canada > Joe Giusto II > Patuxent Publishing Company > <mailto:jgiusto@patuxent.com> mailto:JGiusto@patuxent.com > http://www.lifegoeson.com <http://lifegoeson.com> > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.