Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Posts
    3

    Unanswered: Gathering statistics on all tables in DB

    Good Day All

    I would just like some advise as to what would be the best way to gather stats on all tables in a newly cloned DB?

    would BEGIN DBMS_STATS.gather_database_stats; work?

    Regards,

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    for V10+ Oracle, the default DB behaviour is that statistics are gathered once every 24 hours.

    >I would just like some advise as to what would be the best way to gather stats on all tables in a newly cloned DB?
    If the old DB had current & accurate statistics, then the clone has current & accurate statistics.

    Please find more productive activities to spend your time doing.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

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