Database Tuning (MOSC)

MOSC Banner

STALE STATISTICS on RAC 10.2?

edited Jan 6, 2011 7:30AM in Database Tuning (MOSC) 5 commentsAnswered
Version: Oracle RAC 10.2.0.4 64bits.

The num_rows in dba_tables for a particular table was in 48 millions. However, if we do a count(*) the table only has 3.5millions. We tried to refresh the statistics first with analyze table and the with dbms_stats.gather_schema_stats  but in both cases after finishing the execute, the view still shows 48 millions. We deleted 1 millions of unused rows again performed the analyze, in this case the num_rows columns showed 35 millions. Finally, after perform an dbms_stat.delete_schemas_stats and

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