DB2 9 for z/os V9 migration status update

Similar documents
An A-Z of System Performance for DB2 for z/os

What Developers must know about DB2 for z/os indexes

V9 Migration KBC. Ronny Vandegehuchte

Optimizing Insert Performance - Part 1

Mainframe at Volvo IT

DB2 12 A new spin on a successful database

Migration to DB2 for z/os Version 8

DB2 10 for z/os Technical Overview

Optimising Insert Performance. John Campbell Distinguished Engineer IBM DB2 for z/os Development

Why did the DB2 for z/os optimizer choose that access path?

Inline LOBs (Large Objects)

Db2 V12 Gilbert Sieben

DB2 11 for z/os Application Functionality (Check out these New Features) Randy Ebersole IBM

DB2 V10 upgrade Colruyt. slide 1

DB2 11 for z/os Overview DUGI Massimiliano Castellini DB2 Advisor

What s new in DB2 9 for z/os for Applications

DB2 for z/os: Programmer Essentials for Designing, Building and Tuning

DB2 for z/os Utilities Update

DB2 12 for z/os: Technical Overview and Highlights

IBM DB2 10 for z/os beta. Reduce costs with improved performance

How do I keep up with this stuff??

DB2 for z/os Optimizer: What have you done for me lately?

Click to edit the title text format

DB2 for z/os Migration: Query Performance Considerations. Tom Beavin IBM Silicon Valley Lab February 7, 2013 Session

DB2 10 for z/os Technical Update

Db2 12 A new spin on a successful database

DB2 11 and Beyond Celebrating 30 Years of Superior Technology

What s New in DB2 10 for z/os?

290 Index. Global statement cache. See Caching

DB2 for z/os Utilities Best Practices Part 2. Haakon Roberts DB2 for z/os Development IBM Corporation. Transcript of webcast.

DB2 for z/os Backup and Recovery Update - V9 and V10

PLAN Migration. Setting up a DB2 10 Precheck Environment

Short Summary of DB2 V4 Through V6 Changes

IBM DB2 11 DBA for z/os Certification Review Guide Exam 312

Eenie Meenie Miney Mo, Which Table (Space) Type and Page Size Shall I Choose for DB2 on z/os?

Carefree Migration. Setting up a DB2 Precheck Environment

GSE Belux DB2. Thursday 6 December DB2 V10 upgrade BNP Paribas Fortis

Db2ZAI Machine Learning in Db2 for z/os

With the growth of data, the reduction in of DBA staffing, tight budgets, and the business goal to be 24x7 it is becoming more important to automate

CA Database Management Solutions for DB2 for z/os

DB2 9 for z/os Selected Query Performance Enhancements

DB2 10 and Beyond Celebrating 30 Years of Superior Technology

PBR RPN & Other Availability Improvements in Db2 12

DB2 for z/os and OS/390 Performance Update - Part 1

Introduction to DB2 11 for z/os

DB2 11 for z/os Availability Enhancements. More Goodies Than You May Think

Evolution of CPU and ziip usage inside the DB2 system address spaces

Stabilizing dynamic SQL (and static enhancements too)

DB2 12 for z/os and Beyond

Eenie Meenie Miney Mo, Which Table (Space) Type and Page Size Shall I Choose for DB2 on z/os?

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

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

PBR RPN & Other Availability Enhancements In Db2 12 Dec IBM z Analytics

Empowering DBA's with IBM Data Studio. Deb Jenson, Data Studio Product Manager,

Presentation Abstract

October, z14 and Db2. Jeff Josten Distinguished Engineer, Db2 for z/os Development IBM Corporation

Practical Capacity Planning in 2010 zaap and ziip

Deep Dive Into Storage Optimization When And How To Use Adaptive Compression. Thomas Fanghaenel IBM Bill Minor IBM

PBR RPN - Removing Partitioning restrictions in Db2 12 for z/os

A. Specify NUMTCB=10 and allow 1 WLM managed stored procedure address space per sysplex for AE1.

DB2 for z/os Tools Overview & Strategy

TUC TOTAL UTILITY CONTROL FOR DB2 Z/OS. TUC Unique Features

Reorganization Strategies in Depth

The Present and Future of Large Memory in DB2

CA Database Management Solutions for DB2 for z/os

DB2 11 for z/os Utilities Update

DB2 12 for z/os Optimizer Sneak Peek

HOLDDATA FOR DB2 9.1 PUT Level ** Please read through all the holddata before acting on any of it. ** GENERAL

DB2 11 for z/os Application Compatibility What you Need to Know

DB2 for z/os and ziip & zaap

On slide 2 here I have a disclaimer about particular trademarks that are used in this presentation. Now let s go to slide 3.

Db2 12 for z/os. Data Sharing: Planning and Administration IBM SC

Welcome to the presentation. Thank you for taking your time for being here.

DB2 V8 Neat Enhancements that can Help You. Phil Gunning September 25, 2008

Db2 12 for z/os Optimizer Update

DB2 for z/os Buffer Pool Tuning: "Win by divide and conquer or lose by multiply and surrender"

DB2 11 for z/os Performance Topics

DB2 9 for z/os Overview LSU 2009

Memory for MIPS: Leveraging Big Memory on System z to Enhance DB2 CPU Efficiency

Ten Breakthroughs That Changed DB2 Forever!

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

DB2 11 Charts My Top 20 Features. Andy Ward Senior Principal Consultant December 2014

DB2 for z/os Stored Procedures Update

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

IBM Technical Brief. IBM zenterprise System : DB2 11 for z/os with SAP Performance Report. Version 1.0. December 16, 2013.

Db months agile production experience

To REORG or not to REORG That is the Question. Kevin Baker BMC Software

z/os Db2 Batch Design for High Performance

Vendor: IBM. Exam Code: Exam Name: IBM Certified Database Administrator - DB2 10 for z/os. Version: Demo

Agenda. DB2 Utilities Update and Best Practices. Paul Bartak IBM DB2 Advisor

The Best Defense Is a Good Offense

DB2 Analytics Accelerator Loader for z/os

DB2 for z/os: Continuous Delivery of New Features (part 2) Chris Crone DE DB2 Development Presented by Mark Rader WSC: DB2 for z/os

DB2 for z/os Buffer Pool Tuning: Win by divide and conquer or lose by multiply and surrender

Db2 for z/os Early experiences using Transparent Data Set Encryption

DB2 9.7 Advanced DBA for LUW

Vendor: IBM. Exam Code: C Exam Name: DB2 10 System Administrator for z/os. Version: Demo

Modern DB2 for z/os Physical Database Design

IBM Education Assistance for z/os V2R2

DB2 Partitioning Choices, choices, choices

Transcription:

IBM Software Group DB2 9 for z/os V9 migration status update July, 2008 Bart Steegmans DB2 for z/os L2 Performance

Acknowledgement and Disclaimer i Measurement data included in this presentation are obtained by the members of the DB2 performance department at the IBM Silicon Valley Laboratory. The information contained in this presentation has not been submitted to any formal IBM review and is distributed on an As Is basis without t any warranty either expressed or implied. The use of this information is a customer responsibility. Bottom line, if it is wrong it is not my fault

Introduction Who is migrating g? What to expect? V10 skip level migration Migration experiences Questions and answers

DB2 9 for z/os climbing sharply Largest Customers are migrating 50% of Top 100 40% of Top 200 How s the quality (comparison to V8)? Lower overall PMR volume Less Severity 1 APARs Lower PE rate V8: 100% of the top 100 Customers More than 99% of the top 200 Customers Better quality than V7 Withdrawn from market Sept 8, 2009 V7 out of service June 30, 2008 target is V8

Migration to DB2 9 is easier than V7 to V8 Migration process enhancements: ENFM shorter, CM* Much less performance regression: Earlier improvements Bind stability & tools for avoiding access path issues CCSIDs and old product issues resolved in V8 Simpler virtual storage considerations Less impact from incompatible changes Almost all vendors are ready today Every customer experience is different

Best practices / Recommendations Start with latest RSU + Identified Hipers Leverage CST/RSU process Apply 2 to 3 preventative service drops annually Exploit Enhanced HOLDDATA to be vigilant on HIPERs and PEs Use the DB2 9 'Package Stability' function for static SQL Offers access path preserving option. Recovers to prior access path if regression is encountered PK52523 - DB2 Access Path Stability (And( PK52522 for V8 in case of fallback) Minimize potential query performance issues Use Optimization Service Center to capture SQL statements Run Stats Advisor to generate the recommendation for stats collection Run RUNSTATS to ensure critical stats are collected as recommended by the advisor

DB2 9 Most consumable improvements CM very little to no action: Utility CPU reductions Package stability Larger prefetch, write & Improved RUNSTATS preformat quantities Optimization improvements, Optimization Service Center, EDMPOOL VSCR, increased Data Studio and Optim Query Tuner parallel & ziip NFM LOB performance LOB lock avoidance DDF VSCR Logging for data sharing Index lookaside Improved index leaf page split Changed online REORG Reordered row format, native SQL Archive log striping, Index: larger page sizes, compression compression, index on expression

DB2 9 z10, z9, z890 and z990 performance scenario 0-1 -2-3 -4 CPU -5-6 V8 V9 CM V9 NFM V9 Use Utilities DB design adjustments Histogram statistics Index improvements REBIND Application changes DSNZPARMS Native SQL procedures SQL adjustments Your situation will vary. z800 and z900 expect +5% to +10% CPU In the figure, less is better

DB2 10 for z/os: Skip-Level Migration May move from V8 to DB2 10, But just because you can, doesn t mean you always should. Key considerations: Risk/reward analysis V7 V8 DB2 9 DB2 10 What s the risk? Tolerance level? How will you do it? What s your mitigation plan? Are ISVs ready? What workloads do you need to test and can you test them properly? Am I missing out on DB2 9 value in the meantime? May not see large migration cost savings Expect 20% to 25% cost savings versus two migrations Larger migration project, longer migration timeline, more risk Applications and ISVs may not be ready If you are on V7 or earlier, go to V8 If you plan to migrate in 2010 or 2011, go to DB2 9 If you are on V8 for over 2 years, go to DB2 9

Customer migration paths: V7 V8 DB2 9 DB2 10 Skip DB2 9 is possible, but most customers will go to DB2 9 Estimate save 20% to 25% vs. 2 steps Reasonable timing to skip Value in DB2 9 deferred until V10 NFM When will applications add support for 10? Drop 8? Skip versions V5 to 7, V8 to 10, don t get used to it

Questions and Answers

Question #1 Q: What are the prereq levels for DB2 Connect when migrating to DB2 9? The official answer: DB2 9 (and 10) require DB2 Connect 9 FP1 The recommended level is latest 9.7 fixpack 2 or 3 DB2 Connect V8.2 is out of service since April 30, 2009 From John Campbell: Minimum levels required for DB2 Connect, but should follow CST/RSU levels Full support with V9.1 FP1 but strongly recommend FP7 (RSU0906) Full Support with V9.5 GA but strongly recommend FP4 (RSU0906) V9.5 FP3 introduces Sysplex Failover/Workload balancing and XA support for IBM Data Serving Client Need extended support contract in place for V8.1 FP13 or V8.2 FP6+

Question #2 Q: Will there be an impact on my catalog when I start using "plan stability"? A: Yes, your catalog and directory will grow, depending on how many packages will be bound using PLANMGMT, and whether or not BASIC (two copies) or EXTENDED (three copier) is used For the catalog the growth is usually not a big problem, but SPT01 is limited to 64 GB To address that t issue, DB2 now allows to compress SPT01 (APAR PK80375 - PTFs UK50986 (V8) and UK50987(V9) ) Reorg SPT01 to reduce the number of pieces The compression ratio is really good (blanks and zeroes compress rather well :-) )

Question #3 Q: Will my catalog table spaces grow? A: It depends As always, more info gets stored in the catalog, so the catalog is likely to grow In V9 the catalog TS are 'user-managed' objects, so you can do an ALTER ADDVOLUMES.. to add additional volumes to allow expansion to additional volumes should the catalog grow

Question #4 Q: Do I need to run DSN1CHKR prior to migration? A: This is not mandatory, but highly recommended. The V10 catalog restructure will eliminate the use to run DSN1CHKR in the future The same applies to running all the other pre-migrations checks listed in the manual and run the DSNTIJPM job. You can already do the checking in V8 (DSNTIJP9 - APARs PK31841, PK45981, PK61841, PK65772, PK73081,...)

Question #5 Q: Will I need to bigger 32K buffer pools in V9 A: Yes! In V9 sort uses 32K pages more frequently than in V8 (if row to be sorted > 100 bytes), so to get good performance, you will likely have to increase you 32K BP size As more 32K page sets are used for sort, make sure to have enough 32K page set in your workfile database PK70060 changes the behaviour of workfile allocation. Page sets with SECQTY 0 will be used for sort, SECQTY >0 primarily for DGTT Currently it is allowed to overflow from one type to the other if one is full. PM02528 will introduce a ZPARM to allow you to force separation (no overflowing) Maybe more changes will follow (still under investigation)

Question #6 Q: Do I need to take a group wide outage to enable locking protocol 3? A: Locking protocol 3 was introduced in V9 and is there to allow the new locking locking protocol for LOB locking to kick in NFM However, after careful evaluation early after GA, locking protocol 3 was "removed" (Apply APAR PK62027 PTF UK38906) The new locking scheme for LOBs automatically ti kicks k in in NFM (which is a group-wide event) without the need to recycle all members Unless you moved to V9 NFM without this APAR, you should not see locking protocol 3 on your systems

Question #7 Q: Can we expect another CPU time increase for our applications when migrating to V9? A: That is of course always possible, but not very likely, and certainly nothing like we experienced in V8 Typically customers see equal or slightly better performance when going to V9 (without exploitation of any of the new features) All access path enhancements are available in V9 CM, so after rebinding, applications may see increased performance Some customers in data sharing may see significant improvement in NFM because of the LRSN spinning reducing, especially when MRI is used

Question #8 Q: After going g to V9 we see an increase in the number of dynamic prefetch requests and a drop in the number of sequential prefetch requests in our accounting and statistics reports A: Congratulations that you actually noticed this! This is expected behaviour. In V9, SPF is only used for a relational scan of the data when determined at bind time. All others rely on on DB2 to detect the sequential pattern and have dynamic prefetch kick in. DPF is more flexible than SPF and should provide better performance (for almost all cases). Note that no rebind is needed to trigger this change

Question #9 Q: When do I do RUNSTATS when migrating g? Before, immediately after (day itself), later, or in NFM A: Whatever your strategy is as to when to runstats/rebind, you should not rebind on DB2 9 (CM) until RUNSTATS has been run in V9 Make sure to execute RUNSTATS with TABLE(ALL) INDEX(ALL) KEYCARD (not default) Make sure new ZPARM STATCLUS=ENHANCED (default). It introduces major change to CLUSTERRATIO calculation l and also the introduction of a new statistic DATAREPEATFACTOR Use DB2 supplied RUNSTATS utility if ISV utility does not yet support the enhanced statistics collection.

Question #10 Any problems with // in V9 A: As in most areas there have been APARs Usually disable parallelism li to bypass the problem while IBM investigates and gets the issue fixed For static, use BIND DEGREE(1) For dynamic: CDSSRDEF = 1 Alter the buffer pools VPPSEQT to 0 Use RLF - RLFFUNC 3 (I/O //), 4 (CPU//), and 5(Sysplex//) Keep up to date with maintenance See APAR II12836 QUERY PARALLELISM RECOMMENDED MAINTENANCE