Different Behaviour in Statistics Collection for Materialized View in 11g and in 12c (Doc ID 2055546.1)

Last updated on SEPTEMBER 14, 2015

Applies to:

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

Symptoms

Different behavior noticed in statistics collection during materialized view refresh in 12.1.0.2 and 11.2.0.4 with regard to accurate statistics on mview container table and its indexes.

  11.2.0.4 12.1.0.2
After create mview build immediate statistics gathered on indexes only statistics gathered on table and its indexes
After Complete atomic refresh statistics gathered on indexes only statistics gathered on indexes only
After Complete non atomic refresh statistics gathered on indexes only statistics gathered on table and its indexes

 

Changes

 Upgrade from 11.2.0.4 to 12.1.0.2

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