This technical white paper discusses using SQL performance reports to understand stored procedure characteristics in DB2. The paper explains how to identify if a stored procedure is running externally or internally using the program type and stored procedure address space details. It also shows how to determine what program or plan is calling the stored procedure using the plan drilldown. The paper emphasizes the importance of understanding where stored procedures are executing from and the application environment, for effective performance tuning.
http://rational-tools.info
The CMC-Visualizer for Team Concert module is developed for user-friendly provision of data about change requests stored in IBM Rational TeamConcert. The CMC-Visualizer for Team Concert features include the visualization of the tree of request states, display of the requests hierarchy as a Gantt chart, and generation of reports on change requests in PDF format.
The report examines factors such as age, gender, education, job satisfaction, salary and bonus, certification, background, and other characteristics. Gain insights on demographics, compensation, and BPM certification.
Establishing a Business Process Management Center of Excellence - Impact 2012Prolifics
Speakers: Benny Higdon, Prolifics; Howard Webb, Prolifics
Description: Introducing a new technology in to an enterprise may be fraught with problems. The same is true for Business Process Management (BPM), which are both a technology and a methodology. Establishing a properly staffed and empowered Center of Excellence (CoE) can improve your chances of success. Learn the considerations for setting up a BPM CoE in your organization.
Fundamentals of Business Process Management: A Quick Introduction to Value-Dr...Marlon Dumas
Marlon Dumas of University of Tartu gives an introduction and quick tour of the business process management lifecycle. Seminar given at the Estonian BPM Roundtable, 10 October 2013.
http://rational-tools.info
The CMC-Visualizer for Team Concert module is developed for user-friendly provision of data about change requests stored in IBM Rational TeamConcert. The CMC-Visualizer for Team Concert features include the visualization of the tree of request states, display of the requests hierarchy as a Gantt chart, and generation of reports on change requests in PDF format.
The report examines factors such as age, gender, education, job satisfaction, salary and bonus, certification, background, and other characteristics. Gain insights on demographics, compensation, and BPM certification.
Establishing a Business Process Management Center of Excellence - Impact 2012Prolifics
Speakers: Benny Higdon, Prolifics; Howard Webb, Prolifics
Description: Introducing a new technology in to an enterprise may be fraught with problems. The same is true for Business Process Management (BPM), which are both a technology and a methodology. Establishing a properly staffed and empowered Center of Excellence (CoE) can improve your chances of success. Learn the considerations for setting up a BPM CoE in your organization.
Fundamentals of Business Process Management: A Quick Introduction to Value-Dr...Marlon Dumas
Marlon Dumas of University of Tartu gives an introduction and quick tour of the business process management lifecycle. Seminar given at the Estonian BPM Roundtable, 10 October 2013.
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...Informatik Aktuell
Die DB2 In-Memory-Technologie (BLU Acceleration) beschleunigt analytische Abfragen um ein Vielfaches. Dies gilt sowohl für OLAP als auch für Analysen in einer OLTP-Umgebung. Durch die Integration in den DB2-Kernel ab Version 10.5 sind bestehende Datenbanksysteme bereits für die In-Memory Nutzung vorbereitet. Dadurch ist eine flexible und schnelle Umsetzung gewährleistet.
Detailed comparison of two common legacy databases - HP's SQL/MP running on the NonStop Guardian environment and IBM's DB2 running on its z/OS platform, comparing a range of functionalities.
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...Daniel Zivkovic
Two #ModernDataStack talks and one DevOps talk: https://youtu.be/4R--iLnjCmU
1. "From Data-driven Business to Business-driven Data: Hands-on #DataModelling exercise" by Jacob Frackson of Montreal Analytics
2. "Trends in the #DataEngineering Consulting Landscape" by Nadji Bessa of Infostrux Solutions
3. "Building Secure #Serverless Delivery Pipelines on #GCP" by Ugo Udokporo of Google Cloud Canada
We ran out of time for the 4th presenter, so the event will CONTINUE in March... stay tuned! Compliments of #ServerlessTO.
IBM Start Now Collaboration - Information Delivery and TrackingLeonardo Sepulcri
This scenario illustrates how a company can deliver information such as instructional modules,
new product information, and policy training to its employees and how it can track the
completion status of the materials by the audience. The online information delivery and learning
environment allows employees to view information in a self-study mode and also allows them to
collaborate with the instructor and with each other during and between sessions.
IT admins can spend considerable time managing employee notebooks. The Dell Client Integration Pack 3.1 for Microsoft System Center Configuration Manager 2012 can greatly streamline the management process and allow admins to remotely perform management tasks under a much broader range of conditions.
In our labs at Principled Technologies, we performed a series of remote management tasks on Dell Latitude 7240 notebooks managed with DCIP and on Lenovo ThinkPad notebooks managed only through SCCM. Executing these tasks on a single system with DCIP was quicker and simpler than doing so with only SCCM. The time savings was even more pronounced when we performed the scenarios on two systems because DCIP lets you apply the same changes to multiple systems without taking any additional time. For an organization with large numbers of notebook systems, the economies of scale that DCIP provides would translate to the greatest savings.
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...Informatik Aktuell
Die DB2 In-Memory-Technologie (BLU Acceleration) beschleunigt analytische Abfragen um ein Vielfaches. Dies gilt sowohl für OLAP als auch für Analysen in einer OLTP-Umgebung. Durch die Integration in den DB2-Kernel ab Version 10.5 sind bestehende Datenbanksysteme bereits für die In-Memory Nutzung vorbereitet. Dadurch ist eine flexible und schnelle Umsetzung gewährleistet.
Detailed comparison of two common legacy databases - HP's SQL/MP running on the NonStop Guardian environment and IBM's DB2 running on its z/OS platform, comparing a range of functionalities.
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...Daniel Zivkovic
Two #ModernDataStack talks and one DevOps talk: https://youtu.be/4R--iLnjCmU
1. "From Data-driven Business to Business-driven Data: Hands-on #DataModelling exercise" by Jacob Frackson of Montreal Analytics
2. "Trends in the #DataEngineering Consulting Landscape" by Nadji Bessa of Infostrux Solutions
3. "Building Secure #Serverless Delivery Pipelines on #GCP" by Ugo Udokporo of Google Cloud Canada
We ran out of time for the 4th presenter, so the event will CONTINUE in March... stay tuned! Compliments of #ServerlessTO.
IBM Start Now Collaboration - Information Delivery and TrackingLeonardo Sepulcri
This scenario illustrates how a company can deliver information such as instructional modules,
new product information, and policy training to its employees and how it can track the
completion status of the materials by the audience. The online information delivery and learning
environment allows employees to view information in a self-study mode and also allows them to
collaborate with the instructor and with each other during and between sessions.
IT admins can spend considerable time managing employee notebooks. The Dell Client Integration Pack 3.1 for Microsoft System Center Configuration Manager 2012 can greatly streamline the management process and allow admins to remotely perform management tasks under a much broader range of conditions.
In our labs at Principled Technologies, we performed a series of remote management tasks on Dell Latitude 7240 notebooks managed with DCIP and on Lenovo ThinkPad notebooks managed only through SCCM. Executing these tasks on a single system with DCIP was quicker and simpler than doing so with only SCCM. The time savings was even more pronounced when we performed the scenarios on two systems because DCIP lets you apply the same changes to multiple systems without taking any additional time. For an organization with large numbers of notebook systems, the economies of scale that DCIP provides would translate to the greatest savings.
2. Introduction
Stored Procedures, User Defined Functions and Triggers, collectively called “routines”, have been an integral
part of the programming inventory for some time. Depending upon your Application Programming Architecture
some routines, such as WLM-Managed External Stored Procedures, will run outside of DB2. Others, notably
Native SQL Stored Procedures and triggers, execute within a DB2 managed address space and as a result you
have more control over how they perform. Tuning such internal routines is often very similar to tuning any other
packages or SQLs but there are some significant differences too. For instance Non-SQL CPU used by a WLM
Managed Cobol Stored Procedure which does a lot of CPU Intensive work using a complex business Algorithm is
charged to the Allied Address Space (AS), whereas a native SQL procedure with the same complexity increases
the CPU usage of the DBM1 AS. Both behaviors require different measuring and tuning techniques. During this
discussion we’ll focus how to use Apptune for DB2 reports to understand where the Stored Procedures (SPs)
are executing externally or internally with respect to DB2. We will then show how to tell what program or plan is
calling the stored procedure.
Is it External or Native Stored Procedure?
Before drilling down into any SP in an APPTUNE for DB2 online report, it’s a good idea to identify whether the
procedure is executing as an External SP or Native SQL SP. The “Pgm Type” column value STPR means Stored
Procedure in the reports as you can see in the example below.
Drilling down using the Details option (T) of the Program Analysis you will see the “SQL STATEMENT DETAIL
ANALYSIS” screen. At the bottom of this there is a section called “Stored Procedure/WLM Address Space”. If you
can see values other than zero in “Elapsed Time” or “Total SQL operations”, then this tells you that you’re looking
at an External Stored Procedure.
1
3. For instance in the example above the GET_DAILY_TOTAL_CUST_GROUP (the name has been truncated
to GET_DA>>) procedure is an WLM Managed External Stored Procedure, whereas the screen shot below
is from another procedure’s detail and the values circled in red here indicate that this is a Native SQL SP
Sometimes it is important to know from where a procedure is CALLed or invoked. For instance a SP can be called
from Distributed Environment through DDF, from a Batch job, or from an online CICS or IMS/TM program using
Cobol. From a tuning perspective it’s important to know the caller’s application environment. For instance if we
use the ( P ) Plan drilldown of the first SP whose name is GET_DA>>, we see a PLAN named POINET as follows.
This tells us that the Procedure is NOT being called from a standard Distributed Environment because if it was the
plan name would be DISTSERV.
2
4. It is also important to distinguish the type of incoming transactions. For instance what is the percentage
of incoming workload from Distributed compared to Batch/CICS/IMS? Knowing this percentage helps you
to focus on which section of the DB2 Subsystem needs more tuning. The following secreen shot is a PLAN
ANALYSIS report of 2-way datasharing group. As you’ll see from one hour consolidated report more than
90% of the work this group is processing are Distributed Transactions coming from DDF.
3
5. About the Author
IBM Champion Cuneyt Goksu is an independent DB2 specialist and IBM Gold Consultant
since 2009. His main activity is linked to DB2 for z/OS and LUW Installation, Migration,
Administration and Performance Tuning. He has presented papers at several conferences,
local events and writing articles for IT magazines. Cuneyt is currently a member IDUG Board
of Directors, he is the leader of Turkish DB2 Users Group and IBM Authorized DB2 Training
Partner. Cuneyt can be reached at cuneytgoksu@usa.net
4