https://github.com/famousdraw

IT08458: NON-OPTIMAL ACCESS PLAN MIGHT BE GENERATED FOR A COMPLEX QUERY THAT PRODUCES A SQL0437W WITH RC=1

IT08458: NON-OPTIMAL ACCESS PLAN MIGHT BE GENERATED FOR A COMPLEX QUERY THAT PRODUCES A SQL0437W WITH RC=1

 https://www.ibm.com/support/pages/apar/IT08458

APAR status

  • Closed as program error.

     

Error description

  • The DB2 optimizer might generate a non-optimal access plan for
    complex queries containing one or more equality join predicates.
    This problem is more likely to occur when STMTHEAP is set to
    AUTOMATIC and after applying DB2 Version 9.7 Fix Pack 8,9, or
    10.
    
    You can identify this issue by gathering an EXPLAIN of the
    query.  If the problem is hit, you will receive a SQL0437W with
    rc=1 during query compilation, and the EXPLAIN output will
    include filter factor estimates and cardinality estimates of 0.
    

     

Local fix

  • You can increase the STMTHEAP to avoid the problem.  To identify
    an appropriate size, you can gather an EXPLAIN of the query and
    set it to a value larger than the one shown under the HEAPUSE
    argument of the RETURN operator.
    

     

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * db2_v105fp7                                                  *
    ****************************************************************
    

     

Problem conclusion

  • db2_v105fp7
    

     

Temporary fix

Comments

APAR Information

  • APAR number

    IT08458

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-22

  • Closed date

    2022-06-20

  • Last modified date

    2022-06-20

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

    IT08036

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

posted on   红色MINI  阅读(32)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示