Q

Indexed views and Oracle

What are indexed views, and does Oracle support them?
 

As you may already know, a view is a "virtual table". I like to think of a view as a stored SQL statement. A view does not actually contain data, but just a SQL statement to get data from one or more tables.

The performance of a view is tied directly to the performance of the view's underlying SQL statement. Some systems will let you create an index on the view so that selecting data from the view will be faster. Oracle databases do not support indexing views.

But Oracle does support a Materialized View (MV). A MV is like a view, but it does contain data. MV's are primarly used for preaggregating results to speed up performance. And you can place an index here.

 

For More Information


 

This was first published in September 2002

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close