Difference between views and materialized views?

Answers were Sorted based on User's Feedback



Difference between views and materialized views?..

Answer / guru

View: View is a virtual table, a query attached to it.
Actually it have not Stored query results. It will execute
and returns rows.

A materialized view is a database object that contains the
results of a query. They are local copies of data located
remotely, or are used to create summary tables based on
aggregations of a table's data. Materialized views, which
store data based on remote tables are also, know as
snapshots.A materialized view can query tables, views, and
other materialized views. Collectively these are called
master tables (a replication term) or detail tables (a data
warehouse term)

Is This Answer Correct ?    29 Yes 0 No

Difference between views and materialized views?..

Answer / rahul khanke

views : this are the vertiual table.. views dosent stores
the data.. if we update the table then updation is in
actual table..
M view : this are the tables based on one or more tables..
this stores the data.. updation is done then actual
updation is in M. view itself..

Is This Answer Correct ?    15 Yes 0 No

Difference between views and materialized views?..

Answer / a.jyothsna

VIEWS: Takes the output of a query
M.VIEWS: Stores the output of a query,Views can't store
the results of a query

Is This Answer Correct ?    12 Yes 3 No

Difference between views and materialized views?..

Answer / 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

Difference between views and materialized views?..

Answer / naresh

View: - it is logical table,it doesn't contain any data,it's contain only select statement.
if you modify the data in view,it's immediately effect to the Base table.
it gets rowids same as the base table.
Materialized view: - M.V are mostly use in Data Marts.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Can we insert in sql function?

0 Answers  


can we call a procedure into another procedure?If yes means how you can pass the perameters for the two procedures?

2 Answers   Fujitsu,


Write a query to get 2nd maximum salary in an employee table ?

69 Answers   Accenture, BirlaSoft, Letse, Logica CMG, Qwest, Rheal Software, Saagam, Semantic Space, Tailor Solution, TCS, TinyERP,


how to convert character strings to numeric values? : Sql dba

0 Answers  


What is forward declaration in pl sql?

0 Answers  






What is pessimistic concurrency control? : Transact sql

0 Answers  


What is over () in sql?

0 Answers  


what is the sql query to display current date? : Sql dba

1 Answers  


What are types of indexes in sql?

0 Answers  


How do you create a unique index?

0 Answers  


Does truncate remove indexes?

0 Answers  


Why are cursors used?

0 Answers  


Categories