Monday, October 23, 2017

Difference between-View and Materialized View

Normal View:-
  • It is a stored select statement
  • It is a virtual component
  • It allows DESC, DML, SELECT on it
  • It is stored permanently in user_views system table.
  • It can be shared with other users DML on view are reflected in table and DML on table are reflected in view
  • It is used to share selected rows and columns with other rows
  • It is used for reporting purpose
  • It will improve the performance while manipulating or retrieving data through views

Materialized view:-
  • It is a static view
  • It holds data in it
  • It will not support DML on it
  • DML on table will not be reflected in view
  • To create it create materialized view permission is required.
  • It is used to maintain historic data.
  • It is used for data analysis and reporting purpose.
  • It is same as SNAP SHOT

No comments:

Post a Comment

Query to get the Concurrent Program along with Value Set details

SELECT fcpl1.user_concurrent_program_name       ,fdfcuv.end_user_column_name       ,ffvs.flex_value_set_name value_set_name       ,ffvt.appl...