Collecting stats only on partitions missing them
What combination of parameters would I use in 11g to collect stats on a partitioned table using DBMS_STATS.GATHER_TABLE_STATS such that I only gather statistics on partitions that are missing statistics? Is there a way, or do I have to write a stored procedure that loops through those partitions missing statistics and collect stats on those individual partitions? It seems like under 10 there was an "options" parameter that let you specify this but it doesn't seem to be there in 11.
0