What is the difference between Views and Materialized Views in Oracle?

前端 未结 8 2097
一向
一向 2020-12-02 03:35

What is the difference between Views and Materialized Views in Oracle?

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-02 04:14

    Views are essentially logical table-like structures populated on the fly by a given query. The results of a view query are not stored anywhere on disk and the view is recreated every time the query is executed. Materialized views are actual structures stored within the database and written to disk. They are updated based on the parameters defined when they are created.

提交回复
热议问题