Advanced Insight in your SAP Systems
with the DBA CockpitSAP on System z Development
December, 2016Customer
Petra Bührer
(IBM R&D)
Julia Konstantinova
(SAP SE)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Customer
DBA Cockpit Improvements / Enhancements
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Customer
Component Check
Platform relevant components
installed are listed
In order to display information on
Kernel components an RFC connection
has to be maintained
L
via RFC
Landscape ToolsSAP Note 1535645
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Customer
Parameter Check
Comparison against SAP
Note
Number of and Maximum
deviations are listed
Possibility to navigate to
the detailed Installation
Parameter Check
Landscape ToolsSAP Note 1686871
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Customer
Database Performance WarehousePerformance Warehouse Reporting
Historization of platform specific
database metrics in SAP
Solution Manager BW
Visualization / analysis by
customizable BW based reports
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Customer
DBA Cockpit vs. Solution Manager
Metrics Provider and In-Depth Analysis Tool
DBA Cockpit remote database monitoring infrastructure
is used to collect and / or extract the data from the
remote databases
DBA Cockpit is the tool for in-depth problem analysis
(lock-waits, EXPLAIN, DB objects) and for carrying out
administrative tasks
DBA
Cockpit
LMDB
EF
WK
(P
ull
/ P
ush
) ACE
BW
MEA
Status
Alerting
DB Analysis
DB PFW
Changes
Exceptions
Reporting
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Customer
Real & Virtual Storage Monitoring (IFCID 225)
Improved Navigation
New “Storage” folder within the
Performance Section starting with DB2 10
(removed from Subsystem Activity drop
down)
SAP Note 1742815 / 1856935
© 2014 SAP AG or an SAP affiliate company. All rights reserved. 8
Workfile Monitoring
Increased Relevance due to
Unification of DGTTs and Workfiles (DB2 9)
Introduction of RID list overflow (DB2 10)
Provided information
Number and size of in-memory work files
Temporary storage used (4K and 32K)
Overflow events
Alert thresholds (DB2 11 only)
DGTT information (DB2 11 only)
SAP Note 1856935
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Customer
EDM Pool is a new action within
PerformanceStorage:
Another action, which is moved out of the
Subsystem Activity dropdown box
Counters are grouped into sections
Enhanced with additional counters
EDM Pool
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Customer
New Start Panel
DB2 Subsystem Summary providing
a high-level System Overview
Information is divided into 5 sections:
DB2 Resources
Hardware Resources
Global Times
DB Alerts
Top 5 SQL Statements
Helpful for unexperienced users as well!
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Customer
J2EE AccountingRetrieval of JDBC Client Information similar to ABAP
Long-lasting NW Requirement to provide Workload Characteristics to the DB Interface Layer
Additional Information now Available:
SAP NW 7.02 / 7.03 (Java 1.4)
CLIENT_ACCTNG Java Thread Name
SAP NW 7.30 / 7.31 (SAP JVM 6.0)
CLIENT_USERID J2EE End User
CLIENT_ACCTNG Java Thread Name + Thread ID+Pid+Hostname (similar to ABAP)
CLIENT_APPLNAME J2EE Application
CLIENT_USERID J2EE End User
SAP NW 7.10 / 7.11 on Request
Limited to Information available with Java 1.4
Useful for
WLM Policies
Monitoring (Thread Activity, Timeouts, Deadlocks …)
SAP Note 1824248
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Customer
J2EE AccountingWhere to find the Information
SAPGUI (Thread Activity)
-DIS THD(*)
SAP Note 1824248
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Customer
Statement Cache
New Filter Options
Rearranged, more
meaningful order of the
overview table
New summary detail tab
SAP Note 1294837 / 1505345 / 1585160
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Customer
Accelerator System Statistics History (Q8ST)SAP Note 2159745
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Customer
Accelerator System Statistics (Current) SnapshotSAP Note 2159745
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16Customer
Global Times
Based on new IFCID 369
Available for DB2 10 with UK81047
Aggregated by DB2
No sampling holes
Hierarchical snapshot display
Customizable history
Alert Router
starts trace
collects snapshots and calculates deltas
writes snapshot into database table
configurable interval
Consumed while executing in DB2
SAP Note 1738180 / 1864511
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17Customer
Installation Parameters
Unified display and Check of DB2 Installation Parameters (ZPARMS)
Automatic download of SAP recommendations via SAP note
Customer view
Possibility to define
own check values
ADMIN_INFO_SYSPARM
SAP Note 1366678
DB2 9 - 1473986
DB2 10 - 1476146
DB2 11 - 1863848 /1863849
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 18Customer
(Group-/) BufferpoolsSAP Note 1366678
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19Customer
Goal: Detect general network problems
Available with DB2 Connect 9.7 FP3a
->formerly only Fat Client
Approach
DBSL collects at commit time
Aggregation of 5 minute
intervals per work process
Metrics
Server time
Total round trip elapsed time
(network send/receive time + database processing time)
Number of bytes sent to/received from the database server
Number of DRDA* round trips
Appl.
Server 1
DB-
Server
Appl.
Server 2
Appl.
Server 3Client3
Client2
Client1
05:
10:
15:
…
COMMIT
DBSL
DBSL
DBSL
COMMIT
COMMIT
NE
TW
OR
K
DB2 Network StatisticsSAP Note 1508357
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20Customer
DB2 Network StatisticsSAP Note 1508357
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 21Customer
Mechanism / Sample setup with the Exploitation
of the OMEGAMON DB2 Performance Database
Accounting Data is periodically collected and stored in DB2
tables
Daily Load
Batch CRD
In order to provide a generic solution a DB2 VIEW has been
defined that can be implemented by the respective vendor
DBA Cockpit selects the data through that view in order to
display the relevant information seamlessly in the DBA
Cockpit
OMEGAMON DB2 V520 APAR PI23326
SAP Note 1995032
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22Customer
DB2 Accounting Data Overview
Possibility to filter by
Time Range
Enduser
Transaction
Program
Possibility to directly navigate
to the Extended Insight Analysis
Dashboard!
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 23Customer
DB2 Accounting Data Details
First Detail Panel providing a structured
display of all the different counters
Enhanced with an overview providing
information on the time distribution
Extensible to pull in more detailed
information at a later stage
(BP data, package data, ...)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24Customer
Display object size, object growth
and object definition
Alerts for objects approaching
DB2 limits
KPIs for fastest growing and
largest objects
Data collection via Alert Router
Remote monitoring now
supported
Space (DB02) SAP Note 1265717
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 25Customer
SMS Data in DB02
New tab has been added to the DB02
Overview: ‘Disk Space‘
Information is received via Stoproc
ADMIN_INFO_SMS (DB2 10)
New alert icon in the status section, and
as well alerting within SolutionManager
Two views are provided
– History for the DSN$DDFD6M0$DB and
DSN$DDFD6M0$LG Copypools
– Current Snapshot with the possibility to
filter for specific Copy Pools, Stogroups
and Volumes
SAP Note 1883986
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26Customer
IDAA Integrated in Explain
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27Customer
Catalog Browser to Display Accelerator Tables
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 28Customer
Exploit information generated
by the IDAA Studio (with PTF6)
Data Distribution within IDAA in order to detect SkewSAP Note 2174647
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 29Customer
Combined view for system level
(BACKUP SYSTEM) and object level
(COPY) backups
Filter for „objects without backups“
Display object level backup
recommendations and backup
history
Backup MonitorSAP Note 1417621
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30Customer
Long LRSNs and Improved Backup System Support
10 Byte LRSN support in Backup
Monitor
Information about physical copy status
in BACKUP SYSTEM history taken
from HSM via new DB2 SP
ADMIN_COMMAND_MVS
SAP Note 1871142
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 31Customer
Failover Configuration Tool
Assists in the migration of a failover
configuration environment
Supports
connect.ini
db2dsdriver.cfg
config.xml
See also updated SCN Article “Setup of New DB2
Data-Sharing Failover Solution with the SAP
Failover Configuration Tool”
Related SAP Note 1522391 and 2011054
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32Customer
Sysplex Monitor ConfigurationSAP Note 1236078
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 33Customer
DB2 Accounting Data Configuration
Possibility to configure
a connection to the PDB (which can be
located in a different subsystem)
the parameters needed to launch the
Extended Insight Analysis Dashboard from
within the DBA Cockpit
SAP Note 1995032
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 34Customer
Possibility to
import the collector settings
of the remote system
display the active DB2
Traces within this action
directly start the necessary
DB2 Traces from the ABAP
system within this action
SAP Collector SettingsSAP Note 1736433
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 35Customer
SAP Collector Profile
Possibility to configure and monitor your
data collection settings
Enable e.g. Space Collection
Define Collections Intervals and
Retention Times
SAP Note 1377823 / 1736433
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 36Customer
Exception Handling
for Recommendations
COPY, RUNSTATS, REORG
Tablespaces and Indexes were
improved with exclude list
management features:
„Selection Criteria“ Box: displays
the result set and the number of
objects to be processed
„Excluded“ Column: offers an
option to exclude multiple objects
at one time
„Edit Exception“ Button: provides
maintenance of exclusion list.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 37Customer
Exception Handling for Table, Idexes & Tablespaces
Exclusion handling features are
also embedded into the detail
screens of „Tables“, „Idexes“
and „Tablespaces“.
Now it is possible to maintain
exclusion options for any
selected object.
Related SAP Note 2018195.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 38Customer
Job LogAllowed REORG +
Conversion?
Contains LOBs /
VARCHAR(1)?
Technical
Restrictions?
Select conversion type:
- „Inline LOB“ (V10+)
- „Fixed Length“ (7.31/7.03)
Start: immediately or time, interval
(optional)
Optional: Adjust amount of objects
Optional: Specify object name(s)
using wild cards
Conversion ToolUpdate Recommendations Job
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 39Customer
Conversion ToolConversion Viewer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 40Customer
Execute Recommendations
Runs collateral conversions if any
(e.g. Page Size, Space Type, Row Format)
Performs main conversion (e.g. Inline LOB)
Conducts REORGs, multiple if needed
Empties recommendation table
(DB2CONVTOOL)
Job Log
Page
SizeInline
LOB
Fixed Length
REORG
or
Conversion ToolExecute Recommendations Job
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 41Customer
Conversion Tool
Offers new conversion types:
BRF RRF Format Conversion
(DB2 9)
6 to 10 Byte RBA/LRSN Conversion
(DB2 11)
See also updated SCN Article
“User Guide for SAP DB2
Conversion Tool”
Related SAP Note 1936517
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 42Customer
DBA Log
Redesigned and improved with
new filter options:
Time Frame Filter: Offers time
granularity units
Job Action Filter: Search for specific
DB2 actions is now easier and user-
friendly
All actions are displayed without
manual configuration
Related SAP Note 1886396
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 43Customer
Improved navigation
Improved TSO Password handling
and verification
‘Update now’ for utility skeletons
Job ProfileSAP Note 1492955
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 44Customer
JOB ControlSAP Note 1516735
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 45Customer
Viewer for DB2 Table Profiles
Displays the content of SYSIBM.SYSTABLES_PROFILES
Automatically inserted
by DB13 RUNSTATS
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 46Customer
DB2 Utility Status
Possibility to
View the actual status
Terminate specific utilities
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 47Customer
DB Alerts
The DB Alert section in the DBA Cockpit has been redesigned and improved in terms of Unification,
Ease of Use and Details Display
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 48Customer
Graphical tree view
Uses SAP Web Dynpro technology
Displays additional access path information
Predicate filter factors
Cost estimates
Rewritten query
Sort and parallelism information
…
EXPLAIN (New Version)SAP Note 1377691
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 49Customer
Service SQL within Explain
Automated mechanism to create support data
in the correct format in order to provide it
to the IBM customer support
Massive time savings, especially when teams
and customers from different time zones
are involved
No manual work as e.g. collecting data,
submitting JCL jobs, transforming the result
into the right format…
Not as error prone as before
One-click Solution!
SAP Note 2067023
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 50Customer
BIND QUERY integrated into DBA Cockpit Explain
Several possibilities to influence the access path for matching SQL statements
DB2 10
Specifying statement-level optimization parameters
Specifying statement level access paths
DB2 11
Overriding the selectivity of predicates
Specifying statement-level optimization parameters
Specifying statement level access paths
SYSPROC.ADMIN_COMMAND_DSN to submit the BIND QUERY command
SAP Note 2203370
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 51Customer
Use of CTE Hints in Conjunction with BIND QUERY
Possibility to add a CTE Hint in order
to influence the access path and
freeze it, as soon as you achieve
the desired access path
SAP Note 2203370
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 52Customer
Maintained Access Paths
Possibility to display all the
frozen Access Paths
with the option to release
them again (FREE Query)
SAP Note 2203370
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 53Customer
Catalog Browser Improvements
Persistent Statement History
Possibility to…
Save statements
Load statements
Delete Statements
Enables to use saved statements
for your whole landscape!
Usability improvements
increased display length of the history
statements
History retains statement formatting
(newlines, indentations…)
Load / Save / Delete Query
SAP Note 1770334 / 1932900
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 54Customer
Completely new requirements due to increased complexity
So far, views did not play an important role in the SAP context no monitoring available
For CDS views are essential
crucial to have a possibility to monitor CDS statements, which means the views / functions,
especially with regards to their dependencies
So far, static SQL was not common in the SAP context no monitoring available
With ZDO it changed (~thousands of procedures & triggers for ZDO)
Two detail views to provide information about them, their create statements, and their dependencies…
With CDS it changed (new need to monitor the CDS functions)
Core Data Services (CDS) & Zero Downtime Optimization (ZDO)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 55Customer
Dependency Browser
Possibility to browse the dependencies of
Views
Table Functions
Scalar Functions
Tables
Procedures
Global Variables
Triggers
Two detail views
Get detail information on the selected object
Display the create statement of the selected object
Structured display of the dependencies
of all the dependent object
Possibility to look for dependencies
up and downwards
SAP Note 2153827
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 56Customer
Dependency Browser
Possibility to select any of
the displayed objects in order to
get some detail information!
SAP Note 2153827
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 57Customer
Detail Information on the various Objects
Information is retrieved
from the corresponding
catalog tables!
SAP Note 2153827
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 58Customer
Trigger MonitoringSAP Note 2153827
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 59Customer
Sysplex Monitor
A piece of OS Monitoring
integrated into the DBA Cockpit
SAP Note 1308393 / 1236078
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 60Customer
truncated information on the Message Texts (due to the 128 characters limitation of ALV
displays) in the overview display
detail viewer to provide the whole Message Text (can be accessed by clicking on of the
links in the overview table)
DB2 Message LogSAP Note 1327401 / 1678244
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 61Customer
Based on
ADMIN_INFO_SYSLOG
Display without any
additional configuration
Providing following
filter options:
Timeframe
LPAR
Number of entries
Search String
Detail View supporting
Multi-line-Messages
SYSLOG ViewerSAP Note 2153827
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 63Customer
Requirements for DBA Cockpit with DB2 12
Minimum Requirements for
Toleration of DB2 12:
SAP Support Package Requirements have
been aligned to the DB2 11 Requirements –
if your system is ready for DB2 11, it works
with DB2 12 as well
SAPCL 721 Patch Level 11 or higher
Recommended Requirements to be met in
order to provide Full Support for DB2 12:
See SAP Note 2302525 - DB2-z/OS:v12:CCMS:
DBA Cockpit with DB2 12
Provides an overview about the changed areas
Lists the ABAP support package levels for SAP
and SAPCL
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 64Customer
DB2 12 Readiness Check
Run Report DB2_V12_CHECK in order to check if
prerequesites are met.
Also available as correction instruction
See SAP Note 2355075
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 65Customer
Installation Parameters with DB2 12
Installation Parameters has been enabled for DB2 12
New SAP Note 2239553
has been made available
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 66Customer
Statement Cache Enhancements
See SAP Note 2267378
New Wait time counters for
L-locks and P-locks are helpful for
monitoring the workload on DB2
Data Sharing
Avg wait time for pipe wait
(INSERTS) concerns the monitoring
of new SQL INSERT algorithm in
DB2 12
Avg wait time for parallel queries
to sync parent/child tasks
provides better monitoring for query
parallelism
This is helpful for CDS
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 67Customer
New TS Type PBR RPN & Lift Partition Limits (1)
New TS Type PBR RPN now supported
In that context – DSSIZE on partition level
See SAP Note 2239553
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 68Customer
New TS Type PBR RPN & Lift Partition Limits (2)
Dependent on a new TS type
adjusted limit calculations within
DB02 KPIs
TS Limits
Partition Limits
Index Limits
In correlation to new TS type
support of extended RID
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 69Customer
Virtual and Real Storage
IFCID 225 was
enriched with some
new counters within
the DB2 12. The
following metrics
appear on the Virtual
and Real Storage
monitor:
Real storage in use
for 64-bit (KB) (2G
frames) for DBM1 and
DIST
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 70Customer
EXPLAIN Table Changes
So far: Explain Table Maintenance performed directly by DBA Cockpit
Table layout etc. delivered via SAP SPs
Check and adaption done automatically
Now: Explain Table maintenance performed via Stored Procedure ADMIN_EXPLAIN_MAINT
DBA Cockpit now simply calls ADMIN_EXPLAIN_MAINT (effective for DB2 11 as well)
See SAP Note 2266420
Benefits:
Explain table layout always current (independent of SAP maintenance level)
Robust against DB2 intra-release changes
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 71Customer
Planning Calendar (DB 13) and Space Monitor (DB02)
Enabled DB12 features within Planning Calendar:
New keyword for RUNSTATS: Invalidatecache YES/ NO (SAP Note 2261867)
New mapping table format for REORG (SAP Note 2251508 )
Automated RUNSTATS PROFILE via SYSSTATFEEDBACK (SAP Note 2306718)
Stored procedure DSANCCOX was enriched with new result set fields (SAP Note 2345842)
Enabled DB12 features within the Space Monitor:
Lift partition limits for UTS PBR RPN (SAP Note 2265560)
New limit calculations (SAP Note 2284249)