Ask the Expert

Indexed views and Oracle

What are indexed views, and does Oracle support them?

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: