IBM DB2 11 for Z/OS Technical Overview
Total Page:16
File Type:pdf, Size:1020Kb
IBM® Information Management Software Front cover IBM DB2 11 for z/OS Technical Overview Understand the synergy with System z platform Enhance applications and avoid incompatibilities Run business analytics and scoring adapter Paolo Bruni Felipe Bortoletto Ravikumar Kalyanasundaram Sabine Kaschta Glenn McGeoch Cristian Molaro ibm.com/redbooks International Technical Support Organization IBM DB2 11 for z/OS Technical Overview December 2013 SG24-8180-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xxi. First Edition (December 2013) 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). Note: This book is based on a pre-GA version of a product and may not apply when the product becomes generally available. We recommend that you consult the product documentation or follow-on versions of this book for more current information. © Copyright International Business Machines Corporation 2013. 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 Tables . xiii Examples . .xv Notices . xxi Trademarks . xxii Summary of changes. xxiii December 2013, First Edition. xxiii May 2014, First Update. xxiii Preface . .xxv Authors. xxv Now you can become a published author, too! . xxvii Comments welcome. .xxviii Stay connected to IBM Redbooks publications . .xxviii Chapter 1. DB2 11 for z/OS at a glance . 1 1.1 Subsystem . 2 1.2 Application functions . 2 1.3 Operations and performance . 3 Part 1. Subsystem. 5 Chapter 2. Synergy with System z. 7 2.1 Synergy with IBM zEnterprise System . 8 2.1.1 Faster CPU speed . 8 2.1.2 More system capacity . 8 2.1.3 zEC12 hardware features . 8 2.2 Synergy with IBM System z and z/OS . 12 2.2.1 AUTOSIZE options VPSIZEMIN and VPSIZEMAX. 12 2.2.2 1 MB page frames for DB2 execution code . 12 2.2.3 Improved performance of batch updates in data sharing . 13 2.2.4 Improved usability and consistency for security administration . 13 2.2.5 Log writing. 13 2.3 Using zIIP speciality processors . 14 2.4 Reduced need for REORG . 15 2.5 DFSMS storage tiers. 16 2.5.1 Use cases for storage tiers . 18 2.5.2 Setup and invocation of storage tiers . 18 2.5.3 Use cases for DB2 . 20 2.6 Additional System z enhancements . 21 2.6.1 Enhancing DB2 BACKUP SYSTEM solution . 21 2.6.2 z/OS DFSMS VSAM RLS for z/OS catalog support . 21 2.6.3 DDF Synchronous Receive support . 21 2.6.4 zEnterprise Data Compression . 21 Chapter 3. Scalability . 23 © Copyright IBM Corp. 2013. All rights reserved. iii 3.1 Extended RBA and LRSN . 24 3.1.1 Reaching the end of the basic RBA . 24 3.1.2 The new 10 byte RBA and LRSN . 25 3.1.3 Considerations before converting to extended format . 29 3.1.4 Steps for enabling the extended RBA/LRSN format . 32 3.1.5 Converting the BSDS . 32 3.1.6 Converting DB2 catalog and directory . 35 3.1.7 Converting data from 6 byte to 10 byte RBA/LRSN or vice versa. 36 3.1.8 Additional considerations regarding utilities . 41 3.2 NOT LOGGED for declared global temporary tables . 44 3.2.1 Syntax extension. 44 3.2.2 Undo processing for NOT LOGGED DGTTs . 45 3.2.3 Thread reuse. 46 3.2.4 Sample scenarios . 46 3.3 More open data sets (DSMAX) . 49 3.4 PBG mapping tables to lift the 64 GB limit . 49 3.4.1 Autonomic creation of the mapping table . 49 3.4.2 Mapping tables up to 16 TB . 50 Chapter 4. Availability. 51 4.1 Online schema changes and enhanced recovery options . 52 4.1.1 Scope of enhancements for online schema changes in DB2 11. 52 4.1.2 How it works . 53 4.1.3 Effect of MODIFY RECOVERY. 57 4.1.4 Considerations for LOBs. 57 4.1.5 Restrictions for the window between PIT recovery and REORG . 58 4.1.6 More restrictions for PIT recovery after materializing REORG . 59 4.1.7 Determine if a table space is eligible for PIT recovery prior to REORG . 59 4.2 Automatic recovery of indexes from GRECP or LPL status . 60 4.2.1 RESTORE SYSTEM after two-pass LPL/GRECP recovery has occurred . 61 4.2.2 RECOVER INDEX after two-pass LPL/GRECP recovery has occurred. 61 4.3 Improved availability when altering limit keys . 61 4.3.1 Considerations for tables containing LOBs. 63 4.3.2 LOAD REPLACE . 64 4.3.3 RECOVER . ..