IBM Support

JR32132: SQL2025N WHEN STATISTICS PROFILE FEATURE IS ENABLED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When statistics profile is enabled, you might see the following
    error intermittently:
    
    SQL2025 : An IO error occured "accessing a file used for
    collecting the
    explain snapshot information occured on" on media "".
    
    Please be aware that:
    
    Statistics profile generation is best suited to environments
    running large complex queries that apply many predicates, often
    having correlations in the data of the predicate columns, and
    joining and grouping over several tables. It is less suitable to
    environments with a primarily transactional workload.
    
    The fix is to ignore the error, let query continue and complete
    normally and have a warning psted into db2diag.log saying that
    that auto stats profile was ignored for this query.
    

Local fix

  • Disable AUTO_STATS_PROF and AUTO_PROF_UPD.
    

Problem summary

  • USERS AFFECTED: All using statistics profile
    
    
    PROBLEM DESCRIPTION:
    
    When statistics profile is enabled, you might see the following
    error intermittently:
    
    SQL2025 : An IO error occured "accessing a file used for
    collecting the
    explain snapshot information occured on" on media "".
    
    Please be aware that:
    
    Statistics profile generation is best suited to environments
    running large complex queries that apply many predicates, often
    having correlations in the data of the predicate columns, and
    joining and grouping over several tables. It is less suitable to
    environments with a primarily transactional workload.
    
    The fix is to ignore the error, let query continue and complete
    normally and have a warning psted into db2diag.log saying that
    that auto stats profile was ignored for this query.
    
    PROBLEM SUMMARY:
    
    see problem description.
    

Problem conclusion

  • The complete fix for this problem first appears in DB2 UDB
    Version 9.5 FixPak 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR32132

  • Reported component name

    DB2 UDB ESE WIN

  • Reported component ID

    5765F4101

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-23

  • Closed date

    2009-12-15

  • Last modified date

    2009-12-15

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

    JR32131

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

Fix information

  • Fixed component name

    DB2 UDB ESE WIN

  • Fixed component ID

    5765F4101

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 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":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 December 2009