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

Thread: DBMS_UTILITY.ANALYZE_SCHEMA

  1. #1
    Join Date
    Dec 2001
    Location
    Keene, NH
    Posts
    510
    I quote Oracle 9.2 Documentation:

    "There are some PL/SQL packaged procedures that effectively allow you to execute an ANALYZE statement. These are:
    DBMS_UTILITY.ANALYZE_SCHEMA
    DBMS_UTILITY.ANALYZE_DATABASE
    DBMS_DDL.ANALYZE_OBJECT
    It is recommended that these packaged procedures only be used for collecting non-optimizer statistics."


    Why the recommendation for "collecting non-optimizer statistics."????? This is why I want to use these packages - for the cost based optimizer!

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    you use dbms_stats to colelct statistics

    those are for validating structures

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