IBM Support

IT19279: SYSIBMADM.ENV_SYS_INFO RUNS SLOWER IN DB2 V10.5 BY 1 SECOND

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The administrative view runs relatively slow in DB2 v10.5 . It
    takes 1 second samples and results in 1 second extra processing.
    
    $ time db2 "SELECT HOST_NAME , CURRENT SERVER FROM
    SYSIBMADM.ENV_SYS_INFO"
    
    HOST_NAME     2               
    ----------------   ----
    testhost            TEST            
    
      1 record(s) selected.
    
    real    0m1.67s
    user    0m0.01s
    sys     0m0.01s
    
    Ideally it should take few milliseconds to complete.
    

Local fix

  • 1. SELECT HOST_NAME,  CURRENT SERVER
    FROM TABLE(SYSPROC.ENV_GET_SYS_INFO()) AS SYSTEMINFO
    
    
    
    
    or 
    
    
    
    
    2. Create new view in different schema:
    db2 "CREATE OR REPLACE VIEW DB2INST1.ENV_SYS_INFO              
    
    ( OS_NAME, OS_VERSION, OS_RELEASE, HOST_NAME, TOTAL_CPUS,      
    
    CONFIGURED_CPUS, TOTAL_MEMORY )                                
    
    AS                                                              
    
    SELECT  os_name, os_version, os_release, host_name, total_cpus,
    
    configured_cpus, total_memory                                  
    
      FROM TABLE(SYSPROC.ENV_GET_SYS_INFO()) as t                  
    
    WITH NO ROW MOVEMENT"                                          
    
                                                                   
    
    And then run following command:                                
    
                                                                   
    
    $ time db2 "SELECT HOST_NAME , CURRENT SERVER FROM
    DB2INST1.ENV_SYS_INFO"  
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT19279

  • 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

    2017-02-15

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-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 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 January 2020