What is diff between gather stats and compute stats
i am asking basic question.
What is the diff between gather statistics and compute statistics
if we use dbms_stats. GATHER_TABLE_STATS or gather_index_stats
if we use analyze table compute stats or index compute stats.
. What will be the difference.
which one is more usefull or it depends on any perticular situation.
DBMS_STATS is the preferred method from 9i onwards for stats collection.compute stats is there for backward compatability.
DBMS_STATS allows you to collect stats in parallel .
Do you mean to say analyze table compute stats and
dbms_stats.gather stats are almost same just they are
from different version. Even if you use any of them there
isnt much diff in final result. But better to use
dbms_stats.gather_stat looking forward to new versions.
correct me if i am wrong
they are not the same, dbms_stats collects more information.
compute is an option for both
Click Here to Expand Forum to Full Width