IBM DB2 11 for Z/OS Performance Topics
Total Page:16
File Type:pdf, Size:1020Kb
Front cover IBM DB2 11 for z/OS Performance Topics Reduce processor time in CM and NFM Improve scalability and availability Evaluate impact of new functions Paolo Bruni Ping Liang Brian Baggett Cristian Molaro Jeffrey Berger Todd Munk Neena Cherian Mai Nguyen Nguyen Dao Tomokazu Ohtsu David Dossantos Bharat Verma Akiko Hoshikawa Lingyun Wang Maggie Jin Dan Weis Gopal Krishnan Chung Wu David Zhang ibm.com/redbooks International Technical Support Organization IBM DB2 11 for z/OS Performance Topics July 2014 SG24-8222-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xxi. First Edition (July 2014) This edition applies to Version 11, Release 1 of DB2 for z/OS (program number 5615-DB2) and Version 11, Release 1 of DB2 Utilities Suite for z/OS (program number 5655-W87). © Copyright International Business Machines Corporation 2014. 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 . xi Examples . .xv Tables . xix Notices . xxi Trademarks . xxii Preface . xxiii Authors. xxiii Now you can become a published author, too! . xxvii Comments welcome. xxvii Stay connected to IBM Redbooks . xxvii Chapter 1. Introduction. 1 1.1 Executive summary. 2 1.1.1 Performance summary . 2 1.1.2 High-level performance expectations . 3 1.2 DB2 11 for z/OS at a glance . 4 1.2.1 CPU savings and performance improvements . 4 1.2.2 Resiliency and continuous availability. 5 1.3 Performance measurements for DB2 11 for z/OS . 8 1.3.1 DB2 11 strong performance points . 9 1.3.2 Subsystem level performance. 10 1.3.3 Update performance . 12 1.3.4 Query performance . 12 1.3.5 Consistent performance and reduction of REORG frequency . 13 1.3.6 Application performance . 14 1.4 Performance after migration . 14 1.4.1 Sample OLTP workloads: Migration scenario. 15 1.4.2 Sample query workload: Migration scenario . 17 1.4.3 Conclusions . 17 1.5 How to read and use this book . 18 1.5.1 Book's structure . 19 1.5.2 Measurement environments . 20 Chapter 2. Subsystem . 21 2.1 Extended log RBA and LRSN . 22 2.1.1 Extended RBA in general . 22 2.1.2 Impact on performance . 24 2.1.3 LRSN spin avoidance . 27 2.2 Virtual storage enhancements . 27 2.2.1 Moving log buffers to HCSA with PC=NO. 28 2.2.2 Common storage above the bar . 29 2.2.3 xProc storage . 31 2.3 CPU reductions with selective decompression . 35 2.4 Column processing runtime optimization . 38 2.4.1 Column processing improvements . 38 © Copyright IBM Corp. 2014. All rights reserved. iii 2.4.2 Performance measurements. 39 2.5 Optimization of RELEASE(DEALLOCATE) BIND/REBIND option . 40 2.5.1 RELEASE(DEALLOCATE) BIND/REBIND option with DB2 11 . 40 2.5.2 Performance measurements. 41 2.6 Buffer pool management. 41 2.6.1 Getpage classification. 42 2.6.2 MRU management . 43 2.6.3 Sequential detection and dynamic prefetch . 43 2.6.4 New buffer pool statistics in DB2 11 . 43 2.7 Change Data Capture Log read (IFCID 306) improvement. 45 2.7.1 IBM InfoSphere Data Replication for DB2 for z/OS . 45 2.7.2 Performance improvement from IFI filtering . 46 2.8 ACCESS DB command performance improvement . 46 2.9 Security . 48 2.9.1 Enhancements for exit authorization checking . 48 2.9.2 Enhancements for program authorization. 48 2.9.3 Removal of column access control restrictions. 48 2.9.4 AT-TLS encryption enhancement in DB2 10. 49 2.10 Scalability improvements with many partitions . 50 2.10.1 DB2 11 enhancement . 51 2.10.2 Performance measurements. 51 2.11 Persistent thread break-in . 53 2.11.1 Break into persistent threads . 53 2.11.2 Performance implications . 54 2.12 Classic IRWW workload measurements . 55 2.12.1 DB2 10 to DB2 11 migration scenarios. 55 2.12.2 DB2 11: zEC12 versus z196. 55 2.13 High insert batch workload measurements . 56 2.13.1 Random insert and delete. 56 2.13.2 Journal table inserts . 57 2.13.3 Message queue inserts and deletes . 58 2.13.4 APPEND and MEMBER CLUSTER with sequential key insert. ..