Fixes are available
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
RB10 PSN
UP
[{"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":"10.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
03 May 2022