Difference between views and materialized views?

Answer Posted / pinkey

A view is just a stored query and has no physical part.
Once a view is instantiated, performance can be quite good,
until it is aged out of the cache. A materialized view has
a physical table associated with it; it doesn't have to
resolve the query each time it is queried. Depending on how
large a result set and how complex the query, a
materialized view should perform better.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorts rows in sql?

769


What is primary key in db?

712


Is sql developer case sensitive?

722


What are the different types of a subquery?

713


Why having clause is used in sql?

724






How do I create an index in word?

727


What are the different datatypes available in PL/SQL?

754


What is character functions?

743


Can you select everything, but 1 or 2 fields, without writer's cramp?

687


what is a scheduled jobs or what is a scheduled tasks? : Sql dba

733


how to calculate the difference between two dates? : Sql dba

723


Why indexing is needed?

726


What is the most restrictive isolation level? : Transact sql

768


how to analyze tables with 'mysqlcheck'? : Sql dba

717


Does inner join return duplicate rows?

701