Westfield DB2 z/os System Management

Similar documents
System Z Performance & Capacity Management using TDSz and DB2 Analytics Accelerator: UnipolSai Customer Experience

Certkiller.P questions

Expert Stored Procedure Monitoring, Analysis and Tuning on System z

Performance 101 for DB2 for LUW

End to End Analysis on System z IBM Transaction Analysis Workbench for z/os. James Martin IBM Tools Product SME August 10, 2015

Cognos Dynamic Cubes

Infosys. Working on Application Slowness in Mainframe Infrastructure- Best Practices-Venkatesh Rajagopalan

DB2 Stored Procedures Monitoring, Analysis, and Tuning on System z

z/os Performance Monitoring Shootout ASG, BMC, CA and IBM

1. Which programming language is used in approximately 80 percent of legacy mainframe applications?

Workload Insights Without a Trace - Introducing DB2 z/os SQL tracking SOFTWARE ENGINEERING GMBH and SEGUS Inc. 1

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in

Stored Procedure Monitoring and Analysis

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Using electronic mail to automate DB2 z/os database copy requests. CMG - 28 e 29 maggio Milano, Roma

Build a system health check for Db2 using IBM Machine Learning for z/os

What it does not show is how to write the program to retrieve this data.

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

DB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach

The strategic advantage of OLAP and multidimensional analysis

Exploiting IT Log Analytics to Find and Fix Problems Before They Become Outages

Saving ETL Costs Through Data Virtualization Across The Enterprise

Splunking Your z/os Mainframe Introducing Syncsort Ironstream

Oracle PeopleSoft Applications for IBM z Systems

Two Success Stories - Optimised Real-Time Reporting with BI Apps

Where s the BiF?? Roy Boxwell, Senior Software Architect, Software Engineering GmbH SEGUS Inc and SOFTWARE ENGINEERING GMBH

COGNOS DYNAMIC CUBES: SET TO RETIRE TRANSFORMER? Update: Pros & Cons

Oracle Enterprise Manager 12c IBM DB2 Database Plug-in

PSR Testing of the EnterpriseOne Adapter for JD Edwards EnterpriseOne 8.12, OBIEE , DAC 7.9.6, and Informatica 8.6

SAS IT Resource Management Forecasting. Setup Specification Document. A SAS White Paper

Presentation Abstract

IBM C IBM z Systems Technical Support V6.

IBM DB2 Analytics Accelerator use cases

Agenda. Jim Oberholtzer Senior Technical Architect

Frequently Asked Questions on WebSphere Application Server z/os

The Modern Mainframe At the Heart of Your Business

IBM Application Performance Analyzer for z/os Version IBM Corporation

Deadlocks were detected. Deadlocks were detected in the DB2 interval statistics data.

IBM Education Assistance for z/os V2R2

Reducing MIPS Using InfoSphere Optim Query Workload Tuner TDZ-2755A. Lloyd Matthews, U.S. Senate

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:

Overview. Introduction to Data Warehousing and Business Intelligence. BI Is Important. What is Business Intelligence (BI)?

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Evolution of Database Systems

CICS insights from IT professionals revealed

IBM s Integrated Data Management Solutions for the DBA

IBM Tivoli OMEGAMON XE on z/os

Tcorem. Nate Murphy Sr VP Tcorem IBM Champion. Tridex June 5 th, 2017

Step-by-step data transformation

DB2 10 Capturing Tuning and Trending for SQL Workloads - a resource and cost saving approach. Roy Boxwell SOFTWARE ENGINEERING GmbH

DB2 Performance A Primer. Bill Arledge Principal Consultant CA Technologies Sept 14 th, 2011

Infor Lawson on IBM i 7.1 and IBM POWER7+

DESIGNING FOR PERFORMANCE SERIES. Smokin Fast Queries Query Optimization

Fit for Purpose Platform Positioning and Performance Architecture

IMS Performance - Getting The Most Out Of Your Monitoring Technology: Isolating And Solving Common Issues

SmartIS. What is SmartIS? Product Description

Ibm Db2 Query Monitor Z Os User's Guide

The New Enterprise Data Center Summit. Session: zmr - consolidation with an affordable mainframe Speaker: Sreenath Chary Date: 19 th Nov 2008

IBM Data Virtualization Manager in Detail + Demo Atlanta DB2 User Group Meeting December 7, 2018

DB2 for z/os Tools Overview & Strategy

Oracle 1Z Oracle Database 11g Performance Tuning.

BMC Day Israel. 21 st Century Data Management Technology Jim Dee, Corporate Architect, BMC June 7, Where IT goes Digital

HP NonStop Database Solution

ziip and zaap Software Update

Copyright 2018, Oracle and/or its affiliates. All rights reserved.

EView/390z Insight for Splunk v7.1

Pass IBM C Exam

Lori Vanourek Product Management SAP NetWeaver / BI. Mike Eacrett SAP NetWeaver RIG - BI

Monitoring & Tuning Azure SQL Database

Best Practices. Deploying Optim Performance Manager in large scale environments. IBM Optim Performance Manager Extended Edition V4.1.0.

Optimizing Database I/O

Disk Subsystem Capacity Management, Based on Business Drivers, I/O Performance Metrics and MASF. Igor Trubin, Ph.D. and Linwood Merritt

In-Memory Data Management Jens Krueger

Introduction to Federation Server

Oracle 1Z0-054 Exam Questions and Answers (PDF) Oracle 1Z0-054 Exam Questions 1Z0-054 BrainDumps

TRUE DATABASE VISIBILITY Meet your speakers Raymond Pe Sr Database Administrator Alliant Credit Union Ron Kozakowski Manager, Data Services Alliant Cr

Data Virtualization for the Enterprise

IBM Optim Performance Manager Extended Edition What s New. Ute Baumbach September 6, IBM Corporation

OBT Global presents. SAP Business Information Warehouse. -an overview -

Crescando: Predictable Performance for Unpredictable Workloads

Performance by combining different log information. Daniel Stein Nürnberg,

Sage MAS 200 SQL Server Edition Introduction and Overview

Oracle EXAM - 1Z Oracle Database 11g: Performance Tuning. Buy Full Product.

Oracle Enterprise Manager 12c Sybase ASE Database Plug-in

Understanding the Relationship with Domain Managers

<Insert Picture Here> Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g

Collecting Cached SQL Data and Its Related Analytics. Gerald Hodge HLS Technologies, Inc.

IBM and LightYear Present : IMS Teleconference

The Right Read Optimization is Actually Write Optimization. Leif Walsh

OLAP Introduction and Overview

- Benchmark White Paper - Java CICS TS V2.2 Application

<Insert Picture Here> Consolidate Oracle Applications on Oracle Exadata

Top Trends in DBMS & DW

A Mission-Critical Approach to Managing DB2 in the z Enterprise

Syllabus. Syllabus. Motivation Decision Support. Syllabus

IBM System z Fast Track

The Data Organization

What's New with CA DB2 Tools

Business Analytics in System z: The IBM DB2 Analytics Accelerator Carlos Guardia

Using WebSphere Application Server Optimized Local Adapters (WOLA) to migrate your COBOL to zaap-able Java

Transcription:

Westfield DB2 z/os System Management Managing the Pain with Stats, Charts, Graphs, & REXX NEODBUG Aug 16, 2012 Mike Smith Westfield Insurance

Agenda About Westfield DB2 Workload and Environment Tools and resources Building the Infrastructure 5 Examples of pain management

About Westfield

About Westfield Property and casualty insurance for over 150 years One of the largest non-public companies in Ohio Over 3.4 billion in assets/1.5 billion in written premium Network of more that 1,200 leading independent agencies 2300 employees in 60 offices servicing 31 states

Westfield DB2 z/os IBM z196 Hardware Ziip Specialty Engine DB2 V9.1 Two Production DB2 Subsystems

DB2 Workloads PeopleSoft Financial PeopleSoft Human Resources (HRMS) Westfield-developed Java Web Applications Westfield-developed Mainframe Applications OLAP PDBS / ADBS

PeopleSoft Financial Application Software runs on UNIX and Windows servers General Ledger, Accounts Payable, Asset Management, Purchasing, Financial Reporting OLTP, Batch, and Reporting 550 gb of data in 52K tables 210K connections per day (prime shift) 1-3 Million SQL calls per day Heavy month end reporting

PeopleSoft HRMS Application Software runs on UNIX and Windows servers Payroll, Benefits, Human Resources OLTP, Batch, and reporting 40 gig of data in 24K tables 280K connections / day 1-3 Million SQL calls / day

Web Applications Westfield-written Web-based applications on Linux servers Policy entry, quoting, services OLTP 250 gig of data in 1K tables 3.7 Million connections / day 22 Million SQL calls / day Peaks of 800+ SQL / second

Mainframe Applications Westfield-written COBOL programs Small but growing workload CICS and batch processing

OLAP Reporting and some BI Relatively small, but growing volatile 4K connections / day 36K SQL calls / day

PDBS / ADBS People Doing Bad Stuff Applications Doing Bad Stuff Many ways for Business and IT users to easily generate and run SQL Unpredictable Disruptive Time consuming

Objectives #1 - No phone calls at night #2 - No phone calls during the day

Why Calls At Night? Availability Errors Poor Performance

Why Calls During the Day? Availability Errors Poor Performance Cost (CPU)

How to Meet Objectives Prevent problems from happening Third Party Monitor: Great for real-time monitoring Great for problem diagnosis as it is happening Canned reports and reporting tool lacking Need Tools for: Long-term performance monitoring Resource utilization Trending Capacity planning Measuring the impact of change

Requirements are Characteristic of Business Intelligence (BI) Easy flexible reporting Quick turnaround Detail Roll up or drill down Time Slicing (by hr, day, mo, prime time, etc) Trending Correlation Ad-hoc Discovery

The Evolution of GI BI for Geeks Data from DB2 Accounting, Performance, Stats Traces, Statement Cache, SMS, and more COGNOS for Reports and Graphs REXX for more complex processing or display

Steps for building GI Analyze DB2 Trace Data hundreds of metrics Design DB2 Tables and indexes Build dimension tables and hierarchies Transform & Load Data Monitor software and MXG can help with load 8-9 million rows loaded every day More transformation and summarization Create views to simplify use Build MQT s for performance

Steps for Building GI - continued Build Cognos application for standard reports and graphs Build Cognos templates for ad-hoc Build Spufi templates for ad-hoc and discovery Write REXX where programming is needed

Example #1 CPU Containment High cost of CPU High use by DB2 can constrain other mainframe workloads High use can indicate DB2 application performance problem

Example #2 Application Performance Distributed Application Response Time Components: DB2 Linux Server Websphere Java Code Service Calls How do we find the root of performance problems? DB2 guilty until proven innocent

Example #3 DASD Utilization Make sure enough available for day-to-day processing Capacity planning

Example #4 DB2 System Constraints DB2 Subsystem Resources Shared internally by all DB2 applications Shared externally with all z/os work CPU Memory I/O Constraint can cause DB2 performance degradation or outages Over allocation can cause mainframe degradation or outages

Example #5 Bad SQL The Monitor-Resistant Strain Symptoms can include: Increase in CPU Increased lock time Increased I/O Performance degradation Monitor detects no long-running SQL Look for (very) frequently executed but fast SQL useful technique for testing SQL before production deployment

Remedy Examine Dynamic Statement Cache 1. -STA TRACE(PERFM) CLASS(32) IFCID(318) DEST(GTF) 2. -STO TRACE(PERFM) CLASS(32) 3. EXPLAIN STMTCACHE ALL 4. Query table to find which SQL is using the most resources 5. Run REXX to get the SQL statement and detailed stats 6. Explain the SQL

Select to get SQL of interest ------+---------+---------+---------+---------+---------+-- STMT_ID AUTHID EXEC_CNT GETPG_TOT GETPG_AVG ------+---------+---------+---------+---------+---------+-- 1798621 APPWACP0 329650 1614458 5. 1815460 APPWPLP0 60 803718 13395. 1798546 APPWACP0 37511 628619 17. 1798391 APPWACP0 14976 612949 41. 1798380 APPWACP0 21609 547612 25. 1798374 APPWACP0 16878 491400 29. 1815846 IMPAISP0 32 484224 15132. 1798316 APPWACP0 27956 428973 15. 1798309 APPWACP0 31263 407709 13. 1798841 APPWCLP0 4382 376852 86. 1798554 APPWACP0 21610 347675 16. 1798371 APPWACP0 106450 324571 3. 1798317 APPWACP0 26678 319705 12. 1798308 APPWPLP0 22262 290368 13. 1798381 APPWACP0 58424 283522 5. 1798514 APPWACP0 54733 273527 5. 1798205 APPWACP0 18897 246516 13.

Run selected statement id s through REXX to get the details -- ========================================================== -- APPWPLP0 ID: 1815460 -- CACHED: 06/11/2012 10:19 AM TIME IN CACHE: 00:23:06 -- -- TOTAL PER EXEC PER MIN PER SEC -- -- EXECUTED 60 2.6 0 -- GET PG 803718 13395 34944.2 582.4 -- ELAP TM 34.6491 0.5775 1.5065 0.0251 -- CPU TM 19.3594 0.3227 0.8417 0.0140 -- BUF RD 11 2 -- SYNC I/O TM 0.0043 0.0007 -- ASYNC I/O TM 16.9978 0.2833 -- LOCK TM 0.0038 0.0006 -- SORTS 0 0 -- IX SCANS 0 0 -- TS SCANS 60 1 -- EXAM ROWS 21153428 3525571 -- PROC ROWS 3 1 -- ------------------------------------------------ SELECT HOM_ID FROM PDB2WPLP.HOM WHERE RCC_REF_NR =? WITH UR

Questions? Email - MichaelSmith@WestfieldGrp.com