× 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.



On 04-Jul-2014 14:54 -0500, Raul A Jager W wrote:
Birgitta Hauser on Friday, July 04, 2014 9:47 AM wrote:

Try to create an Encoded Vector Index with an INCLUDE clause:

CREATE ENCODED VECTOR INDEX YourSchema.YourEVI
ON YourSchema/YourFile (Delivery)
INCLUDE(Count(ItemNo), Count(Distinct ItemNo)) ;

<<SNIP>>

I believed that "count" was included by default in EVI indexes


Effectively, your understanding is correct. The COUNT is included\tracked for the column over which the EVI is created. In that example however, the column DELIVERY would "by default" have tracking for the COUNT.

Look closer at the EVI definition however, at the INCLUDE clause specifications. The COUNT aggregates that are being added, are for a different column [the column name ITEMNO] than the column on which the EVI is being created [the column name DELIVERY].


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.