SQL Performance (MOSC)

MOSC Banner

missing index stats on newly created indexes

edited Aug 10, 2016 5:00AM in SQL Performance (MOSC) 3 commentsAnswered

Hello All,

My app team has created some indexes on friday afternoon and the auto gather stats ran in regular maintainence window in the weekend..on monday we got a performance issue on a sql query on the tables where index is created because the index had MISSING stats.

Once DBMS_STATS.GATHER_INDEX_STATS was ran on those indexes ...it then picked up good plan and executed well.

Doesnt Auto gather stats gather missing index stats...what would have been the reasons that it skipped collection of index stats on those indexes.

Please advice.

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