DB2 10 for z/os Technical Update

Similar documents
What s New in DB2 10 for z/os?

DB2 10 for z/os Technical Overview

DB2 10 for z/os Performance and Scalability

Click to edit the title text format

DB2 for z/os Utilities Update

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

Pass IBM C Exam

DB2 10 and Beyond Celebrating 30 Years of Superior Technology

Optimizing Insert Performance - Part 1

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

PBR RPN & Other Availability Improvements in Db2 12

Contents. Using. Dynamic SQL 44. Bag of Tricks 56. Complex SQL Guidelines 90. Working with Nulls 115. Aggregate Functions 135

Db2 12 A new spin on a successful database

DB2 9 for z/os V9 migration status update

DB2 10 for z/os Overview

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

DB2 for z/os Trends and Directions

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

What Developers must know about DB2 for z/os indexes

DB2 12 for z/os: Technical Overview and Highlights

Gain insight into DB2 9 and DB2 10 for z/os performance updates and save costs

DB2 12 A new spin on a successful database

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

DB2 for z/os: Data Sharing Update

A Sneak Peak at DB2 9 for z/os

DB2 11 and Beyond Celebrating 30 Years of Superior Technology

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

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

290 Index. Global statement cache. See Caching

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

DB2 Data Sharing Then and Now

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

How do I keep up with this stuff??

Short Summary of DB2 V4 Through V6 Changes

Austin HOTDUG. DB2 for z/os Selected Performance Topics

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

C Exam code: C Exam name: IBM DB2 11 DBA for z/os. Version 15.0

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

Text search on DB2 for z/os data

Dynamic SQL Re-Examined

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

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

DB2 12 Overview what s coming

What's New with CA DB2 Tools

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

DB2 10 for z/os A Smarter Database for a Smarter Planet

DB2 Analytics Accelerator Loader for z/os

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

DB2 9 for z/os Trends and directions. May 28, Euroclear IBM Corporation IBM Systems

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

Ten Breakthroughs That Changed DB2 Forever

Ten Breakthroughs That Changed DB2 Forever!

Db2 V12 Gilbert Sieben

What s new in DB2 Administration Tool 10.1 for z/os

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

Modern DB2 for z/os Physical Database Design

Database Design and Implementation

The Present and Future of Large Memory in DB2

Understanding The Interaction Of z/os Workload Manager And DB2

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

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

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

DB2 9 for z/os and Beyond

DB2 11 for z/os Performance Topics

DB2 12 for z/os and Beyond

Session: B11 DB2 9 for z/os Best Practices for SAP. Johannes Schuetzner IBM Boeblingen Lab. October 7, 2009, 11:00-12:00 Platform: DB2 for z/os

DB2 9 for z/os Overview LSU 2009

Cloning - What s new and faster?

IBM Education Assistance for z/os V2R2

DB2 11 for z/os : Performance Topics

CA Database Management Solutions for DB2 for z/os

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

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

Maximizing offload to ziip processors with DB2 9 for z/os native SQL stored procedures

DB2 Partitioning Choices, choices, choices

DB2 for z/os Tools Overview & Strategy

Advanced Design Considerations

DB2 for z/os DB2 10 for z/os DBA Productivity

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

DB2 z/os Cloning What s new and faster?

DB2 for z/os V8 and DB2 V9.1 for z/os Roger Miller ibm.com/software/db2zos May 23, 2006

DB2 11 for z/os Performance Expectations

IBM DB2 Tools updated to unlock the power of IBM DB2 12 and to enhance your IBM DB2 for z/os environments

DB2 V10 upgrade Colruyt. slide 1

IBM DB2 Analytics Accelerator for z/os, v2.1 Providing extreme performance for complex business analysis

IBM DB2 for z/os: Data Sharing Technical Deep Dive

DB2 12 for z Optimizer

DB2 Performance Essentials

A Field Guide for Test Data Management

Craig S. Mullins. A DB2 for z/os Performance Roadmap By Craig S. Mullins. Database Performance Management Return to Home Page.

IBM DB2 Analytics Accelerator

D09 Repeated in D15 DB2 Autonomics: Implementation and Exploitation

IBM DB2 Analytics Accelerator Trends and Directions

Data Analytics using MapReduce framework for DB2's Large Scale XML Data Processing

DB2 for z/os Best Practices Optimizing Insert Performance - Part 1

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

DB2 Version 7 - Migration Considerations from V5 or V6

Key Metrics for DB2 for z/os Subsystem and Application Performance Monitoring (Part 1)

IBM TotalStorage Enterprise Storage Server Model 800

IBM DB2 11 for z/os Performance Topics

Transcription:

DB2 10 for z/os Technical Update James Teng, Ph.D. Distinguished Engineer IBM Silicon Valley Laboratory March 12, 2012

Disclaimers & Trademarks* 2 Information in this presentation about IBM's future plans reflect current thinking and is subject to change at IBM's business discretion. You should not rely on such information to make business plans. Any discussion of OEM products is based upon information which has been publicly available and is subject to change. The opinions expressed are those of the presenter at the time, not necessarily the current opinion and certainly not that of the company. The following terms are trademarks or registered trademarks of the IBM Corporation in the United States and/or other countries: AIX, AS/400, DATABASE 2, DB2*, Enterprise Storage Server, ESCON*, IBM, iseries, Lotus, NOTES, OS/400, pseries, RISC, WebSphere, xseries, z/architecture, z/os, zseries, System p, System I, System z The following terms are trademarks or registered trademarks of the Microsoft Corporation in the United States and/or other countries: MICROSOFT, WINDOWS, ODBC For more copyright & trademark information see ibm.com/legal/copytrade.phtml

3 DB2 for z/os The most robust and cost effective data server Efficiency Efficiency Resilience Resilience 3 Growth Growth DB2 Deep synergy with System z HW Compression Consolidation Unmatched availability Unparalleled security Industry leading reliability Near-linear scalability Optimized for SOA Flexible development Warehousing capabilities DB2 9 Up to 20% utility CPU savings Compress indexes, save 50% disk Native SQL procedures More CPU on specialty engines Flexible context and role security Expanded online schema changes Volume level backup & recovery Seamless integration of XML and relational Improved SQL Partition by growth OLAP expressions V8 out of service April 2012 DB2 10 Save up to 5-10% CPU batch & transactions out-of-the-box (rebind) On-the-fly data Compression Temporal data support Skip-level migration Ten times more concurrent users More online schema changes More granular access control Enhanced query parallelism More SQL compatibility Improved purexml and SQL PL

DB2 Deep Synergy With System z Key integration points include: Data sharing (availability and scale out) ziip and other specialty engines Unicode conversion Encrypted communication & data Hardware data compression & encryption Cross-memory, memory protection keys Sorting Multi-core, large N-way 64-bit addressing and large memory z/os Workload Manager z/os Security Server (RACF) z/os RRS integrated commit coordinator System z10 1 MB page size, decimal float Solid state disks zenterprise z196, zbx, z10, 4

zenterprise 196 Benefits for DB2 Taking System z to the next level Faster CPUs, more CPUs, more memory means better DB2 performance, scalability Excellent synergy with DB2 10, which will remove many single system scaling inhibitors Large cache to benefit DB2 workloads TLB Changes to improve DB2 10 performance for 1MB page sizes Hybrid architecture to open up new opportunities for DB2 query performance acceleration 5

DB2 and zenterprise 196 CPU reduction in all types of DB2 workloads Larger processor cache (1.5MB L2 per core, 24MB L3 per chip, 192MB L4) Various types of DB2 9 and 10 workloads show 20% to 40% DB2 CPU reduction compared to z10 processors. 6

DB2 & IBM ziip Add Value to Database Work 1 DRDA over TCP/IP connections DB2 9 for z/os Remote native SQL procedures DB2 9 XML parsing via DRDA to fully utilize ziip Increased portion of DRDA redirected to ziips to 60% Improved performance via reduced processor switching 2 - Requests that use parallel queries DB2 9 higher percentage of parallel queries ziip eligible DB2 10 more queries eligible, more parallelism 3 - DB2 Utilities LOAD, REORG & REBUILD DB2 utility functions used to maintain index structure and sort DB2 10 RUNSTATS - most options 4 - DB2 10 buffer pool prefetch and deferred write 7

DB2 10 for z/os Fastest uptake +2X customers +3X licenses 25% coming from V8 More customers in production SAP, data warehouse and OLTP workloads Skip-level and V2V Quality/stability looking good Half TFSA per customer Flat over the last 6 months 8

9 DB2 10 for z/os: Cost Savings CPU reductions for transactions, queries, and batch CPU reductions of 5-10% for traditional workloads CPU reductions of up to 20% for new workloads Up to additional 10% CPU savings using new functions For static SQL, REBIND typically required Scales with less complexity and cost 5-10x more concurrent users up to 20,000 per subsystem Significant scale-up capabilities in addition to existing scale-out support Consolidate to fewer LPARs and subsystems Improved operational efficiencies and lower administration cost Automatic diagnostics, tuning, and compression 9 Even better performance Elapsed time improvement for small LOBS and Complex Queries 9

DB2 10 Experiences Why DB2 10 Now? Reduced cost Improved scalability Improved resilience Benefits 90% Virtual storage savings 10% CPU savings on CICS transactions 30% CPU savings on test batch workload Our DB2 10 experience has given us confidence about the virtual storage relief and CPU savings. I am looking forward to continuing our rollout and reaping the benefits. Niels Simanis Senior Technology Manager Danske Bank 10 Migration Tips Plan well, including good maintenance practices Rebind can get you the highest CPU savings Expect increase in real storage consumption to support and exploit DB2 10

DB2 10 Experiences Why DB2 10 Now? Reduced cost Improved performance Improved scalability Benefits 20-30% CPU savings out-of-the-box 5-15% Performance improvements for batch, CICS, and DDF Actual results may vary for other customers We are pleasantly surprised with the out-of-the-box CPU savings we have seen during testing and early production phases. Terry Glover Director IT Infrastructure Dillard s 11 Migration Tips Thorough preparation and planning Good maintenance practices

Virtual storage improvements DBM1 below 2GB 75-90% less usage in DB2 10 compared to DB2 9 Some of working storage (stack, xproc storage) stays below 2GB Larger number of threads Possible data sharing member consolidation Improve CPU with storage More release deallocate Larger MAXKEEPD values for KEEPDYNAMIC=YES DB2 10 Global DSC DBD Local DSC Thread / Stack CT/PT SKCT SKPT Thread / Stack/ working 75-90% less usage DBM1 below bar after REBIND 12

1 3 Running Many Active Threads Today DB2 10 Coupling Technology Coupling Technology LPAR1 LPAR2 LPAR3 LPAR1 LPAR2 LPAR3 DB2A (500 thds) DB2B (500 thds) DB2C (500 thds) DB2A (2500 thds) DB2B (2500 thds) DB2C (2500 thds) DB2D (500 thds) DB2E (500 thds) DB2F (500 thds) Data sharing and sysplex allows for efficient scale-out of DB2 images Sometimes multiple DB2s per LPAR More threads per DB2 image More efficient use of large n-ways Easier growth, lower costs, easier management Data sharing and Parallel Sysplex still required for very high availability and scale Rule of thumb: save ½% CPU for each member reduced, more on memory 13

1 4 Major changes in DB2 10 catalog & directory Improve availability and productivity Increase maximum size substantially Reduce contention: BIND, Prepare, utilities DDL concurrency also improved from removal of DBD01 hash anchor locks Catalog changes: Remove links, hashes Many more table spaces, partition by growth Row level locking, reordered row format CLOB and BLOB columns for long strings Inline for performance Online reorganization and check More automatic: DB2-managed SMS-controlled 14

Data Sharing Improvements ACCESS DATABASE command wildcarding support - V9 PK80925 Sub-group attach BP scan avoidance Delete data sharing member MEMBER CLUSTER support for UTS DDF Restart Light enhancements: Handle DDF indoubt URs Online DDF changes Auto rebuild CF lock structure on long IRLM waits during restart Can avoid group-wide shutdowns LRSN spin avoidance for inserts to the same page (e.g. Multi Row Insert) New zparm to force deletion of CF structures on group start Expedited GBP DELETE_NAME processing Avoid sending XI signals by deleting data only Avoid potential lock timeout conditions when there are lots of directory entries for an object 15

Online Schema Enhancements 16 Table Space Changes - deferred Page Size UTS only DSSIZE UTS only SEGSIZE UTS only MAXPARTITIONS Convert single table simple/segmented into PBG Convert classic partitioned table into PBR Convert PBR to PBG Convert Classic Partitioned/PBR/PBG to Member Cluster Table Space is put into Advisory REORG pending Index Changes - deferred Page Size Index is put into Advisory REORG pending

Online Schema Enhancements Deferred Alters are materialized at the next table/index space level REORG Before REORG, pending changes can be dropped via ALTER DROP Quiesce applications using the DBD, plan/package locks during the SWITCH phase Invalidate plans/packages/dynamic statement cache Alter Buffer Pool with the same page size immediate No longer need to STOP TS/IS in data sharing Use DRAIN(ALL) to quiesce applications New BP will be used after commit 17

Index Improvements Parallel index update at insert For tables with more than 2 indexes I/O parallelism Index with included columns Add non-key columns Cache the index root page in buffer pool during open List prefetch for disorganized indexes CPU reduction for index access especially with NOT PADDED indexes on VARCHAR New IFCID 359 to monitor index split 18

Buffer Pool Enhancements Use 1MB real storage frame, instead of 4K, for PGFIX = YES Buffer Pools Reduce cpu overhead when accessing pages in BP Available only for z10 and zenterprise Prefetch/Deferred Writes are running under ziip Avoid BP scans in data sharing Switch from non-shared to Shared and vice versa Data set close During STOP DB2 Significantly improve performance for large BPs 19

Buffer Pool Enhancements In-memory tables/indexes A new PGSTEAL = NONE on ALTER BUFFERPOOL Load data into the buffer pool at data set open Done by DB2 Prefetch Engines under ziip Ensure BP size is large enough to cache all data/index pages BP is managed in FIFO (First In First Out) order Not managed in LRU Disable all prefetch requests Query optimizer uses zero I/O cost for tables and indexes using this Buffer Pool Recommend to use AUTOSIZE(NO) which is the default Recommend to set CLOSE = NO for tables/indexes 20

Hashed Table SELECT * WHERE ITEMNO = W0133-1662996 W0133-1662996 Execution time hash calculation Locate the data row by hashing the key value. -The hash Key must be unique -Reduced page visits -Reduced CPU & elapsed time -Possibly eliminate an index -Tradeoff: extra space used Data Pages 1 page access 1 I/O 21

2 2 Versioned data or Temporal Data Table-level specification to control data management based upon time Two notions of time: System time: notes the occurrence of a data base change row xyz was deleted at 10:05 pm Query at current or any prior period of time Useful for auditing, compliance Business time: notes the occurrence of a business event customer xyz s service contract was modified on March 23 Query at current or any prior/future period of time Useful for tracking of business events over time, application logic greatly simplified New syntax in FROM clause to specify a time criteria for selecting historical data 22

Logging Enhancements Reduce Log Write Latch (LC19) contention Eliminate CPU spin loop to generate an unique LRSN within a data sharing member V9 LRSN will only need to be unique for updates against the same data/index page V9 Allow multiple rows inserted into the same data page with the same LRSN V10 Parallel log force for dual active logs Option to take system checkpoint based on time or logs, whichever occurs first Online to add new active log data sets via SET LOG NEWLOG(dsn) COPY(1 or 2) Recommend to format the data set with DSNJLOGF 23

Utility Enhancements Removed UTSERIAL lock for greater utility concurrency Support data set level FlashCopy for COPY, RECOVER, LOAD, and REORG New BACKOUT YES option for point in time recovery ziip-enablement for RUNSTATS Auto sampling rates & page sampling instead of row sampling REORG enhancements for LOB Support SHRLEVEL CHANGE option Permit rows to flow between partitions Allows REORG REBALANCE with LOB columns Allows ALTER of LIMITKEY with LOB columns LOAD/UNLOAD spanned record support for LOB and XML 24

DB2 10 Summary Many opportunities for price/performance (cost) improvements Major theme of this release Most welcome to our customers Significant DBM1 31-bit VSCR after rebind Opportunity for scale up and LPAR/DB2 consolidation REBIND required to obtain most performance and VSCR improvements Plan, provision, and monitor real storage consumption 25

26