This document discusses using analytics to manage and predict performance issues with DB2 applications. It begins with discussing the challenges DBAs face in maintaining optimal DB2 performance as applications increase in complexity. The solution presented is CA Performance Analytics for DB2, which uses existing performance data from CA Detector to create baselines and monitor for deviations that could indicate upcoming problems. It analyzes trends to provide early warnings. Use cases demonstrate how it can monitor key applications and service levels, provide event details to troubleshoot issues, and help re-establish baselines when application changes occur. The goal is proactive monitoring to avoid problems before they impact users.
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Predicting When Your Applications Will Go Off the Rails! Managing DB2 Application Performance Using Analytics.
1. Predicting When Your Applications
Will Go Off the Rails!
Managing DB2 Application Performance
Using Analytics.
Dhananjay Joshi
Mainframe
CA Technologies
Sr. Principal Product Manager, Data Management
MFT05S
@zBigIron
#CAWorld
18. Dashboard identifying Events for Service Levels at risk for critical business applications
CA Performance Analytics for DB2
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
19. DBA sets up early warning for Service Levels at risk for key applications
Create group configuration
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
CA Performance Analytics for DB2
20. Define key applications and thresholds
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
DBA sets up early warning for Service Levels at risk for key applications
CA Performance Analytics for DB2
21. DBA wants notification for significant, slow or sudden changes
Baseline training and thresholds
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
CA Performance Analytics for DB2
22. Performance DBA wants warning for Service Levels at risk for key applications
Display recent events
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
CA Performance Analytics for DB2
23. Drill down on event details
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
CA Performance Analytics for DB2
Performance DBA wants warning for Service Levels at risk for key applications
24. Displays application performance over time and identifies offending application
Setup
• DBA built and baselined
group(s)
• PAD monitors SQL activity
over time
• PAD alerts DBA of
performance changes
Possible Causes
• Pattern of inserts to DB
• Contention for resources
etc.
Corrective Action
• Reorg
• Runstats
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement, etc.)
CA Performance Analytics for DB2
Performance DBA wants warning for Service Levels at risk for key applications
25. CA Performance Analytics for DB2
To get visual, early warning of where most significant resource increases are coming from
Instantly see
• Baseline metrics
• Greatest changes
• Thresholds
crossed
• Normal behavior
• Actual values
• “Smoothed”
values
Applications sorted by change to resource usage
26. Reviewing how an application has performed historically. Application developer making a change
wants to consider possible impact of changes made to know if it hurt or helped performance
Setup
• DBA shows application
history over time
Possible Causes
• Application developer
changes
Corrective Action (if
necessary)
• Tune SQL and/or
• Tune DB (e.g., indexes,
tablespace placement,
etc.)
CA Performance Analytics for DB2
28. “The world has changed”. DBA knows that company made major change(s) and wants to
reestablish baselines
Setup
• DBA believes all, or some,
existing baselines are
obsolete
Possible Causes
• New release of DB2 or
DB2 tools,
• New hardware,
• etc.
Corrective Action
• Edit groups to specify
new baseline start date
Re-baseline with new start date
CA Performance Analytics for DB2