开发者

Materiliaze view in oracle

开发者 https://www.devze.com 2022-12-24 00:22 出处:网络
How t开发者_JS百科o create/refresh materialize view in oracle 10g.Oracle documentation hereCREATE:

How t开发者_JS百科o create/refresh materialize view in oracle 10g.


Oracle documentation here


CREATE:

CREATE MATERIALIZED VIEW example_mview 
AS
SELECT * FROM table_name

REFRESH:

REFRESH is simply used like exec dbms_mview.refresh('example_mview');

or within the structure like

REFRESH + refresh how

  CREATE MATERIALIZED VIEW example_mview     
  REFRESH COMPLETE
  AS
  SELECT * FROM table_name

ex.

REFRESH FAST
REFRESH COMPLETE
REFRESH FAST ON DEMAND

See the documentation for other options.

0

精彩评论

暂无评论...
验证码 换一张
取 消