I have a view that combines data from 4 tables. Can I create an index for the view? or should the indices created for the original tables speed up searching enough?
A view is similar in concept to a subselect; data is retrieved from the underlying tables, taking advantage of any indexes on those tables, when the view is queried. Therefore, indexing a view would not make sense.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.