Oracle 12.2
I can create an mview to refresh every 5 minutes
create materialized view mv1
refresh complete start with (sysdate) next (sysdate+5/1440)
as
..
..
but I only want it to run Mon-Fri and between 9am-5pm.
This should be doable in a scheduler job with BYHOUR and BYMINUTE and BYDAY in my repeat_interval. Is there anyway to do this within the mview refresh schedule itself or in an mview refresh group or do I have to use a scheduler job? I cant find examples online of how to do it in the mview clause. Its no problem to do with a scheduler job, I was just wondering if it was possible in the mview directly.