Database Tuning (MOSC)

MOSC Banner

Index creation

edited Nov 14, 2022 7:36AM in Database Tuning (MOSC) 10 commentsAnswered ✓

Hi Experts,

We are on 11.1.0.7

Our database size is 300GB

SGA 2GB and PGA_AGGREGATE_LIMIT 1GB. We have 4 core cpu and 8 GB ram.

We have rebuild the table WRI$_OPTSTAT_HISTHEAD_HISTORY  and now we are rebuilding its associated indexes with parallel 4. Index size is 32GB. We have attached the execution plan for review.

1) After rebuilding the table and before rebuilding the indexes,should we gather stats for that table OR can we gather stats after rebuilding both the table and its indexes?

2)Index rebuild takes long time ->I think sorts spilled to DISK instead of memory. How can we improve the performance.

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