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

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

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

8条回答
  •  隐瞒了意图╮
    2020-12-02 03:58

    View: View is just a named query. It doesn't store anything. When there is a query on view, it runs the query of the view definition. Actual data comes from table.

    Materialised views: Stores data physically and get updated periodically. While querying MV, it gives data from MV.

提交回复
热议问题