march, 2017 db2 12 overview - nedb2ug 12 overview 20170307.pdf · this should bring down our...
TRANSCRIPT
© 2017 IBM Corporation
DB2 12 Overview
Jeff Josten
Distinguished Engineer, DB2 for z/OS Development
March, 2017
© 2017 IBM Corporation 2
Please Note
• IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion.
• Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.
• The information mentioned regarding potential future products is not a commitment, promise, or
legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract.
• The development, release, and timing of any future features or functionality described for our
products remains at our sole discretion.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
2
© 2017 IBM Corporation 3
DB2 Dynamics: The market is moving, forcing businesses to transform
Explosion in transaction growth
driven by mobility and the
Internet of Things
Analytics is moving to Cognitive
real-time
to capture new opportunities
at the point of impact
Hybrid cloud is the new standard
for
delivering service, agility,
trust and efficiency
3
The market is moving, causing DB2 to transform
© 2017 IBM Corporation 5
Redefining enterprise IT for digital business and the mobile app economy
DB2 12 for z/OS – GA October, 2016
5
Scale and speed for the next era of mobile applications Super fast ingest rate -- over 11 Million Inserts per second for IOT, Mobile and Cloud*
280 trillion rows in a single DB2 table, with agile partition technology
DRDA Fast Load for easier loading of data from distributed clients
In-Memory database Advanced in-memory techniques in DB2 12 means faster transactions with less CPU
Deliver analytical insights faster, expand to more applications 2-10x improvement for modern analytics workloads
Individual modern analytic queries may see up to 100x improvement**
JSON data management improvements
SQL improvements such as SQL pagination, enhanced MERGE, piece-wise DELETE
Easier to manage, higher availability Cloud-based self-service provisioning of resources
Automated admin operations such as RUNSTATS
More schema and partition flexibility
TRANSFER OWNERSHIP for easier security admin
Dynamic SQL plan stability
The launch pad for Continuous Delivery
*: Under dedicated environment using 12 way data sharing on z13, insert against one table (PBR/Member Cluster) from
zLinux clients. All partitions were GBP dependent and logging enabled. Our record is, 11.7 million insert per second
without index, 5.3 million insert per second with index defined.
** Modern analytics queries evaluated include SQL constructs such as UNION ALL, outer joins, complex expressions
(CASE, CAST, scalar functions etc)
© 2017 IBM Corporation 6
DBaaS DB2-as-a-Service
Digital & Modern Enterprise App
Native RESTful APIs DaaS DB2 Data-as-a-Service
Hybrid Cloud Services For DB2
DB2 Customers want DBaaS (DB2 as a Service) and they want DB2 Data as a Service (RESTful APIs to DB2)
for improved administration with lower skills required, and for their next generation application development
On-prem cloud services initially, can be extended to public cloud in the future
DATA ANALYTICS BUSINESS ANALYTICS OPERATIONAL ANALYTICS
DB2 z/OS APIs
DB2 for z/OS and Cloud
SYSTEM PROVISIONING :
INSTALL, MIGRATION,
HOUSEKEEPING
RESOURCES PROVISIONING :
DB,TABLES, INDEXES, DATA
APP DEV LIFECYCLE :
SINGLE OR MULTI-PLATFORM
APPLICATION DEPLOYMENT
APP DEV ENVIRONMENT :
DEDICATED ENVIRONMENT
ON OR OFF PREMISES
© 2017 IBM Corporation 7
DB2 Data as a Service DB2 Cloud/Mobile modernization with RESTful APIs and JSON
Enterprise
Apps
Enterprise
Data
Enterprise
Transaction
Processing
Systems of Record
Cloud APIs
Mobile-Optimized APIs
Cloud-based
Services Enterprise
Systems
Integration
z/OS Connect or DB2 native REST
Serving mobile data directly from z/OS is 40% less
expensive than exporting to a system of engagement
CICS,
IMS
Batch,
WAS
• Many modern application developers work with REST services and JSON data formats
• DB2 12 (and DB2 11 APAR PI66828) ship a Native DB2 REST service • Easier DBA management of DB2 RESTful services, means easier adoption
• z/OS Connect Enterprise Edition (zCEE) integration
Native DB2 REST service provider now available
© 2017 IBM Corporation 8
Unleashing DB2 data for the API Economy
API API
API
API Connect
API API
API
RESTful Services: a new way to interact with z/OS data
CICS
IMS
Batch
…
© 2017 IBM Corporation 9
DB2 z/OS REST Service Provider - Solution Overview
DDF
Service Discovery
Data Transformation
Service Invocation
Access Control
Tracing and Auditing (SMF)
SQL
Data
Studio
RESTful JSON
Provides a DB2 integrated solution for enabling REST APIs to access DB2 Data
Leverages existing DDF capability including thread pooling, profiling and WLM classification of services
A new HTTP listener is provided, accepts JSON payloads and returns results as a JSON response
Does not require installation of any additional products or require configuring a new network interface
Description of service is in the DB2 catalog table and a prepared package used to execute the service
Provides a set of system defined services that can be used create and discover DB2 services
Security, accounting, statistics, and auditing uses existing DB2 instrumentation infrastructure
DB2 maps a service to a single SQL statement (eg. INSERT, SELECT, CALL) execution
DB2 services integrate into z/OS Connect EE by using the z/OS Connect EE REST Client
Authentication
DDF
© 2017 IBM Corporation 10
An optimized and automated process for rapid deployment of applications and database schema changes
to simplify and speed the delivery of critical operational environments for exceptional business value
SECURITY • Safeguard valuable assets under the control and
security of DB2 for z/OS • Transparent and auditable review built into process • Protected. Secured.
IBM DB2 Change Management Solution Pack
SIMPLICITY • Reduce errors of manual process • Frees up resources by allowing other users to deploy • Collaborative. Accurate.
SPEED • Reduce time and cost to deploy application changes • Deploy more frequently with more autonomy and
control • Automated. Accelerated.
IBM DevOps for DB2 for z/OS
Check-in code /
schema
User
Dev Test
DB changed
App deployed
Validated
Develop
DB changed
App deployed
Validated
Promote
RTC Build UCD
AOC
zOS
Toolkit
DB changed
App deployed
Validated
Hidden automated deployment
See the new video on World of DB2! “DB2 for z/OS – IBM Urban Code Deploy – Automate Application Deployments”
© 2017 IBM Corporation 11
The Ultimate HTAP Platform
DB2 z/OS DB2 ANALYTICS
ACCELERATOR
DB2 Analytics Accelerator
for z/OS on Cloud
Supports transaction processing and
analytics workloads concurrently, efficiently
and cost-effectively
Delivers industry leading performance for
mixed workloads
The unique heterogeneous scale-out
platform
Superior availability, reliability and security
CONVENTIONAL TRANSACTIONS
ANALYTICS WORKLOADS
HTAP WORKLOADS
© 2017 IBM Corporation 12
Announcing a new dimension for the DB2 Analytics Accelerator . . .
DB2 Analytics Accelerator for z/OS Version 6.1
Integrated on-prem and cloud solution supporting transactional and analytics
workloads for right-time insight
DB2 Analytics Accelerator on Cloud Version 1.1
High-speed analysis of enterprise data with
cloud agility, flexibility and ease of deployment
High-speed analysis
Rapid insight from enterprise data in a secure
cloud environment
Fast and Simple Deployment
Improved agility and quick time to value
Secure cloud environment
Comprehensive data encryption capabilities
based on a dedicated, bare-metal deployment
Reduce cost
Speed implementation on analytics projects to
reduce overall implementation costs
New dimension of deployment
Support for the IBM DB2 Analytics Accelerator
on Cloud Version 1.1
Flexible hybrid cloud
A hybrid model with tight integration between
cloud and on-premise deployment options
Speed and Simplify
Quickly deploy new or additional Accelerator
instances by deploying applicable workload in
the cloud
Support for Data Science using R
Support of R functions enabling in-database
analytics on DB2 for z/OS using R - the most
popular language used by data scientists
© 2017 IBM Corporation 13
Data Data Prep ML Algo Model Deploy Predict
The z Systems on premise advantage
People, processes, and infrastructure
Data in place analytics for optimal
performance, security, & governance
Federated analytics across a wide variety of
structured and unstructured data from z and
non-z data sources
Live transactional data with continuous
feedback leads to better models and more
accurate predictions
IBM Machine Learning for z/OS
Enabling Continuous Intelligence on the World’s Most Valuable Data
GA March 17, 2017
© 2017 IBM Corporation 14
DB2 for z/OS Timeline
V8 V9
DB2 10 2004
2007 2010
2013
DB2 11
2016
V8 EOS 4/2012
DB2 12
Version GA
V7 3/2001
V8 3/2004
V9 3/2007
V10 10/2010
V11 10/2013
V12 10/2016
V9 EOS 4/2014
V10 EOS 9/2017
DB2 12 ESP (“beta”) started in March, 2016
Over 50 customers and partners tested
DB2 12 in the ESP
GA October, 2016
Future
Continuous
Delivery
© 2017 IBM Corporation 15
What are our customers saying about DB2 12 ?
DB2 12 Cost Savings The biggest benefit with DB2 12 comes with Index in memory optimization (Fast Traverse Block) which provides incredible costs savings with lower CPU consumption for OLTP – nearly 9-10% after Rebind. This should bring down our mainframe operating costs.
Jacek Surma
DII,Zespół Systemów Mainframe
DB2 12 - The #1 Enterprise Server for Mission Critical Data !
We are really excited about Performance Enhancements in DB2 12 especially advance "in-memory" (Fast Traversal Blocks FTB) capabilities. During testing we have seen up to 5 % CPU reduction and this clearly relates to enormous potential cost savings and positions DB212 as a leader in Enterprise Database market.
İbrahim Parlak
IT Manager
Garanti Bank
DB2 12 Availability & Security We are very pleased with many of the new DB2 12 features, especially with Transfer Ownership and Pending Alter Column feature this give our Enterprise higher availability and security which are “critical” in the banking industry.
Jacek Surma
DII,Zespół Systemów Mainframe
DB2 12 – Exciting new capabilities
We love the "agile partition technology" that DB2 12 offers. This feature makes it easier for ITERGO to address "hot spots" where "new data" is inserted. This is particularly important when enterprises are looking for scale, speed and reduced costs .
Walter Janissen
Chief Architect
ITERGO
DB2 12 rules the API Economy The RESTful API is yet another way where DB2 is at the leading edge – and again cementing DB2’s and the mainframes position as a full capable server in the IT infrastructure of today. Using these REST-services Mobile applications can both be built faster and run faster !
Frank Petersen
Chief Architect
BankData
DB2 12 –Offering Advanced “in-memory” technology
"We are looking forward to exploiting the advanced "in-memory" technology that DB2 12 offers (Index Fast Traverse Block) this gives us an opportunity to reduce CPU resource consumption and performance cost by using more real memory. It is very cost effective trade off for enterprises like us that run DB2 12 on z13 machines. During testing we have seen up to 23% CPU reductions in "specific" test cases". Henrik Henriksen
DB2 DBA Danske Bank
© 2017 IBM Corporation 16
DB2 12: Hear What the customers are saying…
DB2 12 – More Control over Dynamic Plan
Stability
“Dynamic Plan stability give us much better options to control and
manage dynamic SQL. It is very important for us, as dynamic
SQL becomes more and more popular. Dynamic SQL becomes
an increasing part of our workload and we want to have the same
control of Dynamic SQL as we have had for Static SQL for years.”
Henrik Henriksen
Danske Bank
Mainframe & Midrange Services
Gaining Deeper Insight with DB2 12
““I am excited about all of the great new SQL functionality that is
coming with DB2 12. Things like FETCH FIRST on DELETE,
simpler pagination, and of course, tons of performance
enhancements, will make it easier than ever to get insight from our
DB2 databases.”
Craig Mullins
IBM GOLD Consultant
IBM Champion for Analytics
DB2 12 - The #1 Enterprise Server offering “in-memory”
technology
“In the past few releases of DB2 for z/OS, IBM has systematically removed the most
significant virtual storage limits DB2, so that customers can more fully exploit the real
storage available in their System z servers. The “in-memory” features of DB2 12 take this
a step further, allowing customers to really take advantage of today’s larger memory
configurations in order to significantly reduce operational costs and improve
application performance. There’s more still to do, but DB2 is now a bona fide in-memory
database.”
Julian Stuhler
DB2 Specialist, IBM Gold Consultant,
IBM Champion for Analytics
DB2 12 – RESTful API helping enterprises
to be Agile
“Restful API in DB2 12 for z/OS allows you to develop mobile and
other apps with scalable performance in a matter of minutes. Do you
want to be quick and agile ? Use Restful API in DB2 12 for z/OS”
Kurt Struyf
IBM GOLD Consultant
IBM Champion for Analytics
© 2017 IBM Corporation 17
What are our customers saying about DB2 12 ?
Immediate SAP certification of
DB2 12 *
* See SAP Note 2302997
© 2017 IBM Corporation 20
What is it? • An in-memory database (IMDB) is one that primarily relies on main memory
for data storage (as opposed to disk)
What does this mean? • New and existing workloads can benefit tremendously
• Ex. Fast lookup of transactional data from mobile devices
• The DB2 Lab has measured up to a 23% reduction in CPU
on existing workloads
• Memory on the z platform is getting larger and cheaper
• We expect more growth in future hardware
• DB2 12 exploits large memory for improved performance and
CPU reductions
• Larger buffer pools to reduce I/O – up to 4 TB
• New memory optimized structures to speed up performance
• Fast Traverse Blocks (FTBs), Contiguous Buffer Pools,
fast insert pipes, …
DB2 12 is an In-Memory Database
DB2 In-Memory database means faster transactions and queries, with lower CPU overhead
Not to be confused with IDAA value
IDAA
• Accelerates complex analytical queries, up to
2000x faster than traditional DB2 could
• Is a hybrid data store that allows DB2 to deliver
industry leading performance for mixed
workloads
In-memory DB2
• Can be used to speed up and lower the overhead of
DB2’s traditional workloads (primarily OLTP-based)
• Can very much be used in conjunction with IDAA
© 2017 IBM Corporation 21
In-Memory Index Optimization
A new Index Fast Traverse Block (FTB) is introduced Memory optimized structure for fast index lookups
Resides in memory areas outside of the buffer pool • New zparm INDEX_MEMORY_CONTROL
• Default=AUTO (min. of 500 MB or 20% of allocated BP storage)
UNIQUE indexes only, key size 64 bytes or less
DB2 automatically determines which indexes would benefit from FTB
DISPLAY STATS command shows which indexes are using FTBs
New SYSINDEXCONTROL catalog table
Specify time windows to control use of FTBs for an index
New IFCIDs 389 and 477 to track FTB usage
© 2017 IBM Corporation 22
Simple Look-up : Faster & Cheaper
22
6%
11%
16%
23%
2 3 4 5
Index Levels
CPU Improvement (%) from Simple Lookup in DB2 12
Up to 23% CPU reduction for index look up using DB2 12 In-memory index tree
© 2017 IBM Corporation 24
INSERT Performance
Insert workloads are amongst the most prevalent and performance critical
DB2 12 delivers significant improvements for Non-clustered insert: journal table pattern
UTS, MEMBER CLUSTER
Advanced new insert algorithm to streamline space search
Default is to use the new fast algorithm for qualifying table spaces • DEFAULT_INSERT_ALGORITHM zparm can change the default
• INSERT ALGORITHM table space attribute can override zparm
© 2017 IBM Corporation 25
Simulated stock exchange transactions (row size = 200 bytes)
Utilizing DB2 12 features : New insert algorithm and scalability enhancements
All done with single z13 box
12 way DB2 data sharing with 4 way sysplex with high availability
7 DS8870 control units: logs spread across 6, tables/indexes separate
2GB/sec total logging
5.3 M inserts per second after adding an index
About 2x faster than V11 on average
Relieves bottlenecks that can arise with the old insert algorithm
25
DB2 12 11.7 Million Inserts Per Second
- Scalability without compromise
© 2017 IBM Corporation 26
UNION ALL
w/View
Complex Outer
Join, UDF
Complex
reporting,
large sort
Simple query
or large data
scan
CPU Reduction %
DB2 12: CPU Reductions for Query Workloads
(Pre-GA measurements)
© 2017 IBM Corporation 27
DB2 12: Simplicity and RAS
Dynamic SQL Plan Stability Stabilize performance of repeating dynamic SQL statements
RUNSTATS automation Optimizer automatically update profile with RUNSTATS recommendations
RLF control for static packages
LOB compression Using zEDC hardware
DRDA Fast Load Callable command for fast load of data into DB2 directly from files on distributed client
Much larger active log data sets – up to 768 GB
© 2017 IBM Corporation 28
Dynamic SQL Plan Stability
• Problem:
– Unstable performance of repeating dynamic SQL statements
– Environmental changes can result in change in access path or performance regression, and this can be tough to manage
• RUNSTATS
• applying sw maintenance
• DB2 release migration
• zparm changes
• schema changes
• Static SQL has several advantages – Access path established at BIND time
– Static plan management gives advanced management functions
• Objective: extend static SQL advantages to dynamic SQL
© 2017 IBM Corporation 29
Dynamic Plan Stability
DB2 12 plan – base infrastructure Opaque parameter CACHEDYN_STABILIZATION
Capture • Command with / without monitoring
• Global variable
FREE
EXPLAIN (current, invalid)
Invalidation
LASTUSED (identify stale statements)
Instrumentation (query hash, explain, cache + catalog hit ratio)
APPLCOMPAT is part of matching criteria
Key DB2 12 limitations Temporal stabilization not currently included
REBIND support not included • No PLANMGMT/SWITCH/APREUSE
© 2017 IBM Corporation 30
DB2 12 DRDA Fast Load
• Problem:
• DB2 provides the DSNUTILU stored procedure to load data from a client
• But this is difficult to use, app must xfer data to z/OS file
• Solution:
• DB2 Client API (CLI and CLP) for remote load into DB2
• Easy/fast loading of data from file that resides on client
• Internal format (SAP), as well as delimited and spanned (LOB data)
• Overlap network operations with data ingest on the DB2 server
• Measured results show as fast or faster than DB2 LOAD utility
• zIIP eligible
© 2017 IBM Corporation 31
DB2 12: application enablement
Several SQLPL Improvements SQLPL in triggers, including versioning and debug support
SQLPL obfuscation
Support for constants
Dynamic SQL in SQLPL UDFs and stored procedures
ARRAY and LOB global variables
JSON function improvements for easier retrieval of JSON dataq
© 2017 IBM Corporation 32
DB2 12: application enablement…
Enhanced MERGE support
New SQL Pagination syntax
Piece-wise modification of data (DELETE)
XMLModify multiple update support
Bi-temporal improvements
Inclusive/inclusive support
Temporal RI
Logical transaction for system time
© 2017 IBM Corporation 33
Enhanced MERGE
• DB2 z/OS initial support for MERGE statement with limited functionality was
delivered with Version 9:
• Limited to UPDATE and INSERT and only one of each
• Focused on use of host variable column arrays to provide multiple rows of input
data
• In DB2 12, DB2 z/OS MERGE statement will be aligned with behavior defined in
SQL Standard and DB2 family.
• Source data as a table-reference
• Multiple MATCHED clauses
• Additional Predicates with [NOT]MATCHED
• Support DELETE operation
• Allow IGNORE and SIGNAL
© 2017 IBM Corporation 34
SQL Pagination
With the growth of web and mobile applications, application developers are
looking for more efficient ways to develop good performing applications.
Numeric-based pagination SELECT * FROM tab OFFSET 10 ROWS FETCH FIRST 10 ROWS ONLY
Data-dependent pagination Existing syntax
WHERE (LASTNAME = ‘SMITH’ AND FIRSTNAME >= ‘JOHN’) OR
(LASTNAME > ‘SMITH’)
New equivalent syntax
WHERE (LASTNAME, FIRSTNAME) > (SMITH, JOHN)
© 2017 IBM Corporation 35
Piece-wise Modification of Data
Mitigate the effects of locking and logging when potentially millions of rows
could be affected by a simple statement like:
"DELETE FROM T1 WHERE C1 > 7“
Solution
Allow the fetch clause to be specified on a searched delete statement
DELETE FROM T1 WHERE C1 > 7 FETCH FIRST 5000 ROWS
ONLY;
COMMIT;
© 2017 IBM Corporation 36
• Relief for table scalability limits
• Simplify large table management
• Improve availability
• Agile schemas (more online schema changes)
• Security and compliance improvements
• Streamline migration process
• Utility performance, availability, usability
DBA Productivity – DB2 12 Goals
© 2017 IBM Corporation 37
Partition By Range Current Limitations
Maximum table size limited to 16Tb (4k pages) or 128Tb (32k pages)
Maximum number of partitions is also dependent on DSSIZE and page size
E.g. if DSSIZE = 256 GB and page size = 4K then Max Parts is 64
DSSIZE is at Table Space Level not Part Level
All Parts inherit the same DSSIZE set at Table Space
No ability to have differing Partition sizes
Altering DSSIZE requires REORG of entire tablespace
© 2017 IBM Corporation 38
DB2 12 Lifting the Limits
New PBR tablespace structure called ‘PBR RPN’
Relative page numbers (RPN) instead of absolute
Remove dependency between #partitions & partition size
New RID is Relative RID
Part Number stored in Partition Header Page
Page number stored in Data Page, relative to start of the partition
Up to 1TB Partition Size, or 4 Petabytes (PB) per table space
Maximum number of rows with 4K pages increased from 1.1 to 280 Trillion
@1,000 rows inserted per second, more than 8800 years to fill!
Increasing DSSIZE is supported at partition-level
New DSSIZE support for indexes
These infrastructure changes position DB2 for future enhancements
Increase in partition limits, increase number of rows per page
Attribute variance by partition, schema changes via REORG PART
© 2017 IBM Corporation 39
DB2 12 Online Schema Improvements
Insert partition
Online deferred ALTER INDEX COMPRESS YES
Previously placed indexes in RBDP
Option to defer column-level ALTERs
Materialize through online REORG
Avoid availability constraints & conflict with other deferred alters
TRANSFER OWNERSHIP
© 2017 IBM Corporation 40
IBM DB2 12 Utilities – key to enabling DB2 function
Continuing evolution of REORG utility
Diminishing importance of data re-clustering for application performance
Optimizer improvements, I/O performance improvements, caching improvements, contiguous buffer pools
Increasing use of IBM REORG for schema evolution
Insert partition
PBR RPN conversion
Deferred column-level alter
LOB compression
Improved PBG partition management
Overflow to new PBG partition to ensure successful partition-level REORG of PBGs
© 2017 IBM Corporation 41
DB2 12 Utilities Maximizing Efficiency & Eliminating Application Impact
Improved efficiency
Further reduction in CPU cost & more offload to zIIP
• REORG up to 57% zIIP offload
• LOAD up to 90%
REGISTER NO option to eliminate data sharing overhead for RUNSTATS, UNLOAD
COLGROUP statistics CPU cost reduced by up to 25%, elapsed time up to 15%
More efficient handling of compressed data to reduce CPU and elapsed time across range of utilities
REORG avoidance: Immediate increase of partition DSSIZE with PBR RPN
Improved FlashCopy support
• Multiple DFSMS COPYPOOL support for SLBs & better messaging
• Improved FlashCopy handing in REORG & template support for MGMTCLAS, STORCLAS
Eliminating application impact
Improved LOAD utility support for sequences with automatic handling of MAXASSIGNEDVAL
Online LOAD REPLACE – non-disruptive refresh of reference tables
Skip invalidation of cached statements by RUNSTATS
Removed recoverability restrictions for PBG table spaces
© 2017 IBM Corporation 42
Data Sharing Improvements
Support for global transactions
DDF shared session data across group
DDF transaction re-routing, session token for client fail-over
Data sharing performance improvements:
Improved lock avoidance checking to reduce CF lock requests
In-memory indexes can reduce GetPages and CF GBP requests
Improved insert space search can avoid P-lock contention and streamline inserts
RUNSTATS and UNLOAD ISOLATION(UR) to avoid CF page registration
© 2017 IBM Corporation 43
Data Sharing Improvements …
New data sharing peer recovery option
Retry of automatic LPL and GRECP recovery
Asynchronous CF Lock duplexing
Reduces overhead for system managed duplexing of CF LOCK1 and SCA structures
Secondary structure updates are performed asynchronously with respect to primary updates
DB2 will sync up with z/OS to ensure data integrity i.e., all modify locks have been “hardened” in the
secondary lock structure before the corresponding undo/redo record for the update is written to DB2 the
active log on DASD
Increases the practical distance for multi-site sysplex operations while duplexing of CF LOCK1 structure
Requirements:
• z/OS 2.2 SPE with PTFs for APARs OA47796 and OA49148
• CFCC Level 21 (z13)
• DB2 12
© 2017 IBM Corporation 44
DB2 12 Async Lock Replication Two Data Centers at Larger Distance
RPO: No data loss
RTO: Disk hyperswap
Seconds
Data center A
IBM z System
CF
Data center B
Sync Mirror (PPRC )
Up to
~100 km
IBM z System
z/OS LPAR
DB2
z/OS LPAR
DB2
Linux
SAP NetWeaver
IBM z System
z/OS LPAR
DB2
z/OS LPAR
DB2
IBM z System
z/OS LPAR
DB2
z/OS LPAR
DB2
Linux
SAP NetWeaver
IBM z System
z/OS LPAR
DB2
z/OS LPAR
DB2
IBM z System
CF
DB2 data sharing
Duplex GBPs, SCA
As today
Duplex Locks
Asynch for
improved perfm
Continuous
availability on
site failover
z/OS 2.2 SPE
CFCC level 21
© 2017 IBM Corporation 45
Migration Prerequisites – Hardware & Operating System
Processor requirements:
z196 class processors or higher
Software Requirements:
z/OS V2.1 Base Services, (5650-ZOS), or later
DFSMS V2.1, or later
Language Environment Base Services
z/OS V2.1 Security Server (RACF), or later
IRLM Version 2 Release 3 (Delivered with DB2 12)
Additional details:
http://www.ibm.com/common/ssi/rep_ca/1/897/ENUS215-371/ENUS215-371.PDF
© 2017 IBM Corporation 46
Migration & Catalog
Single phase migration process
No ENFM phase
New function activated through new command: -ACTIVATE FUNCTION LEVEL
BNFA vs. ANFA
APPLCOMPAT rules, fallback rules continue to apply
BSDS conversion to support 10 byte log RBA is pre-requisite
No pre-V10 bound packages
Get rid of 31-bit runtime, some performance improvements
BRF is deprecated
BRF page sets still supported, but zparm and REORG options are removed
Temporal RTS tables
Defined in catalog, enablement is optional
© 2017 IBM Corporation 47
Beyond DB2 12: Delivering Accelerated Value
Deliver desirable, consumable capabilities to the
marketplace with speed and quality
• DB2 for z/OS is moving to a Continuous Delivery model based upon DB2 12
• Why?
– Faster delivery of easily consumable new features
– Integrates perfectly with new DevOps methodologies being
adopted by our users
– Easier deployment enables faster adoption of new technology
• Available on Replay
https://youtu.be/9Bw_iJlj9gs
© 2017 IBM Corporation 48
Analytics
HTAP
In-transaction analytics, machine learning
Cloud
Self-service for app developers
Hybrid cloud
Simplification, self-management
Modern Application Development
Mobile, Internet of Things
SAP
Application portability, open source integration
Blockchain
Technology Leadership
Security
Performance, scalability, in-memory, z integration
Continuous availability
Foundation: internal dev/test tooling modernization for Agile/DevOps
A Look Beyond V12
© 2016 IBM Corporation
Technology Leadership
Analytics
Foundation
Cloud Modern
App Dev
Next Gen
workloads
with our
world class
Qualities of
Service
© 2017 IBM Corporation 49
DB2 Performance Day
One day technical seminar to identify
opportunities across DB2, Analytics, Tools &
Utilities
DB2 11 & DB2 12 Migration Planning
Workshop
Comprehensive review of capabilities,
considerations, preparations & project planning for
DB2 11
DB2 11 Best Practices & Optimization
Workshop
Help set the right level of expectations of DB2 11
and help clients maximize their return on
investment
DB2 Utilities Workshop ½ day session to better understanding of the
features & performance of DB2 Utilities
Client Ready Workshops & Seminars
Fast Start DB2 for z/OS Application Development
Topics Help DB2 for z/OS clients develop applications for DB2
for z/OS
Target Audience: Application Developers
DB2 for z/OS and Cloud Workshop Help DB2 for z/OS clients develop applications for DB2
for z/OS
Target Audience: Application Developers, Technical
Architects
IBM DB2 Analytics Accelerator Workshop How the latest version of this technology can help you
improve the performance and cost of your DB2 for
z/OS based Data Warehouse and related analytical
business processes.
Target Audience: Business / LOB Titles Marketing
Analyst, Application Architect
© 2017 IBM Corporation 50
DB2 12 – More Information
DB2 for z/OS product home page https://www.ibm.com/analytics/us/en/technology/db2/db2-for-zos.html
Whitepaper: DB2 12 for z/OS The In-memory Enterprise Database for Transactions and Analytics http://ibm.biz/BdsyaT
IDUG DB2 12 Technical whitepaper http://www.idug.org/db2v12whitepaper
“Scaling Progressive SAP Solutions with DB2 12 – Immediate SAP Certification of DB2 12 at IBM General Availability”
DB2 12 GA Announcement https://www-01.ibm.com/common/ssi/rep_ca/7/897/ENUS216-077/ENUS216-077.PDF
World of DB2 http://www.worldofdb2.com/
© 2017 IBM Corporation 51
Summary
DB2 for z/OS continues to aggressively evolve to meet the demands of modern application
workloads
Many DB2 12 features were rolled back to field releases for speedier delivery
NoSQL RESTful API
Cloud-style aaS provisioning
JSON enhancements
SQL performance for SAP and other apps
Simulated buffer pools
Numerous utilities enhancements
DB2 is moving to a continuous delivery model to deliver faster with high quality and easier
upgrades for customers
DB2 12 has new infrastructure for CD support
© 2017 IBM Corporation 53
IDAA: Hybrid transaction/Analytical processing
The hybrid computing
platform on z Systems
Supports transaction processing and analytics
workloads concurrently, efficiently and
cost-effectively
Delivers industry leading performance for mixed
workloads
The unique heterogeneous scale-out platform leads
in the industry
Superior availability, reliability
and security
Transaction
Processing
Analytics
Workload
© 2017 IBM Corporation 54
DB2 RESTful API Support
54
• Many modern application developers work with REST services and JSON data formats
• DB2 Adaptor for z/OS Connect provides the means to do this
• Available via DB2 Accessories Suite for z/OS V3R3 • DB2 10 or later
• Future direction: native DB2 REST provider • Easier DBA management of DB2 RESTful services, uses existing DRDA infrastructure
• z/OS Connect Enterprise Edition integration
• DB2 11 APAR PI66828
© 2017 IBM Corporation 55
Cloud Provisioning
Subsystem lifecycle management through administration tools, DSM & z/OSMF
Install, migrate, clone
Application development lifecycle services
Urban Code Deploy (UCD) & z/OSMF workflow integration with DB2 Administration & Object Compare
tools with REST APIs
DB2B (user target)
DB2A (user source)
IBM DB2 Admin Tool & DB2 Object Comparison Tool
z/OSMF
User
REST call over HTTPS
Workflow
SQL, DB2
Commands…
UCD