IBM Support

IC69515: EXECUTION OF SQL STATEMENT WITH DBPARTITIONNUM IS NOT PARALLELIZED FOR CERTAIN SCENARIOS IN DPF

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This issue only applies if you are using the database
    partitioning feature (DPF).
    
    SQL statements that include an order on DBPARTITIONNUM or an
    OLAP function that includes DBPARTITIONNUM in the partition by
    clause are not parallelized, executing on a single database
    partition in the partition group.  The following are examples
    that illustrate the two scenarios:
    
    1.  order on DBPARTITIONNUM
    
    select dbpartitionnum(y), x from t order by 1;
    
    2.  DBPARTITIONNUM in PARTITION BY clause
    
    select max(x) over (partition by dbpartitionnum(y) order by 1)
    from t;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using the database partitioning feature (DPF) are      *
    * affected.                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * This issue only applies if you are using the database        *
    *                                                              *
    * partitioning feature (DPF).                                  *
    *                                                              *
    *                                                              *
    *                                                              *
    * SQL statements that include an order on DBPARTITIONNUM or an *
    *                                                              *
    * OLAP function that includes DBPARTITIONNUM in the partition  *
    * by                                                           *
    * clause are not parallelized, executing on a single database  *
    *                                                              *
    * partition in the partition group.  The following are         *
    * examples                                                     *
    * that illustrate the two scenarios:                           *
    *                                                              *
    *                                                              *
    *                                                              *
    * 1.  order on DBPARTITIONNUM                                  *
    *                                                              *
    *                                                              *
    *                                                              *
    * select dbpartitionnum(y), x from t order by 1;               *
    *                                                              *
    *                                                              *
    * 2.  DBPARTITIONNUM in PARTITION BY clause                    *
    *                                                              *
    *                                                              *
    *                                                              *
    * select max(x) over (partition by dbpartitionnum(y) order by  *
    * 1) from t;                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 Fix Pack 3                        *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in version 9.7 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69515

  • 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-06-29

  • Closed date

    2010-09-23

  • Last modified date

    2010-09-23

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

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

    IC69825

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 September 2010