MV Refresh - Changing between on commit to on demand and back
Hello
we have a 19.18 E.E RAC database
We have a MV created with
REFRESH FAST ON COMMIT
WITH ROWID
ENABLE QUERY REWRITE….
We have a batch job that runs updates on the underlying table that runs for hours and we are seeing Enq JI contention waits and tx locks etc. While we are working on fixing that update batch job we are thinking about disabling the refresh of MV while the job is running and then enable it back
So basically
before the job kicks in, change the refresh to on demand and then once the job is finished change it back to on commit