SQL Performance (MOSC)

MOSC Banner

Query performance is slow after recreation of table

edited Jul 2, 2014 6:37AM in SQL Performance (MOSC) 26 commentsAnswered ✓

Hi,

As part of archiving, we have archived old data in other table and truncated, dropped the existing table and recreated a table in production with new data and analyzed the table using below query:

analyze Table tab_name Estimate Statistics Sample 30 Percent;

But problem is, When application team is using these tables they are experiencing some performance issue.

Usually their query will complete within 2 hours but now it is running for more than 4 hours, not yet completed.

Is it because of the table analyzed using Analyze command instead of dbms_stats.gather_table_stats?

How can I sort this out, this is production oracle 9i database.

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