Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2008

    Unanswered: Runstats required ??

    Hello all,

    As we usually see message like this ( db2 v9.1 on aix 5.3 ), in inst.nfy file,

    ADM10512W  Health indicator "Statistics Collection Required" 
    ("db.tb_runstats_req") is in state "Update statistics required" on "database" 
    "db2inst1.TPOSDB  ". Collection (Object Name, Timestamp, Value, Detail): " 
    ("POS"."DUTIL", 09/12/2011 07:43:54.000000, 2, RUNSTATS USE PROFILE)".
    I think we should be able to check if the runstats are required or not for a particular table.

    I have been running runstats only by guess(estimate).

    Can someone tell if there is a specific logic that I should follow ??



  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    runstats should be run : whenever indexes are added/changed - whenever large amount of data loaded/deleted ..
    if slowly changing/growing data : on regular time base (monthly-trimester..)
    some customer open the automated runstats in the night and let db2 handle this. they turn this off in the morning..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Posting Permissions

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