Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Posts
    32

    Unanswered: automatic runstats

    I have a automatic profile setup to run autorunstats daily.

    I would like to know what command does that automatic runstats execute .

    will it do a runstats for the tables or will it do a runstats for tables & indexes is there a way where we can schedule our own syntax to execute in the same poilicy .

    Please let me know if you have any idea to find out to chekc the syntax of the runstats the AUTOMAINT_SET_PROFILE executes in
    Code:
    db2policy!db2AutomaintSetPolicyFileSpLocal
    Thanks in advance

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Automatic collection of statistics maintains statistics for both tables and indexes.

    To set up RUNSTATS parameters for a particular table, use a statistics profile: Collecting statistics using a statistics profile
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    From the Doc:
    Important: Automatic statistics profiling is deprecated in Version 10.1 and might be removed in a future release. For more information, see Automatic statistics profiling is deprecated.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Automatic statistics profiling is deprecated, yes, so you need to create manually profiles for the tables that need them.
    ---
    "It does not work" is not a valid problem statement.

Posting Permissions

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