BMC DB2 Entwicklungsstrategie, Performance Advisor und mehr! Peter Plevka, BMC Software
Agenda BMC DB2 Entwicklungsstrategie Performance Advisor Update Copyright 5/17/2010 BMC Software, Inc 2
General Development Direction Reduce peak MIPS usage Reduce risk for change Staying current with technology Innovate to increase value for you Copyright 5/17/2010 BMC Software, Inc 3
High Speed Structure Change DB2 V8 TRANSFORM Copyright 5/17/2010 BMC Software, Inc 4
High Speed Structure Change - TRANSFORM Simple or Segmented Tablespace to UTS PBG (e.g. extending 64GB limit). Non-large Partitioned Tablespace to Large Partitioned Tablespace (i.e. 4 byte RID to 5 byte RID). Partitioned by Range Tablespace to UTS PBR (benefit of segmented). Partitioned by Range Tablespace to UTS PBG (dropping the partitioning Index requirement). Change tablespace SEGSIZE. Change tablespace DSSIZE. Convert Indexes to COMPRESSed. Change Index PIECESIZE. DB2 V9 and 10 T R A N S F O R M Your Benefit Increased availability and productivity for high volume structure changes Copyright 5/17/2010 BMC Software, Inc 5
TRANSFORM Benefits with BMC UDCL Without BMC s Admin Solution Preparation Time research and construction Outage Window Upgrading Application UDCL With BMC s Admin Solution Preparation Time research and construction Outage Window Upgrading Application TRANSFORM RO With BMC Preparation Time research and construction RO or outage TRANSFORM CHG With BMC Prep Time research and construction RO or outage Copyright 5/17/2010 BMC Software, Inc 6-6 -
Agenda BMC DB2 Entwicklungsstrategie Performance Advisor Update Copyright 5/17/2010 BMC Software, Inc 7
Performance Advisor Update Was bisher geschah Workload Compare BMC SQL Performance for DB2 ein Ausblick Copyright 5/17/2010 BMC Software, Inc 8
Performance Advisor Concept DB2 Automated Corrective Actions Trend reports Recommendations notices/alerts Analysis Stats, Events Service Level Performance Management Performance Advisor Database (PADB) RTS Catlg Stats Sys/acct stats SQ L Workload Sta ats Acc cess Path Dat ta Obj ject Statistics DB2 Subsystem Sta ats/acctng Merge/Rollup Stmt Stats Wrkld stats Object stats Reorg Cndts Stmt/obj stats Index usage Copyright 5/17/2010 BMC Software, Inc 9
SQL Performance for DB2 BMC SQL Performance for DB2 BMC APPTUNE for DB2 BMC SQL Explorer for DB2 Performance Advisor Component Schnelle Identifizierung und Behebung von SQL Performance Problemen SQL Qualitätssicherung im gesamten Lifecycle Risikominimierung bei Produktionsübernahme Performance Trending Reports Copyright 5/17/2010 BMC Software, Inc 10
Agenda Was bisher geschah Workload Compare BMC SQL Performance for DB2 ein Ausblick Copyright 5/17/2010 BMC Software, Inc 11
BMC SQL Performance for DB2 BMC SQL Performance for DB2 BMC APPTUNE for DB2 BMC SQL Explorer for DB2 Performance Advisor Component Workload Compare Component Copyright 5/17/2010 BMC Software, Inc 12
Compare access paths on different DB2 s DBRMLIB DHN1 V8 SYSSTMT SYSPACKSTMT EXTRACT DHN1 V8 PLAN_TABLE DIA1 V9 ace Trace Data APPTUNE Data SetTrace Set Datasets EXPLAIN PLAN_TABLE OBJECT_FILE PATH_FILE SQLTXT_FILE COMPARE & REPORT COMPARE_FILE Copyright 5/17/2010 BMC Software, Inc 13
Die Lifedemo beginnt jetzt Weiter... Copyright 5/17/2010 BMC Software, Inc 14
SQL Performance for DB2 - Hauptmenü Copyright 5/17/2010 BMC Software, Inc 15
Workload Compare - Hauptmenü Copyright 5/17/2010 BMC Software, Inc 16
Extract und Explain Copyright 5/17/2010 BMC Software, Inc 17
Extract und Explain Copyright 5/17/2010 BMC Software, Inc 18
Extract und Explain Job Generierung Copyright 5/17/2010 BMC Software, Inc 19
Explain Copyright 5/17/2010 BMC Software, Inc 20
Explain Vorherige Workload Copyright 5/17/2010 BMC Software, Inc 21
Explain - Vorherige Workload anderes DB2 Copyright 5/17/2010 BMC Software, Inc 22
Explain Job Generierung Copyright 5/17/2010 BMC Software, Inc 23
Compare V8 vs. V9 Copyright 5/17/2010 BMC Software, Inc 24
Compare Selektion der Workloads Copyright 5/17/2010 BMC Software, Inc 25
Compare Report Optionen Copyright 5/17/2010 BMC Software, Inc 26
Compare Report Optionen Copyright 5/17/2010 BMC Software, Inc 27
Compare Output Summary Report Differences in PATH, STATS, and INDEX and they all increased in cost Copyright 5/17/2010 BMC Software, Inc 28
Compare Output Index Unterschiede Matching Columns (MT CL) went from 1 to 0 (got worse) Index name is truncated but it shows that a different one was used. Also, went to sequential prefetch. Copyright 5/17/2010 BMC Software, Inc 29
Compare Index Unterschiede V8 vs. V9 On DIA1 (XD02), only one index was defined with no stats. DHN1 had 4 indexes with stats. Copyright 5/17/2010 BMC Software, Inc 30
BMC SQL Performance for DB2 BMC SQL Performance for DB2 BMC APPTUNE for DB2 BMC SQL Explorer for DB2 Performance Advisor Component Reorg Advisor Copyright 5/17/2010 BMC Software, Inc 31
Was bringt der Reorg Advisor? Kostenreduktion für Reorganisationen ALLE OBJEKTE BMC DASD Manager for DB2 Seit den letzten 20 Jahren! 5000 MIPS, 3 Sites, SAP und non-sap Workload Kosten: 2 CPU h/tag für DB2 Wartung zu 0,16 /sec Disorganisierte Objekte 300.000,- 000 pro Jahr Performance verschlechternde Objekte Reorg Advisor Copyright 5/17/2010 BMC Software, Inc 32
Agenda Was bisher geschah Workload Compare und Index Advisor BMC SQL Performance for DB2 ein Ausblick Copyright 5/17/2010 BMC Software, Inc 33
Intelligenteres Sampling IF SQL = n Times AND Always Faster Than x THEN No Monitoring - Zähler läuft mit und extrapoliert Durchgehendes Reporting von SQL Errors 0,00015 0,0001 0,00005 0 CPU Overhead pro SELECT Full Monitoring Current Sampling Proposed Sampling APPTUNE CPU Copyright 5/17/2010 BMC Software, Inc 34
Geplante Entwicklungen DB2 10 Support Common Explain Mainview Windows Interface ziip Nutzung im Data Collector Automatische und dynamische Allokierung der Trace Datasets Performance Advisor: Exception Advisor (via SPE im Jan 2010) Workload Index Advisor Statistics Advisor Copyright 5/17/2010 BMC Software, Inc 35
Questions Copyright 5/17/2010 BMC Software, Inc 36
Copyright 5/17/2010 BMC Software, Inc 37