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