My Oracle Support Banner

After doing DML operations in Base Tables, querying the MVIEW with FRESH_MV hint errors out with "ORA-32361: cannot ENABLE ON QUERY COMPUTATION for the materialized view" (Doc ID 2609317.1)

Last updated on NOVEMBER 14, 2019

Applies to:

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

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

After doing DELETE or mixed DML operations in base tables, querying the MVIEW
with FRESH_MV hint errors out with the following message.

SQL> select /*+ FRESH_MV */ * from <mview_name>;
select /*+ FRESH_MV */ * from <mview_name>
*
ERROR at line 1:
ORA-12008: error in materialized view or zonemap refresh path
ORA-32361: cannot ENABLE ON QUERY COMPUTATION for the materialized view

Changes

 

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
Changes
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.