Database Tuning (MOSC)

MOSC Banner

Collecting stats only on partitions missing them

edited Jan 28, 2009 11:52PM in Database Tuning (MOSC) 2 comments
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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center