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

What is the difference between left outer join and left join?

0 Answers  


I have a package in which a table was used in a procedure and compiled later i have dropped the table used in the package what would be the status of package specification and body

1 Answers   TCS,


Can we use pl sql in sql server?

0 Answers  


how to create a database in oracle?please gve anser with example

1 Answers  


What is a procedure in pl sql?

0 Answers  






what is the difference between implicit conversions and explicit conversions?

2 Answers  


How do I view a view in sql?

0 Answers  


How do you define a foreign key?

0 Answers  


How can you view the errors encountered in a trigger?

0 Answers  


what is an extent ? : Sql dba

0 Answers  


How to handle bulk data?

0 Answers  


one of the column in my table contains the data like SAL ---- 1000 1000 2000 3000 3000 So my requirement is i want output like SAL --- 1000 2000 3000 it mean i want to delete duplicate rows only how should u write query?

9 Answers   TCS,


Categories