Gather stats and index rebuild on large tables
We are having Oracle RAC (10.2.0.4) -> 2 nodes on Red Hat Linux 5.3
I have two very huge tables of size 343GB and 116GB, both IOT with Hash partitioned.
Lately, the queries are running slow against these tables.
We are not running any manual gather stats job against these tables.
But I see the automatic stats job runs once in a while.
Lately as part of maintenance, we purged 20 million records in both tables.
I would like to rebuild the indexes on these tables as well.
I tried running stats in QA environment on these tables with sizes 31GB and 16GB respectively.