Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Refresh of Materialized view on specific times per day

604936Aug 24 2011 — edited Aug 26 2011
Hi,
I have a requirement of creating a materialized view which will be refreshed twice daily. It will be refreshed (complete) at 1 a.m. and 1 p.m. daily. Can anyone help me with the syntax.

My requirement is something like

CREATE MATERIALIZED VIEW CRT_DETAILS
NOLOGGING
PARALLEL
REFRESH COMPLETE
ON DEMAND
START WITH SYSDATE NEXT SYSDATE + ?????
as
SELECT columns from joins of tables;


My MV will get created at sysdate. I need to put the NEXT value in such a fashion that it evaluates to 1 a.m. and 1 p.m. daily.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2011
Added on Aug 24 2011
8 comments
16,521 views