IBM Support

LI71080: INCORRECT QUERY RESULT BECAUSE THE OUTPUT CARDINALITY HAS SET TO 1.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query returns only one row per symmetric
    multiprocessing (SMP) agent, even though more rows are expected.
    In general, the scenario in which this problem can occur has the
    following characteristics:
    * SMP parallelism is on (the database manager configuration
    parameter max_querydegree is set to a value that is greater than
    1)
    * A materialized query table (MQT) is present; MQT matching is
    attempted during query compilation, and a candidate MQT is
    expanded only if:
      * The MQT is not in check pending state
      * The MQT is either refresh immediate or refresh deferred and
      the refresh age has been set to 'ANY'
      * The MQT is dependent on at least one base table or nickname
      of the query
    * The query has a chain of equivalent join predicates on the
    primary key or unique key columns for three or more base tables;
    for example:
    t1.pk = t2.pk and t2.pk = t3.pk
    
    USERS AFFECTED: DB2 UDB Version 8.1 FixPak 9, 10 and 11 (not
    earlier than FP9)
    

Local fix

Problem summary

  • A query returns only one row per symmetric
    multiprocessing (SMP) agent, even though more rows are expected.
    In general, the scenario in which this problem can occur has the
    following characteristics:
    * SMP parallelism is on (the database manager configuration
    parameter max_querydegree is set to a value that is greater than
    1)
    * A materialized query table (MQT) is present; MQT matching is
    attempted during query compilation, and a candidate MQT is
    expanded only if:
      * The MQT is not in check pending state
      * The MQT is either refresh immediate or refresh deferred and
      the refresh age has been set to 'ANY'
      * The MQT is dependent on at least one base table or nickname
      of the query
    * The query has a chain of equivalent join predicates on the
    primary key or unique key columns for three or more base tables;
    for example:
    t1.pk = t2.pk and t2.pk = t3.pk
    
    USERS AFFECTED: DB2 UDB Version 8.1 FixPak 9, 10 and 11 (not
    earlier than FP9)
    

Problem conclusion

  • Problem fixed in FP12
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI71080

  • Reported component name

    DB2 UDB EXE LIN

  • Reported component ID

    5724E4904

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-01-23

  • Closed date

    2006-05-16

  • Last modified date

    2006-05-16

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

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

Fix information

  • Fixed component name

    DB2 UDB EXE LIN

  • Fixed component ID

    5724E4904

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 October 2021