IBM Support

IT35880: Db2 write performance on Linux might be affected due to file system journal waits

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On Linux, Db2 release 11.5 uses O_SYNC flag (04000000) to open
    database containers, which enforces more strict file system
    synchronisation requirements during writes than O_DSYNC
    (00010000) flag used with releases 11.1 and older.
    This might result in a performance degradation for workloads
    that depend heavily on synchronous writes (e.g. on systems with
    small bufferpools). The impact might vary for different file
    systems and file system cache configuration for given
    tablespace, with the system managed tablespaces (SMS) that use
    file caching being affected the most.
    For Db2's data consistency O_DSYNC is sufficient and this APAR
    will address this regression.
    
    Symptoms will include
    - increased synchronous write time in Db2 monitoring interfaces
    - Db2 threads blocked longer in the IO code path, waiting on
    file system journal (e.g. as indicated by jbd2_log_wait_commit
    WCHAN in "ps -T" output for Db2 engine/db2sysc).
    

Local fix

  • Upgrade to v11.5.5.1 or higher
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.5.5.1 or higher                            *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Db2 11.5.5.1 or higher
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT35880

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-02-11

  • Closed date

    2021-03-31

  • Last modified date

    2021-10-12

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

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

    IT38686

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB50 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 December 2021