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



Really, I shouldn't have expected it given the description of the field is "SQL view create statement".  So this isn't an argument, just an observation for anyone else who might be thinking the way I was (rightly or wrongly).

On 8/12/2020 8:06 AM, Vernon Hamberg wrote:
Hi Joe

I don't see an inconsistency - a VIEW encapsulates a SELECT statement that is run each time the VIEW is used, an INDEX has no statement to encapsulate. Originally an INDEX was defined only by the key columns, returning all columns. Now it is possible to define the returned columns and put selectivity on it. I think, IIRC, that the key "column" can be an expression, but I've not checked on that.

So I see them as functionally different - a VIEW doesn't have an access path defined, exactly - again, IIRC. the access path is set up as the view is run. Optimization is handled as always, so the cache might have what is needed.

Cheers
Vern


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.