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

Why do we need unique key in a table?

0 Answers  


What are some emotional triggers?

0 Answers  


Why primary key is required?

0 Answers  


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

0 Answers  


How many developers work on postgresql?

0 Answers  






What is the difference between a primary key and a clustered index?

0 Answers  


What is the size of partition table?

0 Answers  


Which join is like inner join?

0 Answers  


How many types of primary keys are there?

0 Answers  


What is sql in oracle?

0 Answers  


Do you know the basic structure of PL/SQL?

3 Answers  


What are the sql commands?

0 Answers  


Categories