Query performance is slow after recreation of table
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.