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

Thread: How to verify if system stats were collected

  1. #1
    Join Date
    Feb 2001
    Posts
    129

    How to verify if system stats were collected

    Hi,

    I was wondering if there is a way to check and verify if the following were run successfully in a database.

    execute dbms_stats.gather_system_stats;
    execute dbms_stats.gather_dictionary_stats;
    execute dbms_stats.gather_fixed_objects_stats;

    Oracle -10.2.0.2

    Appreciate your help

    Regards
    Jay

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Do you have a log?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Feb 2001
    Posts
    129
    There are no logs. The commands were executed a couple of weeks ago. I need to ensure if it was really run and if it was successfull.

    Thanks
    Jay

  4. #4
    Join Date
    Feb 2009
    Posts
    17
    First of all, those commands are executed everyday at 10:00 PM and 6:00AM as default. If you change that period, you can check the values on dictionary statistics views start with dba#, all# or user#. For this comparison, you must have the older values which were gotten before those commands were executed.
    By the way, why do you have doubts for those commands?

  5. #5
    Join Date
    Nov 2005
    Location
    USA
    Posts
    32
    Try querying DBA_OPTSTAT_OPERATIONS

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