My Oracle Support Banner

Gathering Index Stats Fails with ORA-1760 when MVIEW is Present on the Table (Doc ID 317254.1)

Last updated on FEBRUARY 20, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Oracle Server 9.2 and above


Symptoms

Collecting Index stats using dbms_stats.gather_index_stats might fail with ORA-1760 when a materialized view is present on the base table.

The error can also happen when we use cascade=> TRUE option with either gather_schema_stats ot gather_table_stats.

Changes

Materialized view is present in the schema.

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.