Refreshing materialized views on Oracle Database 12c via DBMS job
Hello.
We are trying to setup a scheduled materialized view refresh, but the refresh does not seem to run and we don't get any output.
Following info depicts details of a DBMS job that should refresh the materialized views :OPS$QUERIX.LINXFECHA, as seen on SQL Developer:
| WHAT | dbms_mview.refresh('"OPS$QUERIX"."LINXFECHA"'); |
| THIS_DATE | |
| THIS_SEC | |
| NEXT_DATE | 300615 |
| NEXT_SEC | 17:04:45 |
| BROKEN | N |
| INTERVAL | sysdate+1 |
| FAILURES |
Please note that if ,as user OPS$QUERIX, I run this job manually via SQL developer, it runs just fine, and if i execute manually the followiong code, it works fine too: