Global Stats not being collected using Incremental Stats
I seem to be experiencing a bug with Oracle 11gR2 (11.2.0.2) with collecting global stats when the preference for INCREMENTAL stats is set to TRUE for a partitioned table.
The problem seems to only involve tables that were upgraded from 10.2.0.4 and NOT tables that are created once on 11g itself. The STALE_STATS flag for the overall table (global component) does not seem to be getting set to YES even though the threshold for staleness has been reached and several partitions themselves are flagged as stale. A similar test with a table that was actually built in 11g and NOT upgraded from 10g, does indeed set the flag to YES for the table & relevant partitions and consequently, global stats are obtained.
Has anyone else experienced this issue?
Thanks.