ORA-00096: Invalid Value Enforced For Parameter Query_rewrite_integrity When Creating Or Refreshing Materialized View (Doc ID 1968519.1)

Last updated on APRIL 27, 2015

Applies to:

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

Symptoms

Creating or refreshing a materialized view fails with ORA-00096 error.

Creating  a table using the same Select statement works fine.

 

CREATE MATERIALIZED VIEW sh.test_MV
ORGANIZATION HEAP
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE(INITIAL 56K
     NEXT 56K
     MAXEXTENTS UNLIMITED
     PCTINCREASE 5
     BUFFER_POOL DEFAULT)
TABLESPACE USERS
LOGGING
NOPARALLEL
NOCACHE
BUILD IMMEDIATE
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 56K NEXT 56K MAXEXTENTS UNLIMITED PCTINCREASE 5 BUFFER_POOL DEFAULT) TABLESPACE USERS
REFRESH FAST
START WITH TO_DATE('18-NOV-2014 03:04 PM','DD-MON-YYYY HH12:MI PM')
NEXT SYSDATE + 1/288
ON DEMAND
AS SELECT * FROM test;
/

 

ERROR :
ORA-00096: invalid value enforced for parameter query_rewrite_integrity, must be from among force, true, false
ORA-00096: invalid value trusted for parameter query_rewrite_integrity, must be from among force, true, false


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