|
Hi Brigitta,
When looking at VE, the final select says Query Engine Used: CQE; and Reason
SQE was not used: Derived key or select/omit index exists. The query uses
the new index.
Is it using CQE because the base file is a DDS-defined PF, or because the PF
also has logical files defined over it as well as SQL indexes?
Thanks,
Loyd
On Mon, Jul 26, 2010 at 11:40 PM, Birgitta Hauser<Hauser@xxxxxxxxxxxxxxx>wrote:
Just because I' curious, it is the CQE which executes the query, isn't it?
AFAIK in the SQE SELECT DISTINCT and GROUP BY are treated equally, i.e. the
base query for SELECT DISTINCT gets rewritten for GROUP BY (or vice versa).
In either way before tuning the CQE, try to get the query executed by the
SQE and tune after.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
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.