SlideShare a Scribd company logo
1 of 22
Download to read offline
Temporal Data and other
DB2 10 for z/OS Highlights




   The Information Management Specialists
Topics
•   Introduction
•   DB2 10 for z/OS Overview
•   Temporal Data Support
•   Further Reading
•   Summary


               The Information Management Specialists
Introduction
• Director and Principal Consultant at Triton Consulting
• 23 years DB2 experience, 18 as a consultant working with
  customers in UK, Europe and the US
• IBM Gold Consultant since 1999
• IBM Information Champion
• Former IDUG (International DB2 User Group) President
• Author of IBM Redbooks, white papers and more recently
  “flashbooks”


                  The Information Management Specialists
Topics
•   Introduction
•   DB2 10 for z/OS Overview
•   Temporal Data Support
•   Further Reading
•   Summary


               The Information Management Specialists
DB2 10 for z/OS
• Extensive beta program running throughout
  2009/10, with customers from all around the world
• Generally available since October 2010
• Upgrade path provided from DB2 8 or DB2 9
• Many customers are currently planning their DB2 10
  upgrades, to begin in the next 12-24 months
    DB2 8 for z/OS End of Support in April 2012


                The Information Management Specialists
Top New Features
•   CPU/Performance Improvements      •   In-memory object support
•   Temporal Data                     •   Optimiser enhancements
•   Virtual Storage Enhancements      •   MEMBER CLUSTER for UTS
•   High performance DBATs            •   Backup and recovery
•   Security Extensions                   enhancements
•   Improved Catalog Concurrency      •   Enhanced audit
•   Access Path Management            •   Include additional index
                                          columns
•   pureXML enhancements
•   Currently Committed semantics
                                      •   Enhanced SQL OLAP functions
•   Automated statistics
                                      •   Skip Migration
•   Dynamic schema change
    enhancements                      • And many more….

                    The Information Management Specialists
Topics
•   Introduction
•   DB2 10 for z/OS Overview
•   Temporal Data Support
•   Further Reading
•   Summary


               The Information Management Specialists
Why Temporal Data?
• Most IT systems need to keep historical as well as current
  information
• Industry regulations and competitive pressures are
  prompting IT managers to maintain even more data for
  longer periods of time
• Most warehousing / analytics applications require a
  historical perspective of data
• Implementation requires lots of effort by DBA and
  developer to design, test and implement
     Lots of “reinventing the wheel”


                  The Information Management Specialists
Why Temporal Data?
• DB2 10 provides this functionality as part of the database
  engine – the first major RDBMS vendor to do so
     Improve DBAs and developer productivity
     Reduce errors in application code
     Reduce time-to-market for new applications
     Improve performance by driving function into the database
     engine
     Improve application consistency
     Support compliance / audit requirements


                  The Information Management Specialists
Temporal Data Concepts
• Temporal Table - a table that supports “data
  versioning” to allow point-in-time queries to be
  executed
     Multiple versions of each row are kept by DB2 as they
     change over time
     Additional metadata is kept, recording the period in time
     when a given version of the row was valid
     Contrast to traditional non-temporal tables, where only
     the current version of a row is available unless
     developer/DBA have taken steps to support historical
     perspective

                 The Information Management Specialists
Temporal Data Concepts
• Period – the time during which a given version of a
  row is/was valid
     Period is defined by special start timestamp and end
     timestamp columns in the temporal table
     Note that in current DB2 implementation start timestamp
     is inclusive (>=), but end timestamp is not inclusive (<)

                   CustNo   …       Start_TS            End_TS
   Period #1
                   123      …   2011-05-01 11:03   2011-05-26 23:51
                   123      …   2011-05-26 23:51   9999-12-31 23:59
   Period #2

                 The Information Management Specialists
Temporal Data Concepts
• Business Temporal Table – a temporal table that uses
  business-defined periods to record row history
     Associated with a business event such as a change of
     address
     Useful for tracking business events over time
     History is maintained in the base table
     Application has control over start and end timestamp for a
     given period


                 The Information Management Specialists
Temporal Data Concepts
• System Temporal Table – a temporal table that uses DB2
  system-defined periods to record row history
     Associated with a DB2 system event (INSERT / UPDATE /
     DELETE) against table – all changes captured
     DB2 automatically sets start and end timestamp for a period
     History is maintained in a separate table
     Useful for audit/compliance requirements
• Bi-Temporal Table – a temporal table that supports both
  business and system time periods
     Two sets of start/end timestamps defined


                  The Information Management Specialists
Implementing Temporal Tables
• DBA indicates which tables need temporal support at
  CREATE/ALTER time
     Includes special start and end timestamp columns for recording
     validity period for each row
• For system temporal or bi-temporal tables
     DBA also creates separate history table with identical definition
     to base table
     DB2 automatically copies old version of row to history table
     whenever row in main table is changed via DELETE or UPDATE
• Elegant extensions to SELECT statement allow historical
  perspective to be seen via standard SQL

                   The Information Management Specialists
Example – Business Temporal
        Business
         Event

                        Policy 102 created                                                  Policy 102 updated
                         (address = A3)                                                       (address = A4)



                                T1               T2               Time                             T3



             Policy   Address        Start_TS    End_TS                  Policy   Address       Start_TS          End_TS
              101       A2             T0       31-12-9999                101       A2             T0            31-12-9999
Main          102       A3             T1       31-12-9999                102       A3             T1               T3
Table
                                                                          102       A4             T3            31-12-9999



                                 SELECT ADDRESS                          SELECT ADDRESS
                                 FROM TABLE1          =                  FROM TABLE1
                                                             A4
                                 WHERE POLICY=102                         FOR BUSINESS TIME AS OF T2             = A3
                                                                         WHERE POLICY=102


                                        The Information Management Specialists
Example – System Temporal
    System           INSERT INTO EMP                                                      UPDATE EMP
     Event           VALUES (321, 20000)                                                  WHERE EMPNO = 321
                                                                                          SET SALARY = 25000



                              T1                T2              Time                             T3



         EmpNo       Salary        Start_TS     End_TS                   EmpNo   Salary       Start_TS         End_TS
Main         300     10000           T0        31-12-9999                 300    10000           T0        31-12-9999
Table
             321     20000           T1        31-12-9999                 321    25000           T3        31-12-9999


                   SELECT SALARY                                         EmpNo   Salary       Start_TS         End_TS
                   FROM EMP                = 25000
                   WHERE EMPNO = 321                                      321    20000           T1              T3


                                          SELECT SALARY
                                          FROM EMP                                                    History Table
                                           FOR SYSTEM TIME AS OF T2   = 20000
                                          WHERE EMPNO = 321

                                      The Information Management Specialists
Topics
•   Introduction
•   DB2 10 for z/OS Overview
•   Temporal Data Support
•   Further Reading
•   Summary


               The Information Management Specialists
Further Reading
• IBM DB2 10 Home Page
      http://www-01.ibm.com/software/data/db2/zos/db2-10/
• White Paper – DB2 10: A Smarter Database for a Smarter Planet
      https://www14.software.ibm.com/webapp/iwm/web/signup.do?source=s
      w-infomgt&S_PKG=wp-z-db2-smarter
      Also available as part of a “flashbook” - ISBN: 1583473610
• DB2 10 for z/OS Performance Topics Redbook (SG24-7942) coming
  soon
• IDUG – International DB2 User Group
      http://www.idug.org/


                    The Information Management Specialists
IDUG DB2 10 Migration Experiences Forum

• A new IDUG forum dedicated specifically to DB2 10 for
  z/OS migration experiences
     Regular updates and surveys on DB2 10 migration topics
     Share and discuss your upgrade plans and experiences
     with your peers and IBM and other industry experts
     Links to valuable DB2 10 technical information from IBM,
     IDUG and other sources
• Forum can be found at
  http://www.linkedin.com/groups?gid=3797589

                 The Information Management Specialists
Topics
•   Introduction
•   DB2 10 for z/OS Overview
•   Temporal Data Support
•   Further Reading
•   Summary


               The Information Management Specialists
Summary
• DB2 10 contains a long list of significant enhancements to improve
  performance, scalability and productivity
• Temporal support is an industry first, and offers some compelling
  advantages for new applications than need a historical data
  perspective
      Improve DBAs and developer productivity
      Reduce errors in application code
      Reduce time-to-market for new applications
      Improve performance by driving function into the database engine
      Improve application consistency
      Support compliance / audit requirements


                    The Information Management Specialists
Contact us
  Web – www.triton.co.uk
  Email – geeks@triton.co.uk
  Phone - +44 870 2411 550




              The Information Management Specialists

More Related Content

Similar to Temporal And Other DB2 10 For Z Os Highlights

Track 2 session 4 db2 for z os optimizer- what’s new in db2 11 and exploiti...
Track 2 session 4   db2 for z os optimizer- what’s new in db2 11 and exploiti...Track 2 session 4   db2 for z os optimizer- what’s new in db2 11 and exploiti...
Track 2 session 4 db2 for z os optimizer- what’s new in db2 11 and exploiti...IBMSystemzEvents
 
Temporal
TemporalTemporal
Temporalsunsie
 
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...Hany Paulina
 
Public Training SQL Implementation & Embedded Programming in IBM i
Public Training SQL Implementation & Embedded Programming in IBM iPublic Training SQL Implementation & Embedded Programming in IBM i
Public Training SQL Implementation & Embedded Programming in IBM iHany Paulina
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprisesNelson Calero
 
Teradata Tutorial for Beginners
Teradata Tutorial for BeginnersTeradata Tutorial for Beginners
Teradata Tutorial for Beginnersrajkamaltibacademy
 
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022InfluxData
 
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...ScyllaDB
 
Tuning data warehouse
Tuning data warehouseTuning data warehouse
Tuning data warehouseSrinivasan R
 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Andrejs Karpovs
 
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)Andreas Buckenhofer
 
The Monthly Journal of the American Hacker
The Monthly Journal of the American HackerThe Monthly Journal of the American Hacker
The Monthly Journal of the American Hackerzubeditufail
 
Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler Yoshitake Kobayashi
 
Redis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DBRedis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DBRedis Labs
 
How Nyherji Manages High Availability TSM Environments using FlashCopy Manager
How Nyherji Manages High Availability TSM Environments using FlashCopy ManagerHow Nyherji Manages High Availability TSM Environments using FlashCopy Manager
How Nyherji Manages High Availability TSM Environments using FlashCopy ManagerIBM Danmark
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyKirill Loifman
 
Teradata Partner 2016 Gas_Turbine_Sensor_Data
Teradata Partner 2016 Gas_Turbine_Sensor_DataTeradata Partner 2016 Gas_Turbine_Sensor_Data
Teradata Partner 2016 Gas_Turbine_Sensor_Datapepeborja
 
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...ScyllaDB
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationJohn Campbell
 

Similar to Temporal And Other DB2 10 For Z Os Highlights (20)

Track 2 session 4 db2 for z os optimizer- what’s new in db2 11 and exploiti...
Track 2 session 4   db2 for z os optimizer- what’s new in db2 11 and exploiti...Track 2 session 4   db2 for z os optimizer- what’s new in db2 11 and exploiti...
Track 2 session 4 db2 for z os optimizer- what’s new in db2 11 and exploiti...
 
Temporal
TemporalTemporal
Temporal
 
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...
Public Training SQL Implementation & Embedded Programming in IBM i (05-09 Jun...
 
Public Training SQL Implementation & Embedded Programming in IBM i
Public Training SQL Implementation & Embedded Programming in IBM iPublic Training SQL Implementation & Embedded Programming in IBM i
Public Training SQL Implementation & Embedded Programming in IBM i
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprises
 
Teradata Tutorial for Beginners
Teradata Tutorial for BeginnersTeradata Tutorial for Beginners
Teradata Tutorial for Beginners
 
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
Paul Dix [InfluxData] The Journey of InfluxDB | InfluxDays 2022
 
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...
Scylla Summit 2017: Scylla for Mass Simultaneous Sensor Data Processing of ME...
 
Tuning data warehouse
Tuning data warehouseTuning data warehouse
Tuning data warehouse
 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
 
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)
Part 3 - Data Warehousing Lecture at BW Cooperative State University (DHBW)
 
The Monthly Journal of the American Hacker
The Monthly Journal of the American HackerThe Monthly Journal of the American Hacker
The Monthly Journal of the American Hacker
 
129471717 unit-v
129471717 unit-v129471717 unit-v
129471717 unit-v
 
Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler
 
Redis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DBRedis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DB
 
How Nyherji Manages High Availability TSM Environments using FlashCopy Manager
How Nyherji Manages High Availability TSM Environments using FlashCopy ManagerHow Nyherji Manages High Availability TSM Environments using FlashCopy Manager
How Nyherji Manages High Availability TSM Environments using FlashCopy Manager
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
Teradata Partner 2016 Gas_Turbine_Sensor_Data
Teradata Partner 2016 Gas_Turbine_Sensor_DataTeradata Partner 2016 Gas_Turbine_Sensor_Data
Teradata Partner 2016 Gas_Turbine_Sensor_Data
 
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...
Scylla Summit 2022: Reinventing Data Management on the Cloud for Modern Telec...
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
 

More from Laura Hood

Top 10 DB2 Support Nightmares #10
Top 10 DB2 Support Nightmares  #10Top 10 DB2 Support Nightmares  #10
Top 10 DB2 Support Nightmares #10Laura Hood
 
Top 10 DB2 Support Nightmares #9
Top 10 DB2 Support Nightmares  #9Top 10 DB2 Support Nightmares  #9
Top 10 DB2 Support Nightmares #9Laura Hood
 
Top 10 DB2 Support Nightmares #8
Top 10 DB2 Support Nightmares  #8Top 10 DB2 Support Nightmares  #8
Top 10 DB2 Support Nightmares #8Laura Hood
 
Top 10 DB2 Support Nightmares #7
Top 10 DB2 Support Nightmares  #7 Top 10 DB2 Support Nightmares  #7
Top 10 DB2 Support Nightmares #7 Laura Hood
 
Top 10 db2 support nightmares #6
Top 10 db2 support nightmares #6Top 10 db2 support nightmares #6
Top 10 db2 support nightmares #6Laura Hood
 
Consultancy on Demand - Infographic
Consultancy on Demand - InfographicConsultancy on Demand - Infographic
Consultancy on Demand - InfographicLaura Hood
 
A Time Traveller's Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller's Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller's Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller's Guide to DB2: Technology Themes for 2014 and BeyondLaura Hood
 
Top 10 DB2 Support Nightmares #1
Top 10 DB2 Support Nightmares  #1Top 10 DB2 Support Nightmares  #1
Top 10 DB2 Support Nightmares #1Laura Hood
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]Laura Hood
 
DB2 10 Security Enhancements
DB2 10 Security EnhancementsDB2 10 Security Enhancements
DB2 10 Security EnhancementsLaura Hood
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of ScalabilityLaura Hood
 
DB2 10 Webcast #2 - Justifying The Upgrade
DB2 10 Webcast #2  - Justifying The UpgradeDB2 10 Webcast #2  - Justifying The Upgrade
DB2 10 Webcast #2 - Justifying The UpgradeLaura Hood
 
DB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration PlanningDB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration PlanningLaura Hood
 
DB2DART - DB2Night Show October 2011
DB2DART - DB2Night Show October 2011DB2DART - DB2Night Show October 2011
DB2DART - DB2Night Show October 2011Laura Hood
 
DB2 z/OS &amp; Java - What\'s New?
DB2 z/OS &amp; Java - What\'s New?DB2 z/OS &amp; Java - What\'s New?
DB2 z/OS &amp; Java - What\'s New?Laura Hood
 
DB210 Smarter Database IBM Tech Forum 2011
DB210 Smarter Database   IBM Tech Forum 2011DB210 Smarter Database   IBM Tech Forum 2011
DB210 Smarter Database IBM Tech Forum 2011Laura Hood
 
UKGSE DB2 pureScale
UKGSE DB2 pureScaleUKGSE DB2 pureScale
UKGSE DB2 pureScaleLaura Hood
 
UKCMG DB2 pureScale
UKCMG DB2 pureScaleUKCMG DB2 pureScale
UKCMG DB2 pureScaleLaura Hood
 
Episode 4 DB2 pureScale Performance Webinar Oct 2010
Episode 4 DB2 pureScale Performance Webinar Oct 2010Episode 4 DB2 pureScale Performance Webinar Oct 2010
Episode 4 DB2 pureScale Performance Webinar Oct 2010Laura Hood
 
Episode 3 DB2 pureScale Availability And Recovery [Read Only] [Compatibility...
Episode 3  DB2 pureScale Availability And Recovery [Read Only] [Compatibility...Episode 3  DB2 pureScale Availability And Recovery [Read Only] [Compatibility...
Episode 3 DB2 pureScale Availability And Recovery [Read Only] [Compatibility...Laura Hood
 

More from Laura Hood (20)

Top 10 DB2 Support Nightmares #10
Top 10 DB2 Support Nightmares  #10Top 10 DB2 Support Nightmares  #10
Top 10 DB2 Support Nightmares #10
 
Top 10 DB2 Support Nightmares #9
Top 10 DB2 Support Nightmares  #9Top 10 DB2 Support Nightmares  #9
Top 10 DB2 Support Nightmares #9
 
Top 10 DB2 Support Nightmares #8
Top 10 DB2 Support Nightmares  #8Top 10 DB2 Support Nightmares  #8
Top 10 DB2 Support Nightmares #8
 
Top 10 DB2 Support Nightmares #7
Top 10 DB2 Support Nightmares  #7 Top 10 DB2 Support Nightmares  #7
Top 10 DB2 Support Nightmares #7
 
Top 10 db2 support nightmares #6
Top 10 db2 support nightmares #6Top 10 db2 support nightmares #6
Top 10 db2 support nightmares #6
 
Consultancy on Demand - Infographic
Consultancy on Demand - InfographicConsultancy on Demand - Infographic
Consultancy on Demand - Infographic
 
A Time Traveller's Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller's Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller's Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller's Guide to DB2: Technology Themes for 2014 and Beyond
 
Top 10 DB2 Support Nightmares #1
Top 10 DB2 Support Nightmares  #1Top 10 DB2 Support Nightmares  #1
Top 10 DB2 Support Nightmares #1
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]
 
DB2 10 Security Enhancements
DB2 10 Security EnhancementsDB2 10 Security Enhancements
DB2 10 Security Enhancements
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of Scalability
 
DB2 10 Webcast #2 - Justifying The Upgrade
DB2 10 Webcast #2  - Justifying The UpgradeDB2 10 Webcast #2  - Justifying The Upgrade
DB2 10 Webcast #2 - Justifying The Upgrade
 
DB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration PlanningDB2 10 Webcast #1 - Overview And Migration Planning
DB2 10 Webcast #1 - Overview And Migration Planning
 
DB2DART - DB2Night Show October 2011
DB2DART - DB2Night Show October 2011DB2DART - DB2Night Show October 2011
DB2DART - DB2Night Show October 2011
 
DB2 z/OS &amp; Java - What\'s New?
DB2 z/OS &amp; Java - What\'s New?DB2 z/OS &amp; Java - What\'s New?
DB2 z/OS &amp; Java - What\'s New?
 
DB210 Smarter Database IBM Tech Forum 2011
DB210 Smarter Database   IBM Tech Forum 2011DB210 Smarter Database   IBM Tech Forum 2011
DB210 Smarter Database IBM Tech Forum 2011
 
UKGSE DB2 pureScale
UKGSE DB2 pureScaleUKGSE DB2 pureScale
UKGSE DB2 pureScale
 
UKCMG DB2 pureScale
UKCMG DB2 pureScaleUKCMG DB2 pureScale
UKCMG DB2 pureScale
 
Episode 4 DB2 pureScale Performance Webinar Oct 2010
Episode 4 DB2 pureScale Performance Webinar Oct 2010Episode 4 DB2 pureScale Performance Webinar Oct 2010
Episode 4 DB2 pureScale Performance Webinar Oct 2010
 
Episode 3 DB2 pureScale Availability And Recovery [Read Only] [Compatibility...
Episode 3  DB2 pureScale Availability And Recovery [Read Only] [Compatibility...Episode 3  DB2 pureScale Availability And Recovery [Read Only] [Compatibility...
Episode 3 DB2 pureScale Availability And Recovery [Read Only] [Compatibility...
 

Recently uploaded

Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Temporal And Other DB2 10 For Z Os Highlights

  • 1. Temporal Data and other DB2 10 for z/OS Highlights The Information Management Specialists
  • 2. Topics • Introduction • DB2 10 for z/OS Overview • Temporal Data Support • Further Reading • Summary The Information Management Specialists
  • 3. Introduction • Director and Principal Consultant at Triton Consulting • 23 years DB2 experience, 18 as a consultant working with customers in UK, Europe and the US • IBM Gold Consultant since 1999 • IBM Information Champion • Former IDUG (International DB2 User Group) President • Author of IBM Redbooks, white papers and more recently “flashbooks” The Information Management Specialists
  • 4. Topics • Introduction • DB2 10 for z/OS Overview • Temporal Data Support • Further Reading • Summary The Information Management Specialists
  • 5. DB2 10 for z/OS • Extensive beta program running throughout 2009/10, with customers from all around the world • Generally available since October 2010 • Upgrade path provided from DB2 8 or DB2 9 • Many customers are currently planning their DB2 10 upgrades, to begin in the next 12-24 months DB2 8 for z/OS End of Support in April 2012 The Information Management Specialists
  • 6. Top New Features • CPU/Performance Improvements • In-memory object support • Temporal Data • Optimiser enhancements • Virtual Storage Enhancements • MEMBER CLUSTER for UTS • High performance DBATs • Backup and recovery • Security Extensions enhancements • Improved Catalog Concurrency • Enhanced audit • Access Path Management • Include additional index columns • pureXML enhancements • Currently Committed semantics • Enhanced SQL OLAP functions • Automated statistics • Skip Migration • Dynamic schema change enhancements • And many more…. The Information Management Specialists
  • 7. Topics • Introduction • DB2 10 for z/OS Overview • Temporal Data Support • Further Reading • Summary The Information Management Specialists
  • 8. Why Temporal Data? • Most IT systems need to keep historical as well as current information • Industry regulations and competitive pressures are prompting IT managers to maintain even more data for longer periods of time • Most warehousing / analytics applications require a historical perspective of data • Implementation requires lots of effort by DBA and developer to design, test and implement Lots of “reinventing the wheel” The Information Management Specialists
  • 9. Why Temporal Data? • DB2 10 provides this functionality as part of the database engine – the first major RDBMS vendor to do so Improve DBAs and developer productivity Reduce errors in application code Reduce time-to-market for new applications Improve performance by driving function into the database engine Improve application consistency Support compliance / audit requirements The Information Management Specialists
  • 10. Temporal Data Concepts • Temporal Table - a table that supports “data versioning” to allow point-in-time queries to be executed Multiple versions of each row are kept by DB2 as they change over time Additional metadata is kept, recording the period in time when a given version of the row was valid Contrast to traditional non-temporal tables, where only the current version of a row is available unless developer/DBA have taken steps to support historical perspective The Information Management Specialists
  • 11. Temporal Data Concepts • Period – the time during which a given version of a row is/was valid Period is defined by special start timestamp and end timestamp columns in the temporal table Note that in current DB2 implementation start timestamp is inclusive (>=), but end timestamp is not inclusive (<) CustNo … Start_TS End_TS Period #1 123 … 2011-05-01 11:03 2011-05-26 23:51 123 … 2011-05-26 23:51 9999-12-31 23:59 Period #2 The Information Management Specialists
  • 12. Temporal Data Concepts • Business Temporal Table – a temporal table that uses business-defined periods to record row history Associated with a business event such as a change of address Useful for tracking business events over time History is maintained in the base table Application has control over start and end timestamp for a given period The Information Management Specialists
  • 13. Temporal Data Concepts • System Temporal Table – a temporal table that uses DB2 system-defined periods to record row history Associated with a DB2 system event (INSERT / UPDATE / DELETE) against table – all changes captured DB2 automatically sets start and end timestamp for a period History is maintained in a separate table Useful for audit/compliance requirements • Bi-Temporal Table – a temporal table that supports both business and system time periods Two sets of start/end timestamps defined The Information Management Specialists
  • 14. Implementing Temporal Tables • DBA indicates which tables need temporal support at CREATE/ALTER time Includes special start and end timestamp columns for recording validity period for each row • For system temporal or bi-temporal tables DBA also creates separate history table with identical definition to base table DB2 automatically copies old version of row to history table whenever row in main table is changed via DELETE or UPDATE • Elegant extensions to SELECT statement allow historical perspective to be seen via standard SQL The Information Management Specialists
  • 15. Example – Business Temporal Business Event Policy 102 created Policy 102 updated (address = A3) (address = A4) T1 T2 Time T3 Policy Address Start_TS End_TS Policy Address Start_TS End_TS 101 A2 T0 31-12-9999 101 A2 T0 31-12-9999 Main 102 A3 T1 31-12-9999 102 A3 T1 T3 Table 102 A4 T3 31-12-9999 SELECT ADDRESS SELECT ADDRESS FROM TABLE1 = FROM TABLE1 A4 WHERE POLICY=102 FOR BUSINESS TIME AS OF T2 = A3 WHERE POLICY=102 The Information Management Specialists
  • 16. Example – System Temporal System INSERT INTO EMP UPDATE EMP Event VALUES (321, 20000) WHERE EMPNO = 321 SET SALARY = 25000 T1 T2 Time T3 EmpNo Salary Start_TS End_TS EmpNo Salary Start_TS End_TS Main 300 10000 T0 31-12-9999 300 10000 T0 31-12-9999 Table 321 20000 T1 31-12-9999 321 25000 T3 31-12-9999 SELECT SALARY EmpNo Salary Start_TS End_TS FROM EMP = 25000 WHERE EMPNO = 321 321 20000 T1 T3 SELECT SALARY FROM EMP History Table FOR SYSTEM TIME AS OF T2 = 20000 WHERE EMPNO = 321 The Information Management Specialists
  • 17. Topics • Introduction • DB2 10 for z/OS Overview • Temporal Data Support • Further Reading • Summary The Information Management Specialists
  • 18. Further Reading • IBM DB2 10 Home Page http://www-01.ibm.com/software/data/db2/zos/db2-10/ • White Paper – DB2 10: A Smarter Database for a Smarter Planet https://www14.software.ibm.com/webapp/iwm/web/signup.do?source=s w-infomgt&S_PKG=wp-z-db2-smarter Also available as part of a “flashbook” - ISBN: 1583473610 • DB2 10 for z/OS Performance Topics Redbook (SG24-7942) coming soon • IDUG – International DB2 User Group http://www.idug.org/ The Information Management Specialists
  • 19. IDUG DB2 10 Migration Experiences Forum • A new IDUG forum dedicated specifically to DB2 10 for z/OS migration experiences Regular updates and surveys on DB2 10 migration topics Share and discuss your upgrade plans and experiences with your peers and IBM and other industry experts Links to valuable DB2 10 technical information from IBM, IDUG and other sources • Forum can be found at http://www.linkedin.com/groups?gid=3797589 The Information Management Specialists
  • 20. Topics • Introduction • DB2 10 for z/OS Overview • Temporal Data Support • Further Reading • Summary The Information Management Specialists
  • 21. Summary • DB2 10 contains a long list of significant enhancements to improve performance, scalability and productivity • Temporal support is an industry first, and offers some compelling advantages for new applications than need a historical data perspective Improve DBAs and developer productivity Reduce errors in application code Reduce time-to-market for new applications Improve performance by driving function into the database engine Improve application consistency Support compliance / audit requirements The Information Management Specialists
  • 22. Contact us Web – www.triton.co.uk Email – geeks@triton.co.uk Phone - +44 870 2411 550 The Information Management Specialists