What is materialised View?

Answers were Sorted based on User's Feedback



What is materialised View?..

Answer / narenkumar reddy

Mv is database object it contain the data stored physically
from select stmt of query
first time it will get the data base table next time onwards
based on refresh methods mv are created tables and views and
also mv
there three types of refresh methods
1.complete(the whole query execute)
2.fast(only modified records are updated target table i.e
incremental loading)
3.force(some times means when we r using agg function on
that time fast option is not working so we go for force option)

Is This Answer Correct ?    3 Yes 0 No

What is materialised View?..

Answer / dinesh

A materialized view, or snapshot as they were previously known, is a table segment whose contents are periodically refreshed based on a query, either against a local or remote table.

CREATE MATERIALIZED VIEW view-name
BUILD [IMMEDIATE | DEFERRED]
REFRESH [FAST | COMPLETE | FORCE ]
ON [COMMIT | DEMAND ]
[[ENABLE | DISABLE] QUERY REWRITE]
[ON PREBUILT TABLE]
AS
SELECT ...;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Main diff between varray and nested tablea

3 Answers   Polaris, TCS,


How to connect a sql*plus session to an oracle server?

0 Answers  


What is difference sql and mysql?

0 Answers  


Why is partition used in sql?

0 Answers  


What is the main difference between a UNION statement and a UNION ALL statement? 1. A UNION statement eliminates duplicate rows; a UNION ALL statement includes duplicate rows. 2. A UNION statement can be used to combine any number of queries; a UNION ALL statement can be used to combine a maximum of two queries. 3. A UNION statement can only combine queries that have parallel fields in the SELECT list; a UNION ALL statement can combine queries with differing SELECT list structures. 4. A UNION statement cannot be used with aggregate functions; a UNION ALL statement can be used with aggregate functions. 5. There is no difference between the two statements; they are interchangeable.

2 Answers   Saman Bank, Sonata,






Which version of sql do I have?

0 Answers  


explain the advantages and disadvantages of stored procedure? : Sql dba

0 Answers  


What is the order of sql select?

0 Answers  


how to add a new column to an existing table in mysql? : Sql dba

0 Answers  


What is the different between Stored Procedure and Procedure?

7 Answers   Informatica, MIS,


What is the function that is used to transfer a pl/sql table log to a database table?

0 Answers  


how to do backup entire database? : Transact sql

0 Answers  


Categories