Upload
tess98
View
886
Download
3
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
IBM Software Group | DB2 Information Management Software
IBM Software Group
IBM Technical ExchangeColorado DB2 User Group
Kevin HarrisonConsulting IT ArchitectDB2 for zOS Technical SupportData Management West Regionkharrisonusibmcom
IBM Software Group | DB2 Information Management Software
General Info
bull DB2 V8 ndash Where are we in the Colorado Area
bull Just Announced First Class Savings from IBM
bull Your clientrsquos training dollars will go further in 2007 with $500 savings on public software classes scheduled in the first quarter in the US What better time for your clients to attend software training when their business goals are set and their IT needs are immediate Clients can enroll starting December 1 through March 28 2007 in any eligible IBM publicly scheduled software classes in the US and receive $500 off the tuition At enrollment they must reference priority code 6N2KJO4W to receive their discount
bull All public IBM software classes listed in the IBM Training Catalog in the US (software category) are included in this offer excluding Lotus Microsoft Tivoli and Linux All classes must commence on or after January 1st and complete by March 30 2007 to take advantage of this offer
IBM Software Group | DB2 Information Management Software
Maintenance DB2 zOS
bull Maintenance levelndash If You are on V8 you should be 0609 ( ldquosweet spotrdquo)
ndash Most general query regression PTFs are in 0606 amp 0607
ndash However there were a large number of specialized query regression PTFs in 0611+bull Relative to
ndash Data skew
ndash Sort intensive
ndash Optimizer costing algorithm changes
IBM Software Group | DB2 Information Management Software
Visual Explainbull Visual Explain for DB2reg for zOSreg has no official book However the following resources are
available bull Visual Explain has integrated online help You can download Visual Explain and the integrated help
fromhttpwwwibmcomsoftwaredatadb2zososcveindexhtml
bull Some presentations about Visual Explain function are available- Major Optimization Enhancements in DB2 zOS Version 8- DB2 for zOS Visual Explain Overview - DB2 for zOS Visual Explain Query Graph Details
bull The Version 8 Everything Redbooktrade SG24-6079 contains about 15 pages on Version 8 Visual Explain (which also works with DB2 V7) See section 1019 page 823 or Acrobat page 853 httpwwwredbooksibmcomabstractsSG246079html
bull The Version 8 Performance Topics Redbook SG24-6465 contains about 15 pages on Visual Explain See section 315 page 110 Acrobat page 140 httpwwwredbooksibmcomabstractsSG246465html
Check the Visual Explain Web page to get more details and information about what has changed when Visual Explain is periodically updated httpwwwibmcomsoftwaredatadb2zososcveindexhtml
IBM Software Group | DB2 Information Management Software
Service Level DeterminationProblem
bull I need to determine the service level of a specific DB2reg module so that IBMreg Software Support can diagnose my problem How do I find the service level of a specific DB2 module in the zOSreg OS390reg or MVSESAtrade environments
Solution
bull To determine the service level of a specific DB2 module use one of the following methods ndash Use the MVStrade software installation and maintenance tool SMPE to query the
SMPE libraries for the installation date and PTF or APAR level for a specific DB2 module
ndash Run the DB2 DIAGNOSE utility with the DISPLAY MEPL option which is described in the DB2 Utility Guide and ReferenceThe output from this utility lists each module the most recent PTF or APAR that was applied to the module and the date on which the module was compiled for the PTF or APAR
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
General Info
bull DB2 V8 ndash Where are we in the Colorado Area
bull Just Announced First Class Savings from IBM
bull Your clientrsquos training dollars will go further in 2007 with $500 savings on public software classes scheduled in the first quarter in the US What better time for your clients to attend software training when their business goals are set and their IT needs are immediate Clients can enroll starting December 1 through March 28 2007 in any eligible IBM publicly scheduled software classes in the US and receive $500 off the tuition At enrollment they must reference priority code 6N2KJO4W to receive their discount
bull All public IBM software classes listed in the IBM Training Catalog in the US (software category) are included in this offer excluding Lotus Microsoft Tivoli and Linux All classes must commence on or after January 1st and complete by March 30 2007 to take advantage of this offer
IBM Software Group | DB2 Information Management Software
Maintenance DB2 zOS
bull Maintenance levelndash If You are on V8 you should be 0609 ( ldquosweet spotrdquo)
ndash Most general query regression PTFs are in 0606 amp 0607
ndash However there were a large number of specialized query regression PTFs in 0611+bull Relative to
ndash Data skew
ndash Sort intensive
ndash Optimizer costing algorithm changes
IBM Software Group | DB2 Information Management Software
Visual Explainbull Visual Explain for DB2reg for zOSreg has no official book However the following resources are
available bull Visual Explain has integrated online help You can download Visual Explain and the integrated help
fromhttpwwwibmcomsoftwaredatadb2zososcveindexhtml
bull Some presentations about Visual Explain function are available- Major Optimization Enhancements in DB2 zOS Version 8- DB2 for zOS Visual Explain Overview - DB2 for zOS Visual Explain Query Graph Details
bull The Version 8 Everything Redbooktrade SG24-6079 contains about 15 pages on Version 8 Visual Explain (which also works with DB2 V7) See section 1019 page 823 or Acrobat page 853 httpwwwredbooksibmcomabstractsSG246079html
bull The Version 8 Performance Topics Redbook SG24-6465 contains about 15 pages on Visual Explain See section 315 page 110 Acrobat page 140 httpwwwredbooksibmcomabstractsSG246465html
Check the Visual Explain Web page to get more details and information about what has changed when Visual Explain is periodically updated httpwwwibmcomsoftwaredatadb2zososcveindexhtml
IBM Software Group | DB2 Information Management Software
Service Level DeterminationProblem
bull I need to determine the service level of a specific DB2reg module so that IBMreg Software Support can diagnose my problem How do I find the service level of a specific DB2 module in the zOSreg OS390reg or MVSESAtrade environments
Solution
bull To determine the service level of a specific DB2 module use one of the following methods ndash Use the MVStrade software installation and maintenance tool SMPE to query the
SMPE libraries for the installation date and PTF or APAR level for a specific DB2 module
ndash Run the DB2 DIAGNOSE utility with the DISPLAY MEPL option which is described in the DB2 Utility Guide and ReferenceThe output from this utility lists each module the most recent PTF or APAR that was applied to the module and the date on which the module was compiled for the PTF or APAR
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Maintenance DB2 zOS
bull Maintenance levelndash If You are on V8 you should be 0609 ( ldquosweet spotrdquo)
ndash Most general query regression PTFs are in 0606 amp 0607
ndash However there were a large number of specialized query regression PTFs in 0611+bull Relative to
ndash Data skew
ndash Sort intensive
ndash Optimizer costing algorithm changes
IBM Software Group | DB2 Information Management Software
Visual Explainbull Visual Explain for DB2reg for zOSreg has no official book However the following resources are
available bull Visual Explain has integrated online help You can download Visual Explain and the integrated help
fromhttpwwwibmcomsoftwaredatadb2zososcveindexhtml
bull Some presentations about Visual Explain function are available- Major Optimization Enhancements in DB2 zOS Version 8- DB2 for zOS Visual Explain Overview - DB2 for zOS Visual Explain Query Graph Details
bull The Version 8 Everything Redbooktrade SG24-6079 contains about 15 pages on Version 8 Visual Explain (which also works with DB2 V7) See section 1019 page 823 or Acrobat page 853 httpwwwredbooksibmcomabstractsSG246079html
bull The Version 8 Performance Topics Redbook SG24-6465 contains about 15 pages on Visual Explain See section 315 page 110 Acrobat page 140 httpwwwredbooksibmcomabstractsSG246465html
Check the Visual Explain Web page to get more details and information about what has changed when Visual Explain is periodically updated httpwwwibmcomsoftwaredatadb2zososcveindexhtml
IBM Software Group | DB2 Information Management Software
Service Level DeterminationProblem
bull I need to determine the service level of a specific DB2reg module so that IBMreg Software Support can diagnose my problem How do I find the service level of a specific DB2 module in the zOSreg OS390reg or MVSESAtrade environments
Solution
bull To determine the service level of a specific DB2 module use one of the following methods ndash Use the MVStrade software installation and maintenance tool SMPE to query the
SMPE libraries for the installation date and PTF or APAR level for a specific DB2 module
ndash Run the DB2 DIAGNOSE utility with the DISPLAY MEPL option which is described in the DB2 Utility Guide and ReferenceThe output from this utility lists each module the most recent PTF or APAR that was applied to the module and the date on which the module was compiled for the PTF or APAR
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Visual Explainbull Visual Explain for DB2reg for zOSreg has no official book However the following resources are
available bull Visual Explain has integrated online help You can download Visual Explain and the integrated help
fromhttpwwwibmcomsoftwaredatadb2zososcveindexhtml
bull Some presentations about Visual Explain function are available- Major Optimization Enhancements in DB2 zOS Version 8- DB2 for zOS Visual Explain Overview - DB2 for zOS Visual Explain Query Graph Details
bull The Version 8 Everything Redbooktrade SG24-6079 contains about 15 pages on Version 8 Visual Explain (which also works with DB2 V7) See section 1019 page 823 or Acrobat page 853 httpwwwredbooksibmcomabstractsSG246079html
bull The Version 8 Performance Topics Redbook SG24-6465 contains about 15 pages on Visual Explain See section 315 page 110 Acrobat page 140 httpwwwredbooksibmcomabstractsSG246465html
Check the Visual Explain Web page to get more details and information about what has changed when Visual Explain is periodically updated httpwwwibmcomsoftwaredatadb2zososcveindexhtml
IBM Software Group | DB2 Information Management Software
Service Level DeterminationProblem
bull I need to determine the service level of a specific DB2reg module so that IBMreg Software Support can diagnose my problem How do I find the service level of a specific DB2 module in the zOSreg OS390reg or MVSESAtrade environments
Solution
bull To determine the service level of a specific DB2 module use one of the following methods ndash Use the MVStrade software installation and maintenance tool SMPE to query the
SMPE libraries for the installation date and PTF or APAR level for a specific DB2 module
ndash Run the DB2 DIAGNOSE utility with the DISPLAY MEPL option which is described in the DB2 Utility Guide and ReferenceThe output from this utility lists each module the most recent PTF or APAR that was applied to the module and the date on which the module was compiled for the PTF or APAR
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Service Level DeterminationProblem
bull I need to determine the service level of a specific DB2reg module so that IBMreg Software Support can diagnose my problem How do I find the service level of a specific DB2 module in the zOSreg OS390reg or MVSESAtrade environments
Solution
bull To determine the service level of a specific DB2 module use one of the following methods ndash Use the MVStrade software installation and maintenance tool SMPE to query the
SMPE libraries for the installation date and PTF or APAR level for a specific DB2 module
ndash Run the DB2 DIAGNOSE utility with the DISPLAY MEPL option which is described in the DB2 Utility Guide and ReferenceThe output from this utility lists each module the most recent PTF or APAR that was applied to the module and the date on which the module was compiled for the PTF or APAR
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Private Protocol Determining if plans or packages have a remote location dependency
Sample REXX programs analyze the DB2 subsystem catalog to see if any plans or packages that were bound with DBPROTOCOL(PRIVATE) have a remote location dependency If they do the tool generates commands to convert those plans or packages to use DRDA protocol Also the programs analyze any three-part name aliases in the catalog to determine if corresponding two-part name aliases must be created at the indicated remote locations
bull The REXX program DB2TP2D7 can be run only against DB2reg Version 7 subsystems or DB2 Version 8 subsystems whose catalogs are at the Version 8 compatibility mode (CM) level
bull The REXX program DB2TP2D8 can be run only against DB2 Version 8 subsystems whose catalogs are at the V8 new-function mode (NFM) level
bull Document information ndash Product categories Software Data amp Information Management Databases DB2 Universal
Database for zOS Reference 7008509
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Guarding against Access Path Regressions The recommended process for migrating plans or packages where the access path is critical is described below Any of the three processes will provide better
capability to fallback to the Version 7 access paths in case any degradations occur on Version 8 These processes are general to any DB2 version migration and are not specific to Version 8 It is anticipated that the majority of access paths will improve in Version 8 or at least be equivalent to Version 7
The goal is to at least maintain a copy of the Version 7 access paths in the PLAN_TABLE a collection containing packages bound in Version 7 and a collection of packages bound in Version 8 A Version 7 collection is needed in addition to the Version 8 collection to allow fallback to the prior collection and the PLAN_TABLE output is required if you plan to use OPTHINTS or simply to compare Version 7 with Version 8 access paths
Option A
1 Bind the affected planspackages to a new Version 8 collection (using any collection name you wish) specifying EXPLAIN(YES) so that you can compare them with your current Version 7 access paths that are in existence in the PLAN_TABLE2 In the package list place the Version 8 collection before the Version 7 collection3 If you run into an access path problem free that package from the Version 8 collection allowing the next execution to pickup the Version 7 collection This provides an immediate solution to the performance problem and allows more time to analyze the access path regression
Option B
This approach is similar to Option A though that it uses a proactive rather than reactive approach to identify access path regressions Keep two Version 8 collections and only move these into the Version 8 collection that occurs first in the package list once you are certain that the query performance in Version 8 is the same or better than that in Version 7
Option C
If you do not have your existing Version 7 access paths saved in the PLAN_TABLE then another alternative is to BIND (to a separate collection) or REBIND (the existing collection) in Version 7 with EXPLAIN(YES) so that Version 7 access paths are known Note There is no guarantee that a new Version 7 bindrebind will choose the exact same path as the current production access path A new bind (or rebind) in Version 8 should use the proactive (option B) or reactive (option A) approach to ensure that a fallback to the Version 7 collection is possible in the package list
In general OPTHINTs should only be used when DB2 does not choose the desired access path after all relevant statistics are made available via RUNSTATS However it is sometimes necessary to migrate a Version 7 hint to Version 8 In this situation the user should be sure to have these Version 8 OPTHINT APARs applied
PK02481PK07750PK10015
These fixes cover various OPTHINTs problems some of which deal specifically with migrating hints from Version 7 to Version 8
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Volatile Usage
bull An alternate use for volatile tables is to simply favor index access whenever possible on a basic table In this situation multiple indexes on the table would be acceptable
Regardless of how the volatile table is used there are certain optimization techniques that are disabled (such as list prefetch and multi-index access) for tables declared as VOLATILE
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
zIIP Redirect Software Maintenancebull DB2 V8 zIIP support
ndash PK18454 DRDA
ndash PK19920 PK27712 PK30087 Utilities
ndash PK19921 PK27578 Parallel Queries
ndash II14219 Info Apar with additional information
bull Support for zIIP related instrumentation changes in IFCIDs 3147148231239 for zIIP usage reporting monitoring and projection
ndash PK25395 IBM Tivoli OMEGAMON XE for DB2 Performance Expert on zOS
ndash PK29966 DB2 Performance Expert V210
ndash PK29967 DB2 Performance Monitor V810
bull zIIP support maintenance info for zOS SDSFRMFWLMBCPndash httpwwwibmcomsystemszziipgettingstartedprereqshtml
bull RETAIN search keyword zIIPK for zIIP related AparPTF information
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
SYS1PARMLIB(IEAOPTxx) Parameters
PROJECTCPU = YES NO Set to YES for projecting zIIP redirect when zIIP is not installed
Shown under APPL IIPCP in the RMF Workload Activity Report Shown under IIPCP CPU in the Omegamon DB2PE Accounting Report
ZIIPAWMT = 12000 (default value 12 ms) Use the default valueAlternate Weight Management ndash time spent waking up idle zIIP to compete for work or request for help from CP
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
z9 Display CPU information with zIIPD M=CPUIEE174I 103703 DISPLAYPROCESSOR STATUSID CPU SERIAL00 + 02B29E209401 + 02B29E209402 +A 02B29E209403 +I 02B29E2094
CPC ND = 002094S28IBM0200000004B29ECPC SI = 2094724IBM02000000000004B29ECPC ID = 00CPC NAME = SYSS01LP NAME = STLABH2 LP ID = 2CSS ID = 0MIF ID = 2
+ ONLINE - OFFLINE DOES NOT EXIST W WLM-MANAGEDN NOT AVAILABLE
A APPLICATION ASSIST PROCESSOR (zAAP)I INTEGRATED INFORMATION PROCESSOR (zIIP)
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Monitoring System level zIIP redirect with zIIP installed
RMF CPU Report for CLI DRDA Workload
C P U A C T I V I T Y zOS V1R7 SYSTEM ID H2 RPT VERSION V1R7 RMFCPU 2094 MODEL 724 HW MODEL S28 ---CPU--- ONLINE TIME LPAR BUSY MVS BUSYNUM TYPE PERCENTAGE TIME PERC TIME PERC 0 CP 10000 2249 2249 1 CP 10000 2172 2172CP TOTALAVERAGE 2211 2211 2 AAP 10000 010 010AAP AVERAGE 010 010 3 IIP 10000 3247 3247IIP AVERAGE 3247 3247
zIIP CPU
zAAP CPU
CP CPU
zIIP Redirect at the LPAR level = 42
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism
bull Static queries DEGREE parameter on bind PlanPackage
bull Dynamic queries SET CURRENT DEGREE special registerndash 1 -- DB2 will not consider parallelism for queries
ndash ANY - DB2 will use parallelism for queries where possible
bull ZPARMSndash CURRENT DEGREE in DSNTIP4 (CDSSRDEF = ANY)
ndash Default CURRENT DEGREE for dynamic queries (no effect on static queries)
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
How to Activate Parallelism (cont)
bull To avoid query regressionndash Parallelism can be controlled with 2
ZPARMs
ndash PARMMDEG for the maximum degree of parallelism in DSNTIP4
ndash Ensures single query does not consume all parallel tasks
ndash Minimizes runtime regression if large number of resources are not available
bull SPRMPTHndash Threshold to disable parallelism for short
running queries
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelism
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
How to Monitor Parallelismbull Each SRB produces an accounting record (as well as the main TCB)
bull You can tell DB2 to roll-up information into one accounting trace record via ZPARMndash PTASKROL=YES
bull IFCID 221 gives subpipe breakdown
bull IFCID 222 gives rows qualified by subpipe
bull IFCID 231 gives CPUElapsed by Parallel Task
bull Always enable for long queries (low overhead)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IO Items to consider
bull Striping becomes more important
bull Larger CI Sizesndash Tables in V8
ndash Indexes in V9
bull Impacts on storage
bull New defaults for Prefetch Preformat and thresholds for CI limits
bull If you are IO bound are you using your hardware effectivelyndash PAV
ndash Striping ( Logs tablespaces)
ndash Flashcopy operations
ndash MIDAWS
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull LC19 Log latch contention relief in data sharingbull Active and archive log IO improvementbull Archive log BSAM IO striping1048707Active log read buffers per Start IO increased from 15 to 120
ndash Up to +70 recovery throughput
bull Index lookasidefor additional indexesndash In V8 for clustering index only in Insert none for Deletendash In V9 possible for more indexes in both Insert and Delete
bull More than 100 times reduction in Getpage possible for applicable indexes
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
InsertUpdateDelete Performance Scalability
bull Randomized index key to avoid hot spotsndash Can be beneficial for data sharing because of index page P-lock contention
ndash Trade-off between contention relief and additional Getpage readwrite IO and lock request
ndash Better for indexes resident in buffer pool
bull 1048707Append option in Insertndash To reduce longer chain of spacemap page search as tablespace keeps getting
bigger
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Database buffer scalabilityperformance enhancement
bull 1048707Bigger prefetch and deferred write quantity for bigger buffer poolndash 1048707Max of 128 V8 -gt256KB V9 in SQL tablespace scan
ndash 1048707256 V8 -gt512KB V9 in utility
ndash 1048707+36 MBsec in non striped prefetch
ndash 1048707+47 in 2-striped prefetch-gt more effective striping
bull Bigger preformatting quantity and trigger aheadndash 1048707From 2 (V8) to 16 (V9) cylinders if gt16cyl allocation
ndash 1048707 27 faster Insert in one measurement
bull Replace all sequential prefetch except in tablespace scan with dynamic prefetch in SQL callsndash 1048707Up to 50 faster
ndash 1048707Dynamic prefetch is more intelligent and robust
bull Always treat pages read by dynamic and list prefetch as sequential instead of randomndash 1048707Can prevent randomly accessed pages from being wiped out by massive concurrent
prefetches by always honoring VPSEQT (buffers that can be used for prefetch)
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
DB2 9 for LUW Early adopter feedback
Financial services business results with XML-base SOA Mortgage application process that took 4 weeks now takes 1
minute In 2006 will process over 10x the amount of client requests as in
2005
Development and app performance re XML data
with relational data server
with DB2 Viper hybrid data server
Development ofsearch amp retrieval business processes
CLOB 8 hrs
Shred 2 hrs
30 min
Add field to schema 1 week 5 min
Relative lines of IO code(65 reduction)
100 35
Queries 24 - 36 hrs 20 sec - 10 min
Query non-shredded XML element
1 week frac12 day
Proto-type results using DB2 Viper hybrid data server
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Education
bull DB2 Version 8 Migration Workshopsndash Still available but we are mostly assisting with planning and issues
bull DB2 Version 8 Transition classndash CG381 non lab 3 days
ndash CG382 lab 4 days
bull DB2 V9 Migration workshops are in development
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Disk storage access with DB2 for zOS (REDP-4187)ndash Disk storage has changed rapidly over the past few years with the delivery of new functions
and improved performance DB2 has made many changes to keep pace and make use of the disk improvements
bull Data Integrity with DB2 for zOS (SG24-7111)ndash DB2 provides functions to guarantee integrity at the system level and at the application level
bull DB2 UDB for zOS Design Guidelines for High Performance and Availability (SG24-7134)ndash Discussion of the techniques and guidelines for database and application design We expect the
best practices described in this IBM Redbook will help DB2 professionals design high-performance and high-availability applications
bull DB2 UDB for zOS Version 8 Performance Topics (SG24-6465)ndash February Update
bull DB2 MIDAW Facility Exploitation (REDP-4210)ndash The MIDAW facility was introduced in the IBM z9 processor to improve FICON performance especially
when accessing IBM DB2 databases This facility is a new method of gathering data into and scattering data from discontinuous storage locations during an IO operation
bull Microsoft SQL Server to IBM DB2 UDB Conversion Guide (SG24-6672)
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
DB2 Redbooks - 2Q 2004 httpwwwibmcomredbooks
bull Introduction to the New Mainframe zOS Basics (SG24-6366)
bull The Role of IBM System z in the design of a Service Oriented Architecture (REDP-4190)
bull DB2 9 Pure XML (SG24-7315)ndash This IBM Redbook discusses the pureXML data store hybrid database design and administration It
describes XML schema industry standards and how to manage schemas This IBM Redbook also covers SQLXML XQuery and XPath using easy-to-understand examples Lastly this IBM Redbook shows how to use XML technology efficiently in business applications
bull DB2 for zOS Data Sharing in a Nutshell (SG24-7322)ndash This IBM Redbook is meant to facilitate your journey towards data sharing by providing a cookbook
approach to the main tasks in enabling data sharing and workload balancing It does not have all the answers because it is a brief summary of a large field of knowledge but it contains the key elements and it points you in the right direction to get more details Throughout this document we assume that your sysplex environment is set up and a DB2 subsystem exists at a currently supported level
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Software Announcements Linksndash SW Webcasts
bull httpwww-306ibmcomsoftwareoszseriesevents
ndash HW Announcements z9bull httpwww-03ibmcomsystemszfeature112905
bull httpwww-03ibmcomsystemssystemz9z9109
ndash DB2 V8 Library refresh 22006bull httpwww-306ibmcomsoftwaredatadb2zosv8bookshtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml
IBM Software Group | DB2 Information Management Software
Reference URLs
httpwwwibmcomsoftwaredatadb2zosindexhtmlibmcomsoftwaredb2zos DB2 for zOSibmcomsoftwaredb2zosdb2zosv8html V8ibmcomsoftwaredb2zossupporthtml Supportibmcomsoftwaredatadb2imstools Toolsibmcomdeveloperworksdb2 Applications
ftp site for papers presentations
Unicode httpwww-06ibmcomdeveloperworkslibrarywhyunicodehtml