My Oracle Support Banner

ORA-2097 & ORA-1031 When Refreshing a Materialized View in Non-Atomic Mode (Doc ID 1442725.1)

Last updated on JANUARY 15, 2019

Applies to:

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


Materialized view refresh is failing with:

exec dbms_mview.refresh('mv_test2','C',atomic_refresh=>false);
BEGIN dbms_mview.refresh('mv_test2','C',atomic_refresh=>false); END;

ERROR at line 1:
ERROR at line 1:
ORA-20001: Job failed: ORA-12801: error signaled in parallel query server P000
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2256
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2462
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2431
ORA-06512: at line 1

This can also show up in the failure for index rebuild during the mview refresh.

DBMS_INDEX_UTL: Error executing ALTER INDEX <index_name> REBUILD  PARALLEL 12


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

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