IBM Support

PK57786: D102911. PERFORMANCE IMPROVMENT FOR XML QUERY WITH XMLAGG.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Performance improvment for XML query with XMLAGG.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: DB2 R910 users who use XMLQUERY with XMLAGG  *
    ****************************************************************
    * PROBLEM DESCRIPTION: The performance improvement of reducing *
    *                      the number of sorts and merges while    *
    *                      handling XML sequences might not be     *
    *                      applied when combining XMLQUERY with    *
    *                      XMLAGG functions in a query.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The performance improvement of reducing the number of sorts and
    merges while handling XML sequences might not be applied when
    combining XMLQUERY with XMLAGG functions in a query.
    
    For example:
    
    Following query combines XMLQUERY with XMLAGG.
    
      SELECT
        XMLQUERY(
         'fn:count($x//students/student/classes/class)'
          passing XMLAGG(college_student_teacher_xml) as "x")
      FROM college_XML;
    
    The performance improvement might not be applied to this query.
    

Problem conclusion

  • DB2 is modified to check for this condition and apply the
    performance improvement.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK57786

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-06

  • Closed date

    2008-01-17

  • Last modified date

    2008-03-03

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

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

    UK33048

Modules/Macros

  • DSNNQSCN
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • R910 PSY UK33048

       UP08/02/04 P F802

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":"9.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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 March 2008