Gathering Index Stats Fails with ORA-1760 when MVIEW is Present on the Table

(Doc ID 317254.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Server - Enterprise Edition - Version 9.2.0.1 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

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