2015 sap se or an sap affiliate company. all rights reserved
TRANSCRIPT
Advanced Insight in your SAP Systems
with the DBA CockpitSAP on z Systems Development
October 2015Customer
Petra Bührer
(IBM)
Julia Konstantinova
(SAP SE)
DBA Cockpit Improvements / Enhancements
…provided in recent years
SAP Note xxxxxxx
>7.00 Refers to the SAP NetWeaver Basis Release
Refers to DB2 Version (e.g. monitor supports DB2 10 and higher)
Refers to the SAP Note xxxxxxx which contains further information
IBM DB2 Analytics Accelerator will be referred to as DB2 Accelerator
Customer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Customer
DBA Cockpit Improvements / Enhancements
New / Redesigned
Improved / Enhanced
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Customer
Database Performance WarehousePerformance Warehouse Reporting
History 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. 7Customer
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. 8Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Customer
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
>7.00
9Customer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Customer
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 SAP Note 2050608 / 2172853
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Customer
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!
SAP Note 1896293
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Customer
J2EE AccountingRetrieval of JDBC Client Information similar to ABAP
Long-lasting NetWeaver 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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Customer
J2EE AccountingWhere to find the Information
SAPGUI (Thread Activity)
-DIS THD(*)
SAP Note 1824248
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Customer
Statement Cache
New filter options
Rearranged, more
meaningful order of
columns in the overview
table
New summary detail tab
SAP Note 1294837 / 1505345 / 1585160
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Customer
Accelerator System Statistics History (Q8ST)SAP Note 2159745
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16Customer
Accelerator System Statistics (Current) SnapshotSAP Note 2159745
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 18Customer
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 / 1686871
DB2 9 - 1473986
DB2 10 - 1476146
DB2 11 - 1863848 /1863849
>7.00
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19Customer
Groupbufferpools, BufferpoolsSAP Note 1366678
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 21Customer
DB2 Network StatisticsSAP Note 1508357
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 23Customer
DB2 Accounting Data Overview
Possibility to filter by
Time Range
Enduser
Transaction
Program
Possibility to directly navigate
to the Extended Insight Analysis
Dashboard!
SCN Article “Leveraging DB2 for
z/OS Accounting Data within the
SAP DBA Cockpit”
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24Customer
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, ...)
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 25Customer
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. 26Customer
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
>7.02
Customer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27Customer
Exploit information generated
by Data Studio (with PTF6)
Data Distribution within the DB2 Accelerator
in order to detect Skew SAP Note 2174647
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 28Customer
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 / 1871142
>7.00
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 29Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30Customer
Failover Configuration Tool
Assists in the migration of a failover
configuration environment
Supports
connect.ini
db2dsdriver.cfg
config.xml
SCN Article “Setup of New DB2 Data-Sharing
Failover Solution with the SAP Failover
Configuration Tool”
SAP Note 1522391
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 31Customer
Sysplex Monitor ConfigurationSAP Note 1236078
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32Customer
DB2 Accounting Data Configuration
Possibility to configure
a connection to the PDB (which can be
located in a different subsystem)
the parameters to launch the Extended
Insight Analysis Dashboard from within
the DBA Cockpit
SAP Note 1995032
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 33Customer
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
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 34Customer
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>7.00
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 35Customer
Exception Handling
for Recommendations
COPY, RUNSTATS, REORG
Tablespaces and Indexes
improved with exclude list
management features:
“Selection Criteria” 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“ provides maintenance
options for the exclusion list
SAP Note 2018195
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 36Customer
Exception Handling for Table, Indexes & Tablespaces
Exclusion handling features
embedded into the detail screens of
”Tables“, “Indexes“ and
“Tablespaces“ (within DB02) as well
Now it is possible to maintain
exclusions for any monitored object
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 37Customer
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 SAP Note 1529521
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 38Customer
Conversion ToolConversion Viewer SAP Note 1529521
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 39Customer
Execute Recommendations
Runs collateral conversions if there are any
(e.g. Page Size, Space Type, Row Format)
Performs main conversion (e.g. Inline LOB)
Conducts REORGs, multiple times if needed
Empties recommendation table
(DB2CONVTOOL)
Job Log
Page
SizeInline
LOB
Fixed Length
REORG
or
Conversion ToolExecute Recommendations Job SAP Note 1529521
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 40Customer
Conversion Tool
Offers new conversion types:
BRF RRF Format Conversion
(DB2 9)
6 to 10 Byte RBA/LRSN Conversion
(DB2 11)
SCN Article “User Guide for SAP DB2
Conversion Tool”
SAP Note 1936517
>7.00
40Customer
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 41Customer
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!
SAP Note 1886396
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 42Customer
Improved navigation
Improved TSO Password handling
and verification
‘Update now’ for utility skeletons
Job ProfileSAP Note 1492955
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 43Customer
JOB ControlSAP Note 1516735
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 44Customer
Viewer for DB2 Table Profiles
Displays the content of SYSIBM.SYSTABLES_PROFILES
Automatically inserted
by DB13 RUNSTATS
SAP Note 1845600
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 45Customer
DB2 Utility Status
Possibility to
View the actual status
Terminate specific utilities
SAP Note 2172650
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 46Customer
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
SAP Note 1837135
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 47Customer
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
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 48Customer
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…
Much less error prone than before
One-click Solution!
SAP Note 2067023
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 49Customer
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. 50Customer
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. 51Customer
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. 52Customer
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
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 53Customer
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 this changed (~thousands of procedures & triggers for ZDO)
Two detail views to provide information about them, their create statements, and their dependencies…
With CDS this 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. 54Customer
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
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 55Customer
Dependency Browser
Possibility to select any of
the displayed objects in order to
get some detail information!
SAP Note 2153827
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 56Customer
Detail Information on the various Objects
Information is retrieved
from the corresponding
catalog tables!
SAP Note 2153827
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 57Customer
Trigger MonitoringSAP Note 2153827
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 58Customer
Sysplex Monitor
A piece of OS Monitoring
integrated into the DBA Cockpit
SAP Note 1308393 / 1236078
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 59Customer
Message texts are truncated in the overview table (due to the 128 characters limitation of ALV displays)
Detail viewer to provide the complete message text (can be opened by clicking on one of the links in the overview table)
DB2 Message LogSAP Note 1327401 / 1678244
>7.00
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 60Customer
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 1720457
>7.02
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Thank you!Contact information:
Petra Bührer, IBM R&D
Julia Konstantinova, SAP SE
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 62Customer
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 63Customer
© 2015 SAP SE oder ein SAP-Konzernunternehmen.
Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche
Genehmigung durch SAP SE oder ein SAP-Konzernunternehmen nicht gestattet.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der
SAP SE (oder von einem SAP-Konzernunternehmen) in Deutschland und verschiedenen anderen Ländern weltweit.
Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://global.sap.com/corporate-de/legal/copyright/index.epx.
Die von SAP SE oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP SE oder einem SAP-Konzernunternehmen bereitgestellt und dienen ausschließlich zu Informationszwecken.
Die SAP SE oder ihre Konzernunternehmen übernehmen keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation.
Die SAP SE oder ein SAP-Konzernunternehmen steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen
Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
Insbesondere sind die SAP SE oder ihre Konzernunternehmen in keiner Weise verpflichtet, in dieser Publikation oder einer zugehörigen Präsentation dargestellte
Geschäftsabläufe zu verfolgen oder hierin wiedergegebene Funktionen zu entwickeln oder zu veröffentlichen. Diese Publikation oder eine zugehörige Präsentation,
die Strategie und etwaige künftige Entwicklungen, Produkte und/oder Plattformen der SAP SE oder ihrer Konzernunternehmen können von der SAP SE oder ihren
Konzernunternehmen jederzeit und ohne Angabe von Gründen unangekündigt geändert werden.
Die in dieser Publikation enthaltenen Informationen stellen keine Zusage, kein Versprechen und keine rechtliche Verpflichtung zur Lieferung von Material, Code oder
Funktionen dar. Sämtliche vorausschauenden Aussagen unterliegen unterschiedlichen Risiken und Unsicherheiten, durch die die tatsächlichen Ergebnisse von den
Erwartungen abweichen können. Die vorausschauenden Aussagen geben die Sicht zu dem Zeitpunkt wieder, zu dem sie getätigt wurden. Dem Leser wird empfohlen,
diesen Aussagen kein übertriebenes Vertrauen zu schenken und sich bei Kaufentscheidungen nicht auf sie zu stützen.