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

Thread: generating stats

  1. #1
    Join Date
    Jul 2001
    Location
    Montreal
    Posts
    222

    generating stats

    Hi, I want to generate statistics for an entire schema including indexes. I want to ensure that full statistics are computed. There are so many methods that can be used.
    Not sure which is best? Will the command below do the trick? Please advise?

    execute DBMS_STATS.GATHER_SCHEMA_STATS('RPM',DBMS_STATS.AUTO_SAMPLE_SIZE,cascade=>true);

    Thanks for your help.

  2. #2
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    Yes, When you need full statistics go with "estimate_percent => 100"

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