IBM Support

IC72120: EXPLAIN OF FEDERATED QUERY INDICATES PREDICATE APPLIED TO WRONG OR NON-EXISTENT OPERATOR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A predicate may not show up in the explain output (db2exfmt,
    Visual Explain, Optimum Query Tuner), or it may be associated
    with the wrong operator, when a query against a remote table is
    explained, and that query includes a predicate against that
    remote table.
    
    You are experiencing this problem if the following query returns
    a non-zero count:
    select count(*) from explain_predicate where operator_id >
    (select max(operator_id) from explain_operator)
    
    You are also experiencing this problem if a local predicate is
    applied to an operator that does not contain the columns
    associated with that predicate.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the DB2 Federated Server feature that use the DB2   *
    * Explain functionality to examin query access plans.          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade the server to DB2 V9.7 Fix Pack 6 or later.          *
    ****************************************************************
    

Problem conclusion

  • Upgrade the server to DB2 V9.7 Fix Pack 6 or later. After
    applying the Fix Pack users will no longer see incorrect Explain
    Arguments associated with various Explain Operators.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC72120

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-21

  • Closed date

    2012-06-12

  • Last modified date

    2012-06-12

  • APAR is sysrouted FROM one or more of the following:

    IC72054

  • APAR is sysrouted TO one or more of the following:

    IC83206

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R910 PSN

       UP

  • R950 PSN

       UP

  • R970 PSN

       UP

  • RA10 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC72120

Modified date: 12 June 2012