IBM Support

IC84799: DB2 may abend with a trap (prior to Version 9.7 Fix Pack 5) or OLAP query may fail with SQL0901N (Version 9.7 Fix pack 5 or 6).

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 may abend due to a trap (prior to Version 9.7 Fix Pack 5) or
    query may fail with SQL0901N (Reason "Bad victimPageHeader ")
    (Version 9.7 Fix pack 5 or 6) if the following occurs:
    
    - DB2 is running with configuration where sort memory is
    constrained (and may also be throttled to minimum allowances)
    - we are running an OLAP query that processes large amounts of
    data,
    
    An example of stacks trace for an abend that can happen in V9.7
    FP4 and prior:
    
    sqlri_buffer_fix_page
    sqlriScalagRecreatePageHdr
    sqlriScalagSearchPageHdrCache
    sqlri_buffer_fix_page_N_ptrs
    sqlri_scalag_aggregator
    sqlri_scalag_aggNfind_bot
    sqlri_scalag
    sqlriset
    sqlriSectInvoke
    
    An example of SQL0901N that can happen in V9.7 FP5 and later:
    
    FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
    probe:300
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 20
     sqlerrmc: Bad victimPageHeader
     sqlerrp : SQLRI4B3
     sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00000000      (5) 0xFFFFDBDD      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    

Local fix

  • In order to avoid constrained sort memory, ensure that the
    configuration (including applicable limits and memory resources)
    is sufficient and throttling is avoided.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 9.7 FP7  or newer fix pack                    *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed in DB2 Version 9.7 Fix Pack 7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84799

  • 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

    2012-06-21

  • Closed date

    2012-11-11

  • Last modified date

    2012-11-11

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

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

    IC87273 IC88319

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R970 PSY

       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:
11 November 2012