Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

IBM i Technology Updates : Tracking Important System Limits

1 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

You are in: IBM i Technology Updates > IBM i Technology Updates > DB2 for i - Technology Updates > DB2 for i - Services >
Tracking Important System Limits

Tracking Important System Limits


| Updated 10/5/14 by ScottForstie | Tags: None

Disclaimer:
The description of the content below is being made available to you at time of announcement.
However, these functions are not available for use and supported until the DB2 PTF Group has been released.

Note: Phase 3 is coming with DB2 PTF Group SF99702 (7.2 only) Level 3.
Read about it below.

A new type of health indicator is available to help you understand when the system is trending
towards an outage or serious condition.
Automatic tracking of System Limits enables you to:
Understand when an application is trending towards a failure
Gain insight regarding application or system outages
Identify applications which are operating inefficiently
Establish a general use mechanism for communicating limit information
Automatic tracking of important system limits is a new health touchpoint on IBM i. The system
instrumentation for automated tracking will focus on a subset of system limits. As those limits are
consumed, tracking information is registered in a DB2 for i system table called
QSYS2/SYSLIMTBL A view named QSYS2/SYSLIMITS is built over the SYSLIMTBL physical file
and provides a wealth of contextual information regarding the rows in the table.
See these articles for more detail:
OnDemand Tracking of Important System Limits on IBM i
and
http://m.iprodeveloper.com/systems-management/gain-big-insights-db2-i-system-limitsphase-2
Phase 1 (delivered with TR6)

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

2 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

3 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

Phase 2 (delivered with TR7)

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

4 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

5 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

Example 1. Examine active job levels over time


-- How close am I coming to hitting the Maximum Active jobs limit?
SELECT SBS_NAME, SIZING_NAME, CURRENT_VALUE, MAXIMUM_VALUE , A.*
FROM QSYS2.SYSLIMITS A
WHERE LIMIT_ID = 19000
ORDER BY CURRENT_VALUE DESC
Figure 1. Example output from the QSYS2/SYSLIMITS view

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

6 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

7 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

QSYS2/SYSLIMITS view definition:

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

8 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

9 von 11

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

QSYS2/SYSLIMTBL table definition:


LAST_CHANGE_TIMESTAMP FOR COLUMN LASTCHG TIMESTAMP
The timestamp indicating when this row was inserted into the QSYS2/SYSLIMTBL table.
LIMIT_CATEGORY FOR COLUMN CATEGORY SMALLINT
The category of limit corresponding to this instance of System Limits detail.
This smallint value maps to the following:
0 - DATABASE
1 - JOURNAL
2 - SECURITY
3 - MISCELLANEOUS
4 - WORK MANAGEMENT
5 - FILE SYSTEM
6 - SAVE RESTORE
7 - CLUSTER
8 - COMMUNICATION
LIMIT_TYPE FOR COLUMN LIMTYPE SMALLINT
The type of limit corresponding to this instance of System Limits detail.
This smallint value maps to the following:
1 - OBJECT
2 - JOB
3 - SYSTEM
4 - ASP
LIMIT_ID INTEGER
The unique System Limits identifier. The limit identifier values are instrumented within the
QSYS2/SQL_SIZING table, within the SIZING_ID column.
SQL can be used to observe these values.
For example:
SELECT SIZING_ID, SUPPORTED_VALUE, SIZING_NAME, COMMENTS
FROM QSYS2.SQL_SIZING
ORDER BY SIZING_ID DESC
JOB_NAME VARCHAR(28)
The name of the job when the instance of System Limits detail was logged.
USER_NAME FOR COLUMN CURUSER VARCHAR(10)
The name of the user in effect when the instance of System Limits detail was logged.

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

CURRENT_VALUE FOR COLUMN CURVAL BIGINT


SYSTEM_SCHEMA_NAME FOR COLUMN SYS_NAME VARCHAR(10)
The library name for this instance of System Limits detail, otherwise this is set to NULL.
SYSTEM_OBJECT_NAME FOR COLUMN SYS_ONAME VARCHAR(30)
The object name for this instance of System Limits detail, otherwise this is set to NULL.
SYSTEM_TABLE_MEMBER FOR COLUMN SYS_MNAME VARCHAR(10)
The member name for an object limit specific to Database members, otherwise this is set to
NULL.
OBJECT_TYPE FOR COLUMN OBJTYPE VARCHAR(7)
This is the IBM i object type when an object name has been logged under the
SYSTEM_SCHEMA_NAME and SYSTEM_OBJECT_NAME columns
When no object name is specified, this column will be set to NULL.
ASP_NUMBER FOR COLUMN ASPNUM SMALLINT
Contains NULL or the ASP number related to this row of System Limits detail.
Phase 3 includes instrumentation for some IFS File Systems.
File systems instrumented for object limits:

10 von 11

root (/) file system


Open systems file system (QOpenSys)
Document library services file system (QDLS)
User-defined file systems (UDFSs)

27.11.2014 11:09

IBM i Technology Updates : Tracking Important System Limits

file:///U:/MAKE_IT/BASIS/Tracking Important System Limits.htm

See these articles for more detail:

http://iprodeveloper.com/systems-management/ondemand-trackingimportant-system-limits-ibm-i
http://iprodeveloper.com/systems-management/gain-big-insights-db2-isystem-limits-phase-2

Comments
There are no comments.

11 von 11

27.11.2014 11:09

You might also like