Refresh Of MVIEW Via Database Job Fails ORA-12012 ORA-12008 ORA-942 (Doc ID 401971.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

 

Refreshing a Materialized View via the Oracle job scheduler reports the following errors, however manual refresh suceeds.

EXAMPLE

--------------

*** SERVICE NAME:(SYS$USERS) 2006-12-04 14:12:37.936
*** SESSION ID:(23.10780) 2006-12-04 14:12:37.936
*** 2006-12-04 14:12:37.936
ORA-12012: error on auto execute of job 346
ORA-12008: error in materialized view refresh path
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2255
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2461
ORA-06512: at "SYS.DBMS_IREFRESH", line 683
ORA-06512: at "SYS.DBMS_REFRESH", line 195
ORA-06512: at line 1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms