My Oracle Support Banner

Fast refresh fails with ORA-904,when virtual columns are present in base table (Doc ID 2464767.1)

Last updated on MARCH 10, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

EXECUTE DBMS_MVIEW.REFRESH('<mview name>','F');
BEGIN DBMS_MVIEW.REFRESH('<mview name>','F'); END;

*
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-00904: <>: invalid identifier
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2821

Disabling extended statistics does NOT work around the problem.

Trace file may contain information like:

ORA-00904: : invalid identifier

----- SQL Statement (None) -----
Current SQL information unavailable - no cursor.
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
------------------
SYS.DBMS_SNAPSHOT_KKXRCA.REFRESH_KERNEL_INTERFACE
---------------------
SYS.DBMS_SNAPSHOT_KKXRCA.REFRESH_KERNEL_INTERFACE2

Stack:
------

kcfrbd1<-kcbzib<-kcbgtcr<-ktrget2<-kdscgr<-qertbFetchByRowID<-opifch2<-opiefn<
-opiall0<-opikpr<-opiodr<-rpidrus<-skgmstack<-rpidru<-rpiswu2<-kprball<-kkzlml
g<-kkzlgltyp<-kkzflbsu<-kkzfLogsetup<-kkzfrsh<-kkzifr3g<-spefcmpa<-spefmccalls
td<-peftrusted<-psdexsp
<-kxe_push_env_internal_pp_<-kkx_push_env_for_ICD_for_new_session<-psdextp<-pe
fccal<-pefcal<-pevm_FCAL<-pfrinstr_FCAL<-pfrrun_no_tool<-pfrrun<-plsql_run<-pe
icnt<-kkxexe<-opiexe<-kpoal8<-opiodr<-ttcpip<-opitsk<-opiino<-opiodr<-opidrv<-
sou2o<-opimai_real<-ssthrdmain



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.