IBM Support

PM74991: INEFFICIENT ACCESS PATH FOR RPREDICATES (RANGE OR SUBQUERY) REFERENCING A COLUMN WITH FREQUENCY, HISTOGRAM STATISTIC

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 may choose an inefficient access path for the predicates
    referencing a column with frequency, histogram statistic, and
    the predicates are range predicates or predicates with subquery(
    the subquery is not in subquery)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 for z/OS users with queries containing   *
    *                 predicates on columns where frequency or     *
    *                 histogram statistics have been collected.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 may choose an inefficient access    *
    *                      path when a user issues a query with a  *
    *                      predicate or predicates that satisfy    *
    *                      the conditions below:                   *
    *                                                              *
    *                      1. The predicate refers to a column or  *
    *                         columns where frequency or histogram *
    *                         statistics have been collected.      *
    *                      2. The predicate is a range predicate   *
    *                         with parameter marker (or parameter  *
    *                         markers) or host variable (or host   *
    *                         variables) , or the predicate refers *
    *                         to a subquery (except an EQUAL or    *
    *                         NOT EQUAL subquery).                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DB2 may choose an inefficient access path for a query with a
    predicate or predicates referencing a column where frequency or
    histogram statistics have been collected.  The predicate or
    predicates are range predicates with parameter markers or host
    variables, or include subuqueries (except EQUAL or NOT
    EQUAL subqueries).
    

Problem conclusion

  • The problems mentioned above are fixed so that DB2 will choose
    a more efficient access path in that situation.
    
    
    ADDITIONAL KEYWORDS:
    
    SQLACCESSPATH SQLPERFORMANCE SQLBETWEEN SQLSUBQUERY SQLPMK
    PARAMETERMARKER SQLPMARKER SQLHOSTVAR SQLLT SQLGT
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM74991

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-15

  • Closed date

    2012-12-19

  • Last modified date

    2013-02-04

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

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

    UK90518

Modules/Macros

  • DSNXODFB DSNXODFR DSNXODFT
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK90518

       UP13/01/04 P F301

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 February 2013