DB2 10 for Z/OS Performance Topics
Total Page:16
File Type:pdf, Size:1020Kb
IBM® Information Management Software Front cover DB2 10 for z/OS Performance Topics Discover the functions that provide reduced CPU time in CM and NFM Understand improved scalability and availability Evaluate the impact of new functions Paolo Bruni Felipe Bortoletto Ravikumar Kalyanasundaram Glenn McGeoch Roger Miller Cristian Molaro Yasuhiro Ohmori Michael Parbs ibm.com/redbooks International Technical Support Organization DB2 10 for z/OS Performance Topics June 2011 SG24-7942-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xxi. First Edition (June 2011) This edition applies to IBM DB2 Version 10.1 for z/OS (program number 5605-DB2). © Copyright International Business Machines Corporation 2011. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . ix Tables . .xv Examples . xvii Notices . xxi Trademarks . xxii Preface . xxiii The team who wrote this book . xxiii Now you can become a published author, too! . xxvi Comments welcome. xxvi Stay connected to IBM Redbooks . xxvii Summary of changes. xxix June 2011, First Edition . xxix December 2011, First Update. xxix January 2013, Second Update . xxix August 2013, Third Update . xxix Chapter 1. Introduction. 1 1.1 Executive summary. 2 1.1.1 Performance benefit summary . 2 1.1.2 Conclusion . 2 1.2 General introduction to DB2 10. 2 1.2.1 Performance improvements . 2 1.2.2 Unsurpassed resiliency for business-critical information . 3 1.2.3 Rapid application and warehouse deployment for business growth . 4 1.2.4 Enhanced business analytics and mathematical functions with QMF. 5 1.3 Performance expectations for DB2 10 . 5 1.3.1 Insert performance . 8 1.3.2 When is it necessary to REBIND . 9 1.3.3 What else is needed to get performance out-of-the-box. 10 1.3.4 DB2 10 improvements for RELEASE(DEALLOCATE) . 11 1.3.5 Performance estimation . 11 1.4 How to read this book . 11 Chapter 2. Subsystem . 15 2.1 Catalog restructure . 16 2.1.1 Catalog changes . 17 2.1.2 Impact of DB2 catalog migration. 18 2.1.3 DDL performance and concurrency . 19 2.1.4 BIND and REBIND stability and performance. 19 2.1.5 Compression and inline LOBs for SPT01 . 21 2.2 Latching contention relief . 22 2.2.1 Latch class 19 . 23 2.2.2 Latch class 24 (EDM) . 23 2.2.3 Latch class 32 . 25 2.2.4 UTSERIAL elimination . 25 © Copyright IBM Corp. 2011. All rights reserved. iii 2.3 Dynamic prefetch enhancements . 26 2.3.1 Disorganized index scan using list prefetch . 27 2.3.2 Row level sequential detection . 28 2.3.3 Progressive prefetch quantity . 30 2.3.4 Summary on prefetch improvements . 30 2.4 Buffer pool enhancements . 30 2.4.1 Buffer storage allocation . 31 2.4.2 In-memory table spaces and indexes . 31 2.4.3 DB2 10 buffer pool prefetch and deferred write activities . 33 2.5 Work file enhancements . 34 2.5.1 Support for spanned work file records . 34 2.5.2 In-memory work file enhancements . 34 2.5.3 Work file table spaces. 37 2.6 Logging enhancements. 39 2.6.1 Log latch contention reduction . 39 2.6.2 Long term page fix log buffers . 39 2.6.3 LOG I/O enhancements . 40 2.6.4 Performance with log writes . 41 2.7 I/O parallelism for index updates. 43 2.8 Space search improvement . 45 2.9 Log record sequence number spin avoidance for inserts to the same page. 46 2.10 Compression on insert . 46 Chapter 3. Synergy with z platform . 49 3.1 1 MB page frame support . 50 3.2 zIIP usage with DB2 10. 50 3.2.1 RUNSTATS zIIP eligibility. 51 3.2.2 Asynchronous I/O zIIP eligibility . 56 3.3 Open and close data sets . 63 3.4 Disk storage enhancements . ..