DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: What is diff between gather stats and compute stats

  1. #1
    Join Date
    Apr 2003
    Location
    Pune,Maharashtra. India.
    Posts
    245

    What is diff between gather stats and compute stats

    Hi,
    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
    and
    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.

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    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 .

    regards
    Hrishy

  3. #3
    Join Date
    Apr 2003
    Location
    Pune,Maharashtra. India.
    Posts
    245
    Hrishy,
    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

    Rgds
    Parag

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    they are not the same, dbms_stats collects more information.

    compute is an option for both

    use dbms_stats

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width