I read the web page on Encoded Vector Indexes at
http://www.as400.ibm.com/developer/bi/evi.html and it seems as if this
would be the way to go for most web based queries. I can't seem to find
much more information though. Can anyone suggest any other
information. Maybe something with examples. If the response is that
much better it looks like their would be a world of discussion on this
topic but it appears to be a secret. I can create the index but how is
it used.
Thanks for the help in advance.
David Boling
Kevin Wright <kevin....@aspect.com.au> wrote in message
news:7u309t$9tl$1...@merki.connect.com.au...
> David,
>
> The same web page should have said that it happens via the query
optimizer,
> that is you can't tell the query to use an EVI, but that the query
optimizer
> can "decide" (if allowed) that using the EVI is the best way to implement
> the particular query.
>
> What this means is that you have to analyze queries yourself to determine
> whether they will benefit from the existence of EVIs. Usual method to do
> this involves the messages issued from the query optimizer while in debug.
>
> I cannot give you any examples, but my impression is that where an EVI is
an
> advantage seems to be where rows that are to be included in the query are
> based on the values of columns that can only have a relatively small
number
> of finite values, eg country, state, status.
>
> Note that this is from theoretical, not practical, knowledge.
>
> HTH
>
> David Boling <boli...@co.rowan.nc.us> wrote in message
> news:3804EA25...@co.rowan.nc.us...
I have never really worked on another of the major database platform, do they
handle database analysis better. Do they offer suggested indexes, etc.
Thanks for the info.
david boling
Tim wrote:
> I would also like to point out that in many cases existing EVI's help the
> query optimizer decide which index is best to implement a given query, even
> if it eventually decides not to use that particular EVI.
>
> Kevin Wright <kevin....@aspect.com.au> wrote in message
> news:7u309t$9tl$1...@merki.connect.com.au...
David Boling wrote in message <3805CF49...@co.rowan.nc.us>...