SlideShare a Scribd company logo
DB2 for z/OS
    Universal Table Spaces
          Session Number 1929A/B
              (Also on Thursday at 10:00 AM


                        Willie Favero, IBM
       DB2 for z/OS Data Warehouse Swat Team
                             Silicon Valley Lab
                               wfavero@us.ibm.com




1
Session #1929: DB2 for z/OS Universal Table Spaces




    Disclaimer
          Copyright © IBM Corporation 2010. All rights reserved.
          U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule
          Contract with IBM Corp.
          THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS
          WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS
          PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON
          IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT
          BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY
          OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF,
          CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS
          AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS AND/OR SOFTWARE.

   The materials in this presentation are also subject to
        • enhancements at some future date,
        • a new release of DB2, or
        • a Programming Temporary Fix (PTF)
   IBM MAY HAVE PATENTS OR PENDING PATENT APPLICATIONS COVERING SUBJECT MATTER IN THIS DOCUMENT.
   THE FURNISHING OF THIS DOCUMENT DOES NOT IMPLY GIVING LICENSE TO THESE PATENTS.

   TRADEMARKS: THE FOLLOWING TERMS ARE TRADEMARKS OR ® REGISTERED TRADEMARKS OF THE IBM
   CORPORATION IN THE UNITED STATES AND/OR OTHER COUNTRIES: AIX, AS/400, DATABASE 2, DB2, e-business logo,
   Enterprise Storage Server, ESCON, FICON, OS/390, OS/400, ES/9000, MVS/ESA, Netfinity, RISC, RISC SYSTEM/6000,
   iSeries, pSeries, xSeries, zSeries, System z, SYSTEM/390, IBM, Lotus, NOTES, WebSphere, z/Architecture, z/OS and zSeries.

   THE FOLLOWING TERMS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF THE MICROSOFT CORPORATION IN
   THE UNITED STATES AND/OR OTHER COUNTRIES: MICROSOFT, WINDOWS, WINDOWS NT, ODBC and WINDOWS 95.

                                       For additional information visit the URL
                  http://www.ibm.com/legal/copytrade.phtml for “Copyright and trademark information”
      2
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




               Disclaimer: Information regarding potential future
               products is intended to outline our general product
               direction and it should not be relied on in making a
               purchasing decision. The information mentioned
               regarding potential future products is not a commitment,
               promise, or legal obligation to deliver any material, code
               or functionality. Information about potential future
               products may not be incorporated into any contract.
               The development, release, and timing of any future
               features or functionality described for our products
               remains at our sole discretion.



      3
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Information and Analytics Communities
     • On-line communities, User Groups, Technical
          Forums, Blogs, Social networks, and more
            – Find a community that interests you at…
                    • ibm.com/software/data/community


     • Information Champions
            – Recognizing individuals who have made the most
                 outstanding contributions to Information Management
                 communities
                    • ibm.com/software/data/champion

      4
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                 Thank You!
          Your Feedback is Important
                    to Us
          • Access your personal session survey list and
           complete via SmartSite
               – Your smart phone or web browser at:
                    iodsmartsite.com
               – Any SmartSite kiosk onsite
               – Each completed session survey increases your
                    chance to win an Apple iPod Touch with daily
                    drawing sponsored by Alliance Tech

      5
                                                     Copyright © IBM Corporation 2010
5                                                                All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




           Review Today’s
           Table Spaces




                                                                        Actual Presentation start here
                                                                        Actual Presentation start here



 (62 slides to go)

       6
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    In the Beginning…
     • There were simple table spaces
            – Multiple tables in the same table space
            – Multiple tables could occupy the same page
            – Simplistic space map
            – 64GB size limitation
            – Deprecated in DB2 9 for z/OS
            – DB2 Catalog still uses them
          Note
                    • DB2 10 discontinues use of simple table spaces for DB2
                       Catalog
            – Customer really shouldn’t be creating simple table
                 spaces anymore in any DB2 Version

      7
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    And There Were Also…
     • Partitioned table spaces
             – Only one table allowed per table space
             – Table space is divided into multiple partitions, data sets
             – Requires a partitioning column
             – SQL and utilities have partition independence
             – Could be up to 128Tb
             – Customer must pick number of partitions
          Note
             – Deprecated in DB2 10 for z/OS



      8
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Then DB2 V2.1 Added…
     • Segmented table spaces
            – Multiple tables per table space
            – Pages are organized into segments
            – Only one table per segment
            – Still 64GB size limitation
            – Better space maps, better DELETEs
            – And better INSERT processing
            – Customer choice, either segmented or partitioned
            – Of the three types, best performance in most cases
            – Default in DB2 9 when SEGSIZE, NUMPARTS, or
                 MAXPARTITIONS options are not specified
          Note
                  • No longer default in DB2 10 – partition-by-growth becomes
                       default
      9
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Later, DB2 V6 Introduced…
     • Large Object (LOB) table spaces




      10
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    And Introduced with DB2 9…
     • Universal Table Space (UTS)
     • XML table spaces (discussion for another time)




      11
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




            Universal Table Space




 (56 slides to go)

       12
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    What Was Needed
     • A table space needs both partitioned and
           segmented organization:
            – A table’s growth is unpredictable
            – How do you handle large without a convenient key for
                 range partitioning
            – It needs to be larger than 64GB
            – Inter-partition parallelism or independent processing is
                 necessary
            – Partition scope operations (ADD,ROTATE) apply
            – Rows are variable in length and a fast insert is required
            – Mass delete operations should be fast
      13
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    What Was Needed
     • Partitioning by a ROWID column introduces
           additional table space administration overhead:
            – estimating optimal number of partitions
            – ADDing partitions if necessary
            – less then optimal space utilization




      14
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    The Solution…
     • Universal table space
            – The very best of segmented and partitioned table
                 spaces delivered in one object




      15
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    What is a Universal Table Space?
     • All the best features from
            – Segmented table spaces and partitioned table spaces
                    • Hybrid
            – Extra space maps and space map information
            – Multiple data sets (partitions)
            – Segmentation
     •     Plus a bunch of really cool new stuff
            – Better space management means less REORG
            – SQL TRUNCATE supported
            – ALTER TABLE ROTATE PARTITION supported
            – CLONE table supported (UTS required)
            – Improved insert performance

      16
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Things to Remember
     • Only available AFTER upgrading to DB2 9 new
           function mode (NFM)
     • Only one table per table space allowed
     • Reordered Row Format (RRF) only
     • Partition independence
     • No longer has a 64GB limitation
            – Depending on DSSIZE and the number of partitions, the
                 table space could grow up to 128 TB
     • Incompatible with MEMBER CLUSTER                                                          Note
                                                                        DB2 10 will allow MEMBER CLUSTER
                                                                        for universal table spaces

      17
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Two Flavors are Available
     • Universal table spaces are available in two flavors
            – Range-partitioned (PBR)
                    •   All the features of classic partitioning
                    •   Table controlled partitioning only
                    •   Using partition column
                    •   Partitioned and segmented
            – Partition-by-growth (PBG)
                    • Partitions added as space is needed
                    • No partitioning key
                    • Partitioned and segmented


      18
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Common UTS Function limitations
     • Cannot be used for the WORKFILE database
             – Version 10 supports partition-by-growth table spaces
    Note




                 in the WORKFILE database

     • No LOCKSIZE TABLE (uses partitioned table
            space locking scheme)




       19
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Common UTS Function limitations
     • No easy way to convert current type of table space
           to UTS
            – Required to use DROP/CREATE
            – DB2 10 ALTER TABLESPACE abc MAXPARTITIONS
                    • Single table simple table space to partition-by-growth UTS
                    • Segmented table space to partition-by-growth UTS
    Note




                    • Plans and packages are invalidated
            – DB2 10 ALTER TABLESPACE abc SEGSIZE
                    • Partition table space to range-partitioned UTS



      20
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Common UTS Function limitations
     • No MEMBER CLUSTER (not supported for segmented)
            – DB2 10 allows MEMBER CLUSTER only for partition-by-growth or
                 range-partitioned universal table space
                    • ALTER MEMBER CLUSTER
    Note




                           – Still not allowed for segmented, LOB, work file, or XML table spaces
                           – If table space is a partitioned table space, partitioned table space is converted to
                               range-partitioned universal table space
                           – Altering MEMBER CLUSTER places table space in advisory REORG pending state
                               (AREOR)
                    • SYSIBM.SYSTABLESPACE.MEMBER_CLUSTER
     • No ALTER SEGSIZE/DSSIZE
            – So get SEGSIZE/DSSIZE right or it is a DROP/CREATE
            – DB2 10 allows ALTER SEGSIZE
                    • If SEGSIZE is specified on ALTER, no other clause is allowed
    Note




                    • ALTER SEGSIZE can only be specified for universal table space or partitioned table
                       space that uses table-controlled partitioning
            – DB2 10 has ALTER DSSIZE also
      21
                                                       Copyright © IBM Corporation 2010
                                                                   All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    DSNZPARM for SEGSIZE Default
     When SEGSIZE is NOT specified
     • DB2 10 – The picture changes considerably
        – If ZPARM DPSEGSZ = 0
                    • If MAXPARTITIONS is not specified                                       DB2 9
                           – If NUMPARTS is not specified                               Default SEGSIZE 4
                                  » SEGSIZE 4 for segmented table space
                           – If NUMPARTS is specified
                                  » Classic partitioned table space
                    • If MAXPARTITIONS is specified
                           – With or without NUMPARTS being specified
                                  » partition-by-growth table space w/ SEGSIZE = 32
            – If ZPARM DPSEGSZ > 0 (a greater than zero value)
                    • If MAXPARTITIONS is not specified
                           – If NUMPARTS is not specified
                                  » SEGSIZE 4 for segmented table space
                           – If NUMPARTS is specified
                                  » Partitioned by range-partitioned table space w/ SEGSIZE = DPSEGSZ
                    • If MAXPARTITIONS is specified
                           – With or without NUMPARTS being specified
                                  » partition-by-growth table space w/ SEGSIZE = DPSEGSZ
      22
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    SYSIBM.SYSCOPY
     STYPE
                           – CHAR(1)                 NOT NULL WITH DEFAULT

     When ICTYPE=A (ALTER) , the new/changed values
      are:
            – B The MEMBER CLUSTER value was changed
            – D The DSSIZE attribute of the table space was altered
            – M The MAXPARTITIONS attribute of the table space
                 was altered
            – S The SEGSIZE attribute of the table space was altered
                             Other values were added/changed in SYSCOPY but
                                 are not affected by universal table spaces

      23
                                                        Copyright © IBM Corporation 2010
                                                                    All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Catalog Table SYSIBM.SYSCOPY
     TTYPE
                           – CHAR(8) NOT NULL WITH DEFAULT

     When ICTYPE=A (ALTER) and STYPE=B
       – This column indicates if the previous value for the
                 MEMBER CLUSTER attribute is being used:
            –Y
                    • The previous member cluster attribute of the table space is being used
            –N
                    • The previous member cluster attribute of the table space is not being
                       used

     When ICTYPE=A (ALTER) and STYPE=D
       – This column indicates the previous DSSIZE attribute
                 value for the table space in units of G, M, or K
      24
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Catalog Table SYSIBM.SYSCOPY
     TTYPE
                           – CHAR(8) NOT NULL WITH DEFAULT

     When ICTYPE=A (ALTER) and STYPE=M
       – This column indicates either the previous value of the
                 MAXPARTITIONS attribute for the table space or the type of table
                 space conversion that was performed on the table space
            –    I
                    • The table space was converted from a single-table simple table space
                       to a partition-by-growth universal table space
            –n
                    • The previous value of the MAXPARTITIONS attribute for the table
                       space
            –S
                    • The table space was converted from single-table segmented table
                       space to a partition-by-growth universal table space

      25
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Catalog Table SYSIBM.SYSCOPY
     TTYPE
                           – CHAR(8) NOT NULL WITH DEFAULT

     When ICTYPE=A (ALTER) and STYPE=S
       – This column indicates either the previous value of the
             SEGSIZE attribute for the table space or the type of
             table space conversion that was performed on the table
             space
            –n
               • The previous value of the SEGSIZE attribute for the table space
            –P
               • The table space was converted from a partitioned table space
                       to a range-partitioned universal table space

      26
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                                                     Pause for
                                                Questions



 (41 slides to go)

       27
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




           Partition-by-growth
           Universal Table Space




      28
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-by-growth Table Space
                                                               CREATE TABLESPACE …
                     explicit specification
                                                               MAXPARTITIONS integer

                                                               CREATE TABLE …
                     implicit specification                    PARTITIONED BY SIZE EVERY
                                                               integer G

           Associated SYSTABLESPACES columns
             – MAXPARTITIONS =max number of partitions
             – PARTITIONS =actual number of partitions
             – TYPE =G

           Only single-table table space
           Universal table space organization: although the table space is
           partitioned, the data within each partition is organized according to
           segmented architecture
           Incompatible with MEMBER CLUSTER, ADD PARTITION,
           ROTATE PARTITION
      29
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    How Partition-By-Growth Works

            The table space starts with one partition,
           additional partitions will be added on demand until
           the maximum partition is reached.


                             Part 1                  Part 2                                 Max
                                                                                            part n




                        Partitioned Table Space (parts added on demand)



      30
                                                         Copyright © IBM Corporation 2010
                                                                     All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth CREATE
     • SQL CREATE TABLESPACE statement for PBG
            CREATE TABLESPACE TS1 IN DB1
                      MAXPARTITIONS                  55                                       Makes PBG
                      SEGSIZE 64
                      DSSIZE 2G                                                         Partition size
                      LOCKSIZE ANY;

                 A new key word MAXPARTITIONS - specifies the maximum # of
                 partition for a table space.
                 Maxpartitions can be changed by ALTER TABLESPACE
                    • Keep in mind that ALTER MAXPARTITIONS may require down time
                       because it needs to physically close the datasets



      31
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth Create
           SQL CREATE TABLE statement for PBG

            CREATE TABLE Mytable
                   PARTITION BY SIZE EVERY integer G;
                                                                                        where integer ≤ 64



            Only available when you don’t specify a table
           space name on the CREATE TABLE
           Table space is implicitly created
            mG specifies DSSIZE of the table space

      32
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    More on Implicitly Created PBG
      • Implicitly created table space defaults to PBG
      • It defaults to row locking
      • The LOCKMAX defaults to SYSTEM
      • Default value for MAXPARTITIONS = 256
      • Default SEGSIZE = 4 if not specified on DDL
              – In DB2 Version 10, the default SEGSIZE value for universal table spaces
                   has changed from 4 to 32
     Note




                    • New DSNZPARM – DPSEGSZ (default 32) on DSN6SYSP macro
                    • DPSEGSZ affects the SEGSIZE default chosen
                    • DPSEGSZ becomes available in DB2 10 new function mode (NFM)
      • Default DSSIZE = 4G if not specified on DDL
              – Note: DSSIZE and SEGSIZE require a DROP to change, no
                   ALTER option
            Note
                    • DB2 10 has ALTER DSSIZE/SEGSIZE
       33
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth Space Search
             No more space in the partition…
               – Search forward to next partition if there is one
               – Search backward to previous partitions

                                                                                          Then add a new part

       Part 1                             Part 2                                 Part 3            New part 4




    Target part



                  Note: If there is any restricted DBET state of any part during
                   the backward space search. New part will not be added.

      34
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    PBG UTS and Catalog Table

       Catalog table SYSIBM.SYSTABLESPACE
       • TYPE column value
               –   “R” - Range-partitioned universal table space
               –   “P” - Implicit table space created for pureXML columns
               –   “O” - Table space is a LOB table space
               –   “G” - Partitioned-by-growth table space
       • MAXPARTITIONS (new column)
          – Maximum number of partitions
                      • 0 (zero) if table space NOT partition-by-growth
       • PARTITIONS
          – Column contains the number of physical partition (dataset)
                   that currently exist


      35
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    PBG UTS and Catalog Table
     • Catalog table SYSIBM.SYSTABLEPART
            – When table space created, one partition created and
                 one row inserted to SYSTABLEPART (assuming
                 created with DEFINE YES)
            – Additional row added to SYSTABLEPART for each new
                 partition required




      36
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Additional Characteristics of PBG
    • PBG is partitioned according to space requirements
            – A partition is allocated when one is needed due to
                growth
    • Each partition has a one-to-one correspondence to
           a VSAM data sets and MUST be DB2-managed
    • No partitioning key to bound the data within a table
           space, so no PI index
    • Only non-partitioned indexes can be created
                   • No data-partitioned secondary index (DPSI)
    • Only single table allowed per table space
                   • can not totally replace segmented table space
      37
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Additional Characteristics of PBG
     • When a partition fills and MAXPARTITIONS has
           not been reached
            – New partition created and catalog is updated
                    • Even if unit of work adding a partition issues a rollback, new
                       partition remains
            – Compression dictionary will be copied from previous
                 partition to the new partition
            – Freespace, caching, define, logging and trackmod
                 attributes are same for each partition
            – Drains and Claims of new partition are inherited from
                 prior partition

      38
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Additional Characteristics of PBG
     • Some DBET states are also inherited by the new
           partition from the previous partition
            – (RO*, UTUT, UTRO for table space, PSRBD, ICOPY for
                 NPI)
     • CLONE table can be created
            – Both CLONE and base table grow at the same time
     • All utilities can operate at the partition level except
           LOAD utility



      39
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    PBG – Additional Function Limitations
     • No partition key range can be defined                                            Note
                                  DB2 10 allows a partition to be added
     • No ALTER ADD PART          up to the value of MAXPARTITIONS

     • No ALTER ROTATE PART
     • No ALTER Stogroup
     • No LOAD PART
     • No user-directed define partition
            – Required to use UNLOAD/LOAD instead of
                 DSN1COPY for copying data between table space if
                 source table space has more than 1 partition

      40
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Practical Applications for PBG
     • When no obvious partitioning column exists
     • When a table requiring > 64G
        – Lift 64G size limitation of segmented table space
        – Increase overall size of table space on demand
     • Space on Demand
     • Large table space and manage utilities at a data
           subset is needed
            – Partition level utility
     • There’s a need for CLONE table                                                   Note

     • Hash table use (added in DB2 10)
      41
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and REORG
     • Reorganization of data could result in more or less
           partitions
            – If n # of parts to start with will be n or more # of parts at
              the end of the REORG
            – No delete of existing partitions
            – If REORG is at the table space level, could result in
              empty partitions at the end of table space
            – Tables cannot contain LOB or XML columns
     • If MAXPARTITIONS is reached, REORG will fail
     • If new partition is added, dictionary pages are
           copied from the previous partition into the new
           partition
      42
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-by-growth and REORG

     • REORG SHRLEVEL CHANGE – new partition is
           added to both shadow and base (I and J data set)




      43
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and REORG PART
     • Data must fit back to original part or REORG will
           fail
             – To prevent failure, adjust space attributes (PCTFREE or
                  PGFREE)
     • If partition range level REORG, the data on one
           part can overflow to the other
     • To avoid failure, run REORG for entire partitioned
           table space



      44
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-by-growth and REORG
     • Table has LOB column,
            – Holes within each partition will be eliminated
            – REORG does not move the data from one partition to
                 another




      45
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth - REORG limitations
     • No parallelism to ensure data reduced to minimum
           number of partitions
     • No REBALANCE
     • No shrinking of partitions even if there are only
           empty partitions at the end of table space
            – The empty partitions could have header, space map
                 page, dictionary page and system pages




      46
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and COPY
            Copies can be made at the part level or the table
           space level
           Will copy empty partition
            Will also pick up new partition added during COPY
           for COPY SHRLEVEL CHANGE at the table space
           level
            – Remember this is a fuzzy copy. It is not recommend to
                 be used for RECOVER TOCOPY




      47
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and RECOVER
     • RECOVER to currency with image copy
            – Pick up new added parts since last copy via log apply.
     • RECOVER to image copy, PIT or NOT LOGGED
           table space
            – The excess partitions (in base, LOB or XML) will be
                 empty (header/space map/system pages).




      48
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and LOAD
     • Only support table space level operation
        – No partition level load
     • No parallelism for Load Utility
     • Can accommodate growth of table space
     • Copy dictionary from previous partition to the new
           partition
     • Excess partitions remain empty
     • LOAD … COPYDICTIONARY not available
            – Keyword made available in DB2 9 by PK63324 and
                 PK63325

      49
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth & Other Utilities
     • CHECK INDEX SHRLEVEL CHANGE
            – Partition added during the course of the CHECK INDEX
                 utility is NOT checked




     • REBUILD INDEX SHRLEVEL CHANGE
            – Index for record inserted into new added partition during
                 the course of the REBUILD is reflected in the index
                 page set via log apply



      50
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Partition-By-Growth and DSN1COPY
     • Partition number may be inconsistent between DSN1COPY
           and the target table space
            – If partition number of TARGET table space is greater than
                 partition number of SOURCE table space:
                    • Use TRUNCATE TABLE on the target table before DSN1COPY to
                       make sure the target table is empty


            – If partition number of TARGET table space is less than partition
                 number of SOURCE table space:
                    • DSN1COPY cannot be used
                    • Unload/Load may be used

            – Use NUMPARTS and SEGMENT keywords
                    • NUMPARTS = MAXPARTITIONS for PbG

      51
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                                                        Pause
                                                     simply for effect




 (17 slides to go)

       52
                                                        Copyright © IBM Corporation 2010
                                                                    All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




           Range-partitioned
           Universal Table Space




      53
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




     Create Range-partitioned UTS
               SQL CREATE statement
                CREATE TABLESPACE PRB_TS1 IN UTS_DB1
                   NUMPARTS 3
                   SEGSIZE 64                                                           Makes it PBR
                   LOCKSIZE ANY;


               Create a partitioned table space and just add the SEGSIZE
               clause = Range-partitioned table space
          • Range-partitioned table space is now DEFAULT in DB2 10
   Note




                • Classic partitioned table spaces still supported
                    • Create classic by specifying SEGSIZE 0 on CREATE

          54
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Create Table in Range-partitioned UTS
            CREATE TABLE MyTable
                       ( C1 CHAR(4),
                          C2 VARCHAR(20),
                          C3 INTEGER )
                  PARTITION BY (C1)
                       ( PARTITION 1 ENDING AT (‘DDDD’),
                          PARTITION 2 ENDING AT (‘HHHH’),
                          PARTITION 3 ENDING AT (‘ZZZZ’) )
                                            IN UTS_DB1.PRB_TS1 ;


     • Must use table-controlled partitioning

      55
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Range-partitioned UTS and Catalog Table
     • Catalog table SYSIBM.SYSTABLESPACE
     • TYPE column value
            – “R” - Range-partitioned universal table space
            – “P” - Implicit table space created for XML columns.
            – “O” - Table space is a LOB table space
            – “G” - Partitioned-by-growth table space




      56
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Range-partitioned Aux Table Space
     • LOB table space
            – Can be user defined via SQLRULES

     • XML AUX table space
            – Its table space type is also Range-partitioned UTS
            – XML rows are in the same part as base row




      57
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    PBR – Additional Function Limitations
     • No index-controlled partitioning definition

             Example of invalid way to create partition range:


               CREATE UNIQUE INDEX TBIX1 ON MyTable
                (C1)
                 CLUSTER
                   (PARTITION 1 ENDING AT (‘DDDD’),
                     PARTITION 2 ENDING AT (‘HHHH’),
                     PARTITION 3 ENDING AT (‘ZZZZ’) )
                 BUFFERPOOL BP0
                 CLOSE YES;




      58
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    PBR – Additional Function Limitations
     • No index-controlled partitioning definition

             Example of invalid way to create partition range:


              CREATE UNIQUE INDEX TBIX1 ON MyTable
                                                                                        SQLCODE = -662
               (C1)
                CLUSTER                                                                 A PARTITIONED INDEX
                                                                                        CANNOT BE CREATED ON A
                  (PARTITION 1 ENDING AT (‘DDDD’),                                      NON-PARTITIONED,
                    PARTITION 2 ENDING AT (‘HHHH’),                                     PARTITION-BY-GROWTH, OR
                    PARTITION 3 ENDING AT (‘ZZZZ’) )                                    RANGE-PARTITIONED
                                                                                        UNIVERSAL TABLE SPACE
                BUFFERPOOL BP0
                CLOSE YES;




      59
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Range-partitioned Practical Applications
     • When a partitioned table space and a partitioning
           key is required
     • When better performance than classic partitioned
           table space is required
     • Parallelism and partition-independence capabilities
     • When a CLONE table is required
       Note

     • Hash table use (added in DB2 10)



      60
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




            Conclusion




 (10 slides to go)

       61
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    What Can You Have?
     • Partition-by-growth universal table space
            – MAXPARTITIONS
     • Range-partitioned universal table space
            – SEGSIZE and NUMPARTS
     • Classic partitioned table space
            – NUMPARTS, no SEGSIZE
     • Segmented table space
            – SEGSIZE, no NUMPARTS, no MAXPARTITIONS
     • Simple table space
            – Not allowed


      62
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Universal Table Spaces are Very Cool
                                                                            Just Remember…
     • Only one table per table space
             – Possibly more VSAM data sets
             – DSMAX may have to be increased

     • No member cluster
             – Could be a concern if you are using data sharing
             – Allowed in DB2 10
     • No migration
             – Must DROP and re-CREATE
             – ALTER in DB2 10
      63
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                                                     simply for effect
                                                        Pause




      64
                                                        Copyright © IBM Corporation 2010
                                                                    All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




           Questions




      65
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    No-charge Certification Testing
     DB2 for z/OS
     • IBM Certified Database Associate
            – DB2 9 Fundamentals, Exam 730
     • IBM Certified Database Administrator
            – DB2 9 for z/OS, Exam 732
     • IBM Certified System Administrator
            – DB2 9 for z/OS, Exam 737
     • IBM Certified Database Administrator
            – DB2 10 for z/OS, Exam 612, Coming soon!
      66
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    No-charge Certification Testing
     DB2 9.7 for Linux, UNIX, and Windows (LUW)
     • IBM Certified Database Associate, DB2 9 Fundamentals,
           Exam 730
     •     IBM Certified Database Administrator, DB2 9.7 for LUW,
           Exam 541
     •     IBM Certified Application Developer, DB2 9.7 for LUW,
           Exam 543
     •     IBM Certified Solution Developer, DB2 9.7 SQL Procedure
           Developer, Exam 545, Coming soon!
     •     IBM Certified Advanced Database Administrator, DB2 9.7
           for LUW, Exam 544
     •     Upgrade Exam for DB2 9.7 for LUW, Exam 546


      67
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    No-charge Certification Testing
     DB2 9 for Linux, UNIX, and Windows (LUW)
     • IBM Certified Database Associate, DB2 9 Fundamentals,
           Exam 730
     • IBM Certified Database Administrator, DB2 9 for LUW,
           Exam 731
     • IBM Certified Application Developer, DB2 9, Exam 733
     • IBM Certified Advanced Database Administrator, DB2 9 for
           LUW, Exam 734
     • IBM Certified Solution Developer, DB2 9.5 SQL Procedure
           Developer, Exam 735
     • Upgrade Exam for DB2 9 for LUW, Exam 736

      68
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    Shameless Self promotion
     My DB2 for z/OS blog…
                  http://blogs.ittoolbox.com/database/db2zos
     References
           Presentations
                  “DB2 V9 Universal Table Spaces for z/OS”,
                  Frances Villafuerte,
                  IBM DB2 Development,
                  IDUG NA 2007
           Article
                  “Structure and Format Enhancements in DB2 9 for z/OS ”,
                  William Favero,
                  z/Journal Magazine (http://www.zJournal.com),
                  August/September 2007
           Redbooks -- http://www.ibm.com/redbooks
                  SG24-7330 - DB2 9 for z/OS Technical Overview                         (8.2MB)
                  SG24-7473 - DB2 9 for z/OS Performance Topics                         (6.5 MB)




      69
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                                         www.ibm.com/developerworks/data/bestpractices/db2zos/

      • Watch recorded presentations and read articles from your favorite DB2 experts.
      • Get practical recommendations for areas such as:
              –   Virtual storage tuning
              –   Security
              –   Software maintenance strategies
              –   Migration
              –   Setting up application servers to
                  access DB2 for z/OS
              –   Partitioning table spaces
              –   Debugging stored procedures
              And more!

      Send feedback and topic suggestions to db2zinfo@us.ibm.com
      70
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




    The Exchange on My developerWorks
             www.ibm.com/developerworks/software/exchange
             • Download samples from IBM and fellow users, or share your own code
             • Subscribe to updates; tag, comment on, and recommend samples
             • Be part of the My developerWorks community: read or write blogs, join in message
                   board discussions, find useful links and answers




      71
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces



  A Special Invitation for System z Attendees




      72
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                               ou
                              Y g!
                            k
                          an din
                       h en
                     T tt
                        r A          ie
                     fo       W i ll

      73
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.
Session #1929: DB2 for z/OS Universal Table Spaces




                                                Willie Favero
                 Senior Certified Consulting IT Software Specialist
            Data Warehousing for System z Swat Team
                                       IBM Silicon Valley Laboratory
                                         IBM Academic Initiative Ambassador for System z
                        IBM Certified Database Administrator - DB2 Universal Database V8.1 for z/OS
                                      IBM Certified Database Administrator – DB2 9 for z/OS
                                     IBM Certified Database Administrator – DB2 10 for z/OS
                                       IBM Certified DB2 9 System Administrator for z/OS
                                                          IBM zChampion




      74
                                                     Copyright © IBM Corporation 2010
                                                                 All rights reserved.

More Related Content

What's hot

Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...
John Campbell
 
A First Look at the DB2 10 DSNZPARM Changes
A First Look at the DB2 10 DSNZPARM ChangesA First Look at the DB2 10 DSNZPARM Changes
A First Look at the DB2 10 DSNZPARM ChangesWillie Favero
 
DB2 for z/OS Architecture in Nutshell
DB2 for z/OS Architecture in NutshellDB2 for z/OS Architecture in Nutshell
DB2 for z/OS Architecture in Nutshell
Cuneyt Goksu
 
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 lockingUsing Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
John Campbell
 
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the mythsDB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
Florence Dubois
 
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
Surekha Parekh
 
DB2 Accounting Reporting
DB2  Accounting ReportingDB2  Accounting Reporting
DB2 Accounting Reporting
John Campbell
 
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSCuneyt Goksu
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OS
Florence Dubois
 
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Florence Dubois
 
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
Surekha Parekh
 
DB2 Design for High Availability and Scalability
DB2 Design for High Availability and ScalabilityDB2 Design for High Availability and Scalability
DB2 Design for High Availability and Scalability
Surekha Parekh
 
Best Practices For Optimizing DB2 Performance Final
Best Practices For Optimizing DB2 Performance FinalBest Practices For Optimizing DB2 Performance Final
Best Practices For Optimizing DB2 Performance Final
Datavail
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
Surekha Parekh
 
ALL ABOUT DB2 DSNZPARM
ALL ABOUT DB2 DSNZPARMALL ABOUT DB2 DSNZPARM
ALL ABOUT DB2 DSNZPARM
IBM
 
Presentation db2 connections to db2 for z os
Presentation   db2 connections to db2 for z osPresentation   db2 connections to db2 for z os
Presentation db2 connections to db2 for z os
xKinAnx
 
DB2 V10 Migration Guidance
DB2 V10 Migration GuidanceDB2 V10 Migration Guidance
DB2 V10 Migration Guidance
Craig Mullins
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
John Campbell
 

What's hot (18)

Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...
 
A First Look at the DB2 10 DSNZPARM Changes
A First Look at the DB2 10 DSNZPARM ChangesA First Look at the DB2 10 DSNZPARM Changes
A First Look at the DB2 10 DSNZPARM Changes
 
DB2 for z/OS Architecture in Nutshell
DB2 for z/OS Architecture in NutshellDB2 for z/OS Architecture in Nutshell
DB2 for z/OS Architecture in Nutshell
 
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 lockingUsing Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
 
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the mythsDB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
 
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
 
DB2 Accounting Reporting
DB2  Accounting ReportingDB2  Accounting Reporting
DB2 Accounting Reporting
 
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OS
 
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
 
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and BeyondA Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
A Time Traveller’s Guide to DB2: Technology Themes for 2014 and Beyond
 
DB2 Design for High Availability and Scalability
DB2 Design for High Availability and ScalabilityDB2 Design for High Availability and Scalability
DB2 Design for High Availability and Scalability
 
Best Practices For Optimizing DB2 Performance Final
Best Practices For Optimizing DB2 Performance FinalBest Practices For Optimizing DB2 Performance Final
Best Practices For Optimizing DB2 Performance Final
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
 
ALL ABOUT DB2 DSNZPARM
ALL ABOUT DB2 DSNZPARMALL ABOUT DB2 DSNZPARM
ALL ABOUT DB2 DSNZPARM
 
Presentation db2 connections to db2 for z os
Presentation   db2 connections to db2 for z osPresentation   db2 connections to db2 for z os
Presentation db2 connections to db2 for z os
 
DB2 V10 Migration Guidance
DB2 V10 Migration GuidanceDB2 V10 Migration Guidance
DB2 V10 Migration Guidance
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
 

Viewers also liked

IBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration Basics
IBM
 
Modeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented PerlModeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented Perl
Joel Berger
 
Database storage engines
Database storage enginesDatabase storage engines
Database storage engines
University of Sindh, Jamshoro
 
Partitioning
PartitioningPartitioning
Partitioning
Reema Gajjar
 
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...InSync2011
 
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...InSync2011
 
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...InSync2011
 
Libro blanco espesantes essd
Libro blanco espesantes essdLibro blanco espesantes essd
Libro blanco espesantes essd
Loluca Tascón
 
The Five R's: There Can be no DB2 Performance Improvement Without Them!
The Five R's: There Can be no DB2 Performance Improvement Without Them!The Five R's: There Can be no DB2 Performance Improvement Without Them!
The Five R's: There Can be no DB2 Performance Improvement Without Them!
Craig Mullins
 
MAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
MAGICDB : Mango Genetic stocks Identification and Characterisation Data BaseMAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
MAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
Senthil Natesan
 
Curs integral-neurologie-sem-1-i-ii
Curs integral-neurologie-sem-1-i-iiCurs integral-neurologie-sem-1-i-ii
Curs integral-neurologie-sem-1-i-iiAlexandra Ally
 
Understanding and controlling transaction logs
Understanding and controlling transaction logsUnderstanding and controlling transaction logs
Understanding and controlling transaction logs
Red Gate Software
 
Physical Modeling and Design for Phase Change Memories
Physical Modeling and Design for Phase Change MemoriesPhysical Modeling and Design for Phase Change Memories
Physical Modeling and Design for Phase Change Memories
IEEE Computer Society Computing Now
 
Db2
Db2Db2
Db2
yboren
 
The Tao of DB2
The Tao of DB2The Tao of DB2
The Tao of DB2
Craig Mullins
 
Db2 and storage management (mullins)
Db2 and storage management (mullins)Db2 and storage management (mullins)
Db2 and storage management (mullins)
Craig Mullins
 

Viewers also liked (16)

IBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration Basics
 
Modeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented PerlModeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented Perl
 
Database storage engines
Database storage enginesDatabase storage engines
Database storage engines
 
Partitioning
PartitioningPartitioning
Partitioning
 
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
 
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
 
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
 
Libro blanco espesantes essd
Libro blanco espesantes essdLibro blanco espesantes essd
Libro blanco espesantes essd
 
The Five R's: There Can be no DB2 Performance Improvement Without Them!
The Five R's: There Can be no DB2 Performance Improvement Without Them!The Five R's: There Can be no DB2 Performance Improvement Without Them!
The Five R's: There Can be no DB2 Performance Improvement Without Them!
 
MAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
MAGICDB : Mango Genetic stocks Identification and Characterisation Data BaseMAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
MAGICDB : Mango Genetic stocks Identification and Characterisation Data Base
 
Curs integral-neurologie-sem-1-i-ii
Curs integral-neurologie-sem-1-i-iiCurs integral-neurologie-sem-1-i-ii
Curs integral-neurologie-sem-1-i-ii
 
Understanding and controlling transaction logs
Understanding and controlling transaction logsUnderstanding and controlling transaction logs
Understanding and controlling transaction logs
 
Physical Modeling and Design for Phase Change Memories
Physical Modeling and Design for Phase Change MemoriesPhysical Modeling and Design for Phase Change Memories
Physical Modeling and Design for Phase Change Memories
 
Db2
Db2Db2
Db2
 
The Tao of DB2
The Tao of DB2The Tao of DB2
The Tao of DB2
 
Db2 and storage management (mullins)
Db2 and storage management (mullins)Db2 and storage management (mullins)
Db2 and storage management (mullins)
 

Similar to Universal Table Spaces for DB2 10 for z/OS - IOD 2010 Seesion 1929 - favero

LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
Stuart McIntyre
 
DB2 for z/OS Version 8 Upgrade Planning Paper
DB2 for z/OS Version 8 Upgrade Planning PaperDB2 for z/OS Version 8 Upgrade Planning Paper
DB2 for z/OS Version 8 Upgrade Planning Paper
Willie Favero
 
JMP201 - IBM Sametime 8.5 Deployment Workshop
JMP201 - IBM Sametime 8.5 Deployment WorkshopJMP201 - IBM Sametime 8.5 Deployment Workshop
JMP201 - IBM Sametime 8.5 Deployment Workshop
Wes Morgan
 
Convergências, Integração e Desempenho no IBM System z Enterprise
Convergências, Integração e Desempenho no IBM System z Enterprise Convergências, Integração e Desempenho no IBM System z Enterprise
Convergências, Integração e Desempenho no IBM System z Enterprise Impacta Eventos
 
1) planning
1) planning1) planning
1) planning
guptavikki99
 
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
zOSCommserver
 
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
z16 zOS Support - March 2023 - SHARE in Atlanta.pdfz16 zOS Support - March 2023 - SHARE in Atlanta.pdf
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
Marna Walle
 
DB2 and storage management
DB2 and storage managementDB2 and storage management
DB2 and storage management
Craig Mullins
 
Smart analytic optimizer how it works
Smart analytic optimizer   how it worksSmart analytic optimizer   how it works
Smart analytic optimizer how it works
Willie Favero
 
DB2 and Storage Management
DB2 and Storage ManagementDB2 and Storage Management
DB2 and Storage ManagementCraig Mullins
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemzsystemz
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemzsystemz
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemzsystemz
 
Z4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OSZ4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OS
Tony Pearson
 
Z109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909dZ109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909d
Tony Pearson
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910b
Tony Pearson
 
AD303 - Extreme Makeover: IBM Lotus Domino Application Edition
AD303 - Extreme Makeover: IBM Lotus Domino Application EditionAD303 - Extreme Makeover: IBM Lotus Domino Application Edition
AD303 - Extreme Makeover: IBM Lotus Domino Application Edition
Ray Bilyk
 
Tuning DB2 in a Solaris Environment
Tuning DB2 in a Solaris EnvironmentTuning DB2 in a Solaris Environment
Tuning DB2 in a Solaris Environment
Jignesh Shah
 
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-FeaturesAdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
Christoph Adler
 

Similar to Universal Table Spaces for DB2 10 for z/OS - IOD 2010 Seesion 1929 - favero (20)

LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
LS11 - BP105 - 12 More Things Your Mother Never Told You About Installing Lot...
 
DB2 for z/OS Version 8 Upgrade Planning Paper
DB2 for z/OS Version 8 Upgrade Planning PaperDB2 for z/OS Version 8 Upgrade Planning Paper
DB2 for z/OS Version 8 Upgrade Planning Paper
 
JMP201 - IBM Sametime 8.5 Deployment Workshop
JMP201 - IBM Sametime 8.5 Deployment WorkshopJMP201 - IBM Sametime 8.5 Deployment Workshop
JMP201 - IBM Sametime 8.5 Deployment Workshop
 
Convergências, Integração e Desempenho no IBM System z Enterprise
Convergências, Integração e Desempenho no IBM System z Enterprise Convergências, Integração e Desempenho no IBM System z Enterprise
Convergências, Integração e Desempenho no IBM System z Enterprise
 
1) planning
1) planning1) planning
1) planning
 
Db2exc guide 952_mac_x86_64
Db2exc guide 952_mac_x86_64Db2exc guide 952_mac_x86_64
Db2exc guide 952_mac_x86_64
 
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
 
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
z16 zOS Support - March 2023 - SHARE in Atlanta.pdfz16 zOS Support - March 2023 - SHARE in Atlanta.pdf
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
 
DB2 and storage management
DB2 and storage managementDB2 and storage management
DB2 and storage management
 
Smart analytic optimizer how it works
Smart analytic optimizer   how it worksSmart analytic optimizer   how it works
Smart analytic optimizer how it works
 
DB2 and Storage Management
DB2 and Storage ManagementDB2 and Storage Management
DB2 and Storage Management
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemz
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemz
 
Linux on systemz
Linux on systemzLinux on systemz
Linux on systemz
 
Z4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OSZ4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OS
 
Z109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909dZ109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909d
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910b
 
AD303 - Extreme Makeover: IBM Lotus Domino Application Edition
AD303 - Extreme Makeover: IBM Lotus Domino Application EditionAD303 - Extreme Makeover: IBM Lotus Domino Application Edition
AD303 - Extreme Makeover: IBM Lotus Domino Application Edition
 
Tuning DB2 in a Solaris Environment
Tuning DB2 in a Solaris EnvironmentTuning DB2 in a Solaris Environment
Tuning DB2 in a Solaris Environment
 
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-FeaturesAdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
AdminCamp2019 - We love Domino V10 - 15 neue Domino-Admin-Features
 

More from Willie Favero

Social Networking 2 - Final
Social Networking 2 - FinalSocial Networking 2 - Final
Social Networking 2 - Final
Willie Favero
 
Social Networking 1 - Final
Social Networking 1 - FinalSocial Networking 1 - Final
Social Networking 1 - Final
Willie Favero
 
Social Networking 3 - Final
Social Networking 3 - Final Social Networking 3 - Final
Social Networking 3 - Final
Willie Favero
 
Speaking at a conference
Speaking at a conferenceSpeaking at a conference
Speaking at a conference
Willie Favero
 
Data Warehousing: What's Available on System z Today
Data Warehousing: What's Available on System z TodayData Warehousing: What's Available on System z Today
Data Warehousing: What's Available on System z Today
Willie Favero
 
Why computers are cool high school audience - 2010-12-01
Why computers are cool   high school audience - 2010-12-01Why computers are cool   high school audience - 2010-12-01
Why computers are cool high school audience - 2010-12-01Willie Favero
 
Compression for DB2 for z/OS
Compression for DB2 for z/OS Compression for DB2 for z/OS
Compression for DB2 for z/OS
Willie Favero
 
Redbooks with live links 2010 12-06
Redbooks with live links 2010 12-06Redbooks with live links 2010 12-06
Redbooks with live links 2010 12-06Willie Favero
 
Paralellism with DB2 for z/OS (2010)
Paralellism with DB2 for z/OS (2010)Paralellism with DB2 for z/OS (2010)
Paralellism with DB2 for z/OS (2010)
Willie Favero
 

More from Willie Favero (9)

Social Networking 2 - Final
Social Networking 2 - FinalSocial Networking 2 - Final
Social Networking 2 - Final
 
Social Networking 1 - Final
Social Networking 1 - FinalSocial Networking 1 - Final
Social Networking 1 - Final
 
Social Networking 3 - Final
Social Networking 3 - Final Social Networking 3 - Final
Social Networking 3 - Final
 
Speaking at a conference
Speaking at a conferenceSpeaking at a conference
Speaking at a conference
 
Data Warehousing: What's Available on System z Today
Data Warehousing: What's Available on System z TodayData Warehousing: What's Available on System z Today
Data Warehousing: What's Available on System z Today
 
Why computers are cool high school audience - 2010-12-01
Why computers are cool   high school audience - 2010-12-01Why computers are cool   high school audience - 2010-12-01
Why computers are cool high school audience - 2010-12-01
 
Compression for DB2 for z/OS
Compression for DB2 for z/OS Compression for DB2 for z/OS
Compression for DB2 for z/OS
 
Redbooks with live links 2010 12-06
Redbooks with live links 2010 12-06Redbooks with live links 2010 12-06
Redbooks with live links 2010 12-06
 
Paralellism with DB2 for z/OS (2010)
Paralellism with DB2 for z/OS (2010)Paralellism with DB2 for z/OS (2010)
Paralellism with DB2 for z/OS (2010)
 

Universal Table Spaces for DB2 10 for z/OS - IOD 2010 Seesion 1929 - favero

  • 1. DB2 for z/OS Universal Table Spaces Session Number 1929A/B (Also on Thursday at 10:00 AM Willie Favero, IBM DB2 for z/OS Data Warehouse Swat Team Silicon Valley Lab wfavero@us.ibm.com 1
  • 2. Session #1929: DB2 for z/OS Universal Table Spaces Disclaimer Copyright © IBM Corporation 2010. All rights reserved. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS AND/OR SOFTWARE. The materials in this presentation are also subject to • enhancements at some future date, • a new release of DB2, or • a Programming Temporary Fix (PTF) IBM MAY HAVE PATENTS OR PENDING PATENT APPLICATIONS COVERING SUBJECT MATTER IN THIS DOCUMENT. THE FURNISHING OF THIS DOCUMENT DOES NOT IMPLY GIVING LICENSE TO THESE PATENTS. TRADEMARKS: THE FOLLOWING TERMS ARE TRADEMARKS OR ® REGISTERED TRADEMARKS OF THE IBM CORPORATION IN THE UNITED STATES AND/OR OTHER COUNTRIES: AIX, AS/400, DATABASE 2, DB2, e-business logo, Enterprise Storage Server, ESCON, FICON, OS/390, OS/400, ES/9000, MVS/ESA, Netfinity, RISC, RISC SYSTEM/6000, iSeries, pSeries, xSeries, zSeries, System z, SYSTEM/390, IBM, Lotus, NOTES, WebSphere, z/Architecture, z/OS and zSeries. THE FOLLOWING TERMS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF THE MICROSOFT CORPORATION IN THE UNITED STATES AND/OR OTHER COUNTRIES: MICROSOFT, WINDOWS, WINDOWS NT, ODBC and WINDOWS 95. For additional information visit the URL http://www.ibm.com/legal/copytrade.phtml for “Copyright and trademark information” 2 Copyright © IBM Corporation 2010 All rights reserved.
  • 3. Session #1929: DB2 for z/OS Universal Table Spaces Disclaimer: Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. 3 Copyright © IBM Corporation 2010 All rights reserved.
  • 4. Session #1929: DB2 for z/OS Universal Table Spaces Information and Analytics Communities • On-line communities, User Groups, Technical Forums, Blogs, Social networks, and more – Find a community that interests you at… • ibm.com/software/data/community • Information Champions – Recognizing individuals who have made the most outstanding contributions to Information Management communities • ibm.com/software/data/champion 4 Copyright © IBM Corporation 2010 All rights reserved.
  • 5. Session #1929: DB2 for z/OS Universal Table Spaces Thank You! Your Feedback is Important to Us • Access your personal session survey list and complete via SmartSite – Your smart phone or web browser at: iodsmartsite.com – Any SmartSite kiosk onsite – Each completed session survey increases your chance to win an Apple iPod Touch with daily drawing sponsored by Alliance Tech 5 Copyright © IBM Corporation 2010 5 All rights reserved.
  • 6. Session #1929: DB2 for z/OS Universal Table Spaces Review Today’s Table Spaces Actual Presentation start here Actual Presentation start here (62 slides to go) 6 Copyright © IBM Corporation 2010 All rights reserved.
  • 7. Session #1929: DB2 for z/OS Universal Table Spaces In the Beginning… • There were simple table spaces – Multiple tables in the same table space – Multiple tables could occupy the same page – Simplistic space map – 64GB size limitation – Deprecated in DB2 9 for z/OS – DB2 Catalog still uses them Note • DB2 10 discontinues use of simple table spaces for DB2 Catalog – Customer really shouldn’t be creating simple table spaces anymore in any DB2 Version 7 Copyright © IBM Corporation 2010 All rights reserved.
  • 8. Session #1929: DB2 for z/OS Universal Table Spaces And There Were Also… • Partitioned table spaces – Only one table allowed per table space – Table space is divided into multiple partitions, data sets – Requires a partitioning column – SQL and utilities have partition independence – Could be up to 128Tb – Customer must pick number of partitions Note – Deprecated in DB2 10 for z/OS 8 Copyright © IBM Corporation 2010 All rights reserved.
  • 9. Session #1929: DB2 for z/OS Universal Table Spaces Then DB2 V2.1 Added… • Segmented table spaces – Multiple tables per table space – Pages are organized into segments – Only one table per segment – Still 64GB size limitation – Better space maps, better DELETEs – And better INSERT processing – Customer choice, either segmented or partitioned – Of the three types, best performance in most cases – Default in DB2 9 when SEGSIZE, NUMPARTS, or MAXPARTITIONS options are not specified Note • No longer default in DB2 10 – partition-by-growth becomes default 9 Copyright © IBM Corporation 2010 All rights reserved.
  • 10. Session #1929: DB2 for z/OS Universal Table Spaces Later, DB2 V6 Introduced… • Large Object (LOB) table spaces 10 Copyright © IBM Corporation 2010 All rights reserved.
  • 11. Session #1929: DB2 for z/OS Universal Table Spaces And Introduced with DB2 9… • Universal Table Space (UTS) • XML table spaces (discussion for another time) 11 Copyright © IBM Corporation 2010 All rights reserved.
  • 12. Session #1929: DB2 for z/OS Universal Table Spaces Universal Table Space (56 slides to go) 12 Copyright © IBM Corporation 2010 All rights reserved.
  • 13. Session #1929: DB2 for z/OS Universal Table Spaces What Was Needed • A table space needs both partitioned and segmented organization: – A table’s growth is unpredictable – How do you handle large without a convenient key for range partitioning – It needs to be larger than 64GB – Inter-partition parallelism or independent processing is necessary – Partition scope operations (ADD,ROTATE) apply – Rows are variable in length and a fast insert is required – Mass delete operations should be fast 13 Copyright © IBM Corporation 2010 All rights reserved.
  • 14. Session #1929: DB2 for z/OS Universal Table Spaces What Was Needed • Partitioning by a ROWID column introduces additional table space administration overhead: – estimating optimal number of partitions – ADDing partitions if necessary – less then optimal space utilization 14 Copyright © IBM Corporation 2010 All rights reserved.
  • 15. Session #1929: DB2 for z/OS Universal Table Spaces The Solution… • Universal table space – The very best of segmented and partitioned table spaces delivered in one object 15 Copyright © IBM Corporation 2010 All rights reserved.
  • 16. Session #1929: DB2 for z/OS Universal Table Spaces What is a Universal Table Space? • All the best features from – Segmented table spaces and partitioned table spaces • Hybrid – Extra space maps and space map information – Multiple data sets (partitions) – Segmentation • Plus a bunch of really cool new stuff – Better space management means less REORG – SQL TRUNCATE supported – ALTER TABLE ROTATE PARTITION supported – CLONE table supported (UTS required) – Improved insert performance 16 Copyright © IBM Corporation 2010 All rights reserved.
  • 17. Session #1929: DB2 for z/OS Universal Table Spaces Things to Remember • Only available AFTER upgrading to DB2 9 new function mode (NFM) • Only one table per table space allowed • Reordered Row Format (RRF) only • Partition independence • No longer has a 64GB limitation – Depending on DSSIZE and the number of partitions, the table space could grow up to 128 TB • Incompatible with MEMBER CLUSTER Note DB2 10 will allow MEMBER CLUSTER for universal table spaces 17 Copyright © IBM Corporation 2010 All rights reserved.
  • 18. Session #1929: DB2 for z/OS Universal Table Spaces Two Flavors are Available • Universal table spaces are available in two flavors – Range-partitioned (PBR) • All the features of classic partitioning • Table controlled partitioning only • Using partition column • Partitioned and segmented – Partition-by-growth (PBG) • Partitions added as space is needed • No partitioning key • Partitioned and segmented 18 Copyright © IBM Corporation 2010 All rights reserved.
  • 19. Session #1929: DB2 for z/OS Universal Table Spaces Common UTS Function limitations • Cannot be used for the WORKFILE database – Version 10 supports partition-by-growth table spaces Note in the WORKFILE database • No LOCKSIZE TABLE (uses partitioned table space locking scheme) 19 Copyright © IBM Corporation 2010 All rights reserved.
  • 20. Session #1929: DB2 for z/OS Universal Table Spaces Common UTS Function limitations • No easy way to convert current type of table space to UTS – Required to use DROP/CREATE – DB2 10 ALTER TABLESPACE abc MAXPARTITIONS • Single table simple table space to partition-by-growth UTS • Segmented table space to partition-by-growth UTS Note • Plans and packages are invalidated – DB2 10 ALTER TABLESPACE abc SEGSIZE • Partition table space to range-partitioned UTS 20 Copyright © IBM Corporation 2010 All rights reserved.
  • 21. Session #1929: DB2 for z/OS Universal Table Spaces Common UTS Function limitations • No MEMBER CLUSTER (not supported for segmented) – DB2 10 allows MEMBER CLUSTER only for partition-by-growth or range-partitioned universal table space • ALTER MEMBER CLUSTER Note – Still not allowed for segmented, LOB, work file, or XML table spaces – If table space is a partitioned table space, partitioned table space is converted to range-partitioned universal table space – Altering MEMBER CLUSTER places table space in advisory REORG pending state (AREOR) • SYSIBM.SYSTABLESPACE.MEMBER_CLUSTER • No ALTER SEGSIZE/DSSIZE – So get SEGSIZE/DSSIZE right or it is a DROP/CREATE – DB2 10 allows ALTER SEGSIZE • If SEGSIZE is specified on ALTER, no other clause is allowed Note • ALTER SEGSIZE can only be specified for universal table space or partitioned table space that uses table-controlled partitioning – DB2 10 has ALTER DSSIZE also 21 Copyright © IBM Corporation 2010 All rights reserved.
  • 22. Session #1929: DB2 for z/OS Universal Table Spaces DSNZPARM for SEGSIZE Default When SEGSIZE is NOT specified • DB2 10 – The picture changes considerably – If ZPARM DPSEGSZ = 0 • If MAXPARTITIONS is not specified DB2 9 – If NUMPARTS is not specified Default SEGSIZE 4 » SEGSIZE 4 for segmented table space – If NUMPARTS is specified » Classic partitioned table space • If MAXPARTITIONS is specified – With or without NUMPARTS being specified » partition-by-growth table space w/ SEGSIZE = 32 – If ZPARM DPSEGSZ > 0 (a greater than zero value) • If MAXPARTITIONS is not specified – If NUMPARTS is not specified » SEGSIZE 4 for segmented table space – If NUMPARTS is specified » Partitioned by range-partitioned table space w/ SEGSIZE = DPSEGSZ • If MAXPARTITIONS is specified – With or without NUMPARTS being specified » partition-by-growth table space w/ SEGSIZE = DPSEGSZ 22 Copyright © IBM Corporation 2010 All rights reserved.
  • 23. Session #1929: DB2 for z/OS Universal Table Spaces SYSIBM.SYSCOPY STYPE – CHAR(1) NOT NULL WITH DEFAULT When ICTYPE=A (ALTER) , the new/changed values are: – B The MEMBER CLUSTER value was changed – D The DSSIZE attribute of the table space was altered – M The MAXPARTITIONS attribute of the table space was altered – S The SEGSIZE attribute of the table space was altered Other values were added/changed in SYSCOPY but are not affected by universal table spaces 23 Copyright © IBM Corporation 2010 All rights reserved.
  • 24. Session #1929: DB2 for z/OS Universal Table Spaces Catalog Table SYSIBM.SYSCOPY TTYPE – CHAR(8) NOT NULL WITH DEFAULT When ICTYPE=A (ALTER) and STYPE=B – This column indicates if the previous value for the MEMBER CLUSTER attribute is being used: –Y • The previous member cluster attribute of the table space is being used –N • The previous member cluster attribute of the table space is not being used When ICTYPE=A (ALTER) and STYPE=D – This column indicates the previous DSSIZE attribute value for the table space in units of G, M, or K 24 Copyright © IBM Corporation 2010 All rights reserved.
  • 25. Session #1929: DB2 for z/OS Universal Table Spaces Catalog Table SYSIBM.SYSCOPY TTYPE – CHAR(8) NOT NULL WITH DEFAULT When ICTYPE=A (ALTER) and STYPE=M – This column indicates either the previous value of the MAXPARTITIONS attribute for the table space or the type of table space conversion that was performed on the table space – I • The table space was converted from a single-table simple table space to a partition-by-growth universal table space –n • The previous value of the MAXPARTITIONS attribute for the table space –S • The table space was converted from single-table segmented table space to a partition-by-growth universal table space 25 Copyright © IBM Corporation 2010 All rights reserved.
  • 26. Session #1929: DB2 for z/OS Universal Table Spaces Catalog Table SYSIBM.SYSCOPY TTYPE – CHAR(8) NOT NULL WITH DEFAULT When ICTYPE=A (ALTER) and STYPE=S – This column indicates either the previous value of the SEGSIZE attribute for the table space or the type of table space conversion that was performed on the table space –n • The previous value of the SEGSIZE attribute for the table space –P • The table space was converted from a partitioned table space to a range-partitioned universal table space 26 Copyright © IBM Corporation 2010 All rights reserved.
  • 27. Session #1929: DB2 for z/OS Universal Table Spaces Pause for Questions (41 slides to go) 27 Copyright © IBM Corporation 2010 All rights reserved.
  • 28. Session #1929: DB2 for z/OS Universal Table Spaces Partition-by-growth Universal Table Space 28 Copyright © IBM Corporation 2010 All rights reserved.
  • 29. Session #1929: DB2 for z/OS Universal Table Spaces Partition-by-growth Table Space CREATE TABLESPACE … explicit specification MAXPARTITIONS integer CREATE TABLE … implicit specification PARTITIONED BY SIZE EVERY integer G Associated SYSTABLESPACES columns – MAXPARTITIONS =max number of partitions – PARTITIONS =actual number of partitions – TYPE =G Only single-table table space Universal table space organization: although the table space is partitioned, the data within each partition is organized according to segmented architecture Incompatible with MEMBER CLUSTER, ADD PARTITION, ROTATE PARTITION 29 Copyright © IBM Corporation 2010 All rights reserved.
  • 30. Session #1929: DB2 for z/OS Universal Table Spaces How Partition-By-Growth Works The table space starts with one partition, additional partitions will be added on demand until the maximum partition is reached. Part 1 Part 2 Max part n Partitioned Table Space (parts added on demand) 30 Copyright © IBM Corporation 2010 All rights reserved.
  • 31. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth CREATE • SQL CREATE TABLESPACE statement for PBG CREATE TABLESPACE TS1 IN DB1 MAXPARTITIONS 55 Makes PBG SEGSIZE 64 DSSIZE 2G Partition size LOCKSIZE ANY; A new key word MAXPARTITIONS - specifies the maximum # of partition for a table space. Maxpartitions can be changed by ALTER TABLESPACE • Keep in mind that ALTER MAXPARTITIONS may require down time because it needs to physically close the datasets 31 Copyright © IBM Corporation 2010 All rights reserved.
  • 32. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth Create SQL CREATE TABLE statement for PBG CREATE TABLE Mytable PARTITION BY SIZE EVERY integer G; where integer ≤ 64 Only available when you don’t specify a table space name on the CREATE TABLE Table space is implicitly created mG specifies DSSIZE of the table space 32 Copyright © IBM Corporation 2010 All rights reserved.
  • 33. Session #1929: DB2 for z/OS Universal Table Spaces More on Implicitly Created PBG • Implicitly created table space defaults to PBG • It defaults to row locking • The LOCKMAX defaults to SYSTEM • Default value for MAXPARTITIONS = 256 • Default SEGSIZE = 4 if not specified on DDL – In DB2 Version 10, the default SEGSIZE value for universal table spaces has changed from 4 to 32 Note • New DSNZPARM – DPSEGSZ (default 32) on DSN6SYSP macro • DPSEGSZ affects the SEGSIZE default chosen • DPSEGSZ becomes available in DB2 10 new function mode (NFM) • Default DSSIZE = 4G if not specified on DDL – Note: DSSIZE and SEGSIZE require a DROP to change, no ALTER option Note • DB2 10 has ALTER DSSIZE/SEGSIZE 33 Copyright © IBM Corporation 2010 All rights reserved.
  • 34. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth Space Search No more space in the partition… – Search forward to next partition if there is one – Search backward to previous partitions Then add a new part Part 1 Part 2 Part 3 New part 4 Target part Note: If there is any restricted DBET state of any part during the backward space search. New part will not be added. 34 Copyright © IBM Corporation 2010 All rights reserved.
  • 35. Session #1929: DB2 for z/OS Universal Table Spaces PBG UTS and Catalog Table Catalog table SYSIBM.SYSTABLESPACE • TYPE column value – “R” - Range-partitioned universal table space – “P” - Implicit table space created for pureXML columns – “O” - Table space is a LOB table space – “G” - Partitioned-by-growth table space • MAXPARTITIONS (new column) – Maximum number of partitions • 0 (zero) if table space NOT partition-by-growth • PARTITIONS – Column contains the number of physical partition (dataset) that currently exist 35 Copyright © IBM Corporation 2010 All rights reserved.
  • 36. Session #1929: DB2 for z/OS Universal Table Spaces PBG UTS and Catalog Table • Catalog table SYSIBM.SYSTABLEPART – When table space created, one partition created and one row inserted to SYSTABLEPART (assuming created with DEFINE YES) – Additional row added to SYSTABLEPART for each new partition required 36 Copyright © IBM Corporation 2010 All rights reserved.
  • 37. Session #1929: DB2 for z/OS Universal Table Spaces Additional Characteristics of PBG • PBG is partitioned according to space requirements – A partition is allocated when one is needed due to growth • Each partition has a one-to-one correspondence to a VSAM data sets and MUST be DB2-managed • No partitioning key to bound the data within a table space, so no PI index • Only non-partitioned indexes can be created • No data-partitioned secondary index (DPSI) • Only single table allowed per table space • can not totally replace segmented table space 37 Copyright © IBM Corporation 2010 All rights reserved.
  • 38. Session #1929: DB2 for z/OS Universal Table Spaces Additional Characteristics of PBG • When a partition fills and MAXPARTITIONS has not been reached – New partition created and catalog is updated • Even if unit of work adding a partition issues a rollback, new partition remains – Compression dictionary will be copied from previous partition to the new partition – Freespace, caching, define, logging and trackmod attributes are same for each partition – Drains and Claims of new partition are inherited from prior partition 38 Copyright © IBM Corporation 2010 All rights reserved.
  • 39. Session #1929: DB2 for z/OS Universal Table Spaces Additional Characteristics of PBG • Some DBET states are also inherited by the new partition from the previous partition – (RO*, UTUT, UTRO for table space, PSRBD, ICOPY for NPI) • CLONE table can be created – Both CLONE and base table grow at the same time • All utilities can operate at the partition level except LOAD utility 39 Copyright © IBM Corporation 2010 All rights reserved.
  • 40. Session #1929: DB2 for z/OS Universal Table Spaces PBG – Additional Function Limitations • No partition key range can be defined Note DB2 10 allows a partition to be added • No ALTER ADD PART up to the value of MAXPARTITIONS • No ALTER ROTATE PART • No ALTER Stogroup • No LOAD PART • No user-directed define partition – Required to use UNLOAD/LOAD instead of DSN1COPY for copying data between table space if source table space has more than 1 partition 40 Copyright © IBM Corporation 2010 All rights reserved.
  • 41. Session #1929: DB2 for z/OS Universal Table Spaces Practical Applications for PBG • When no obvious partitioning column exists • When a table requiring > 64G – Lift 64G size limitation of segmented table space – Increase overall size of table space on demand • Space on Demand • Large table space and manage utilities at a data subset is needed – Partition level utility • There’s a need for CLONE table Note • Hash table use (added in DB2 10) 41 Copyright © IBM Corporation 2010 All rights reserved.
  • 42. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and REORG • Reorganization of data could result in more or less partitions – If n # of parts to start with will be n or more # of parts at the end of the REORG – No delete of existing partitions – If REORG is at the table space level, could result in empty partitions at the end of table space – Tables cannot contain LOB or XML columns • If MAXPARTITIONS is reached, REORG will fail • If new partition is added, dictionary pages are copied from the previous partition into the new partition 42 Copyright © IBM Corporation 2010 All rights reserved.
  • 43. Session #1929: DB2 for z/OS Universal Table Spaces Partition-by-growth and REORG • REORG SHRLEVEL CHANGE – new partition is added to both shadow and base (I and J data set) 43 Copyright © IBM Corporation 2010 All rights reserved.
  • 44. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and REORG PART • Data must fit back to original part or REORG will fail – To prevent failure, adjust space attributes (PCTFREE or PGFREE) • If partition range level REORG, the data on one part can overflow to the other • To avoid failure, run REORG for entire partitioned table space 44 Copyright © IBM Corporation 2010 All rights reserved.
  • 45. Session #1929: DB2 for z/OS Universal Table Spaces Partition-by-growth and REORG • Table has LOB column, – Holes within each partition will be eliminated – REORG does not move the data from one partition to another 45 Copyright © IBM Corporation 2010 All rights reserved.
  • 46. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth - REORG limitations • No parallelism to ensure data reduced to minimum number of partitions • No REBALANCE • No shrinking of partitions even if there are only empty partitions at the end of table space – The empty partitions could have header, space map page, dictionary page and system pages 46 Copyright © IBM Corporation 2010 All rights reserved.
  • 47. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and COPY Copies can be made at the part level or the table space level Will copy empty partition Will also pick up new partition added during COPY for COPY SHRLEVEL CHANGE at the table space level – Remember this is a fuzzy copy. It is not recommend to be used for RECOVER TOCOPY 47 Copyright © IBM Corporation 2010 All rights reserved.
  • 48. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and RECOVER • RECOVER to currency with image copy – Pick up new added parts since last copy via log apply. • RECOVER to image copy, PIT or NOT LOGGED table space – The excess partitions (in base, LOB or XML) will be empty (header/space map/system pages). 48 Copyright © IBM Corporation 2010 All rights reserved.
  • 49. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and LOAD • Only support table space level operation – No partition level load • No parallelism for Load Utility • Can accommodate growth of table space • Copy dictionary from previous partition to the new partition • Excess partitions remain empty • LOAD … COPYDICTIONARY not available – Keyword made available in DB2 9 by PK63324 and PK63325 49 Copyright © IBM Corporation 2010 All rights reserved.
  • 50. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth & Other Utilities • CHECK INDEX SHRLEVEL CHANGE – Partition added during the course of the CHECK INDEX utility is NOT checked • REBUILD INDEX SHRLEVEL CHANGE – Index for record inserted into new added partition during the course of the REBUILD is reflected in the index page set via log apply 50 Copyright © IBM Corporation 2010 All rights reserved.
  • 51. Session #1929: DB2 for z/OS Universal Table Spaces Partition-By-Growth and DSN1COPY • Partition number may be inconsistent between DSN1COPY and the target table space – If partition number of TARGET table space is greater than partition number of SOURCE table space: • Use TRUNCATE TABLE on the target table before DSN1COPY to make sure the target table is empty – If partition number of TARGET table space is less than partition number of SOURCE table space: • DSN1COPY cannot be used • Unload/Load may be used – Use NUMPARTS and SEGMENT keywords • NUMPARTS = MAXPARTITIONS for PbG 51 Copyright © IBM Corporation 2010 All rights reserved.
  • 52. Session #1929: DB2 for z/OS Universal Table Spaces Pause simply for effect (17 slides to go) 52 Copyright © IBM Corporation 2010 All rights reserved.
  • 53. Session #1929: DB2 for z/OS Universal Table Spaces Range-partitioned Universal Table Space 53 Copyright © IBM Corporation 2010 All rights reserved.
  • 54. Session #1929: DB2 for z/OS Universal Table Spaces Create Range-partitioned UTS SQL CREATE statement CREATE TABLESPACE PRB_TS1 IN UTS_DB1 NUMPARTS 3 SEGSIZE 64 Makes it PBR LOCKSIZE ANY; Create a partitioned table space and just add the SEGSIZE clause = Range-partitioned table space • Range-partitioned table space is now DEFAULT in DB2 10 Note • Classic partitioned table spaces still supported • Create classic by specifying SEGSIZE 0 on CREATE 54 Copyright © IBM Corporation 2010 All rights reserved.
  • 55. Session #1929: DB2 for z/OS Universal Table Spaces Create Table in Range-partitioned UTS CREATE TABLE MyTable ( C1 CHAR(4), C2 VARCHAR(20), C3 INTEGER ) PARTITION BY (C1) ( PARTITION 1 ENDING AT (‘DDDD’), PARTITION 2 ENDING AT (‘HHHH’), PARTITION 3 ENDING AT (‘ZZZZ’) ) IN UTS_DB1.PRB_TS1 ; • Must use table-controlled partitioning 55 Copyright © IBM Corporation 2010 All rights reserved.
  • 56. Session #1929: DB2 for z/OS Universal Table Spaces Range-partitioned UTS and Catalog Table • Catalog table SYSIBM.SYSTABLESPACE • TYPE column value – “R” - Range-partitioned universal table space – “P” - Implicit table space created for XML columns. – “O” - Table space is a LOB table space – “G” - Partitioned-by-growth table space 56 Copyright © IBM Corporation 2010 All rights reserved.
  • 57. Session #1929: DB2 for z/OS Universal Table Spaces Range-partitioned Aux Table Space • LOB table space – Can be user defined via SQLRULES • XML AUX table space – Its table space type is also Range-partitioned UTS – XML rows are in the same part as base row 57 Copyright © IBM Corporation 2010 All rights reserved.
  • 58. Session #1929: DB2 for z/OS Universal Table Spaces PBR – Additional Function Limitations • No index-controlled partitioning definition Example of invalid way to create partition range: CREATE UNIQUE INDEX TBIX1 ON MyTable (C1) CLUSTER (PARTITION 1 ENDING AT (‘DDDD’), PARTITION 2 ENDING AT (‘HHHH’), PARTITION 3 ENDING AT (‘ZZZZ’) ) BUFFERPOOL BP0 CLOSE YES; 58 Copyright © IBM Corporation 2010 All rights reserved.
  • 59. Session #1929: DB2 for z/OS Universal Table Spaces PBR – Additional Function Limitations • No index-controlled partitioning definition Example of invalid way to create partition range: CREATE UNIQUE INDEX TBIX1 ON MyTable SQLCODE = -662 (C1) CLUSTER A PARTITIONED INDEX CANNOT BE CREATED ON A (PARTITION 1 ENDING AT (‘DDDD’), NON-PARTITIONED, PARTITION 2 ENDING AT (‘HHHH’), PARTITION-BY-GROWTH, OR PARTITION 3 ENDING AT (‘ZZZZ’) ) RANGE-PARTITIONED UNIVERSAL TABLE SPACE BUFFERPOOL BP0 CLOSE YES; 59 Copyright © IBM Corporation 2010 All rights reserved.
  • 60. Session #1929: DB2 for z/OS Universal Table Spaces Range-partitioned Practical Applications • When a partitioned table space and a partitioning key is required • When better performance than classic partitioned table space is required • Parallelism and partition-independence capabilities • When a CLONE table is required Note • Hash table use (added in DB2 10) 60 Copyright © IBM Corporation 2010 All rights reserved.
  • 61. Session #1929: DB2 for z/OS Universal Table Spaces Conclusion (10 slides to go) 61 Copyright © IBM Corporation 2010 All rights reserved.
  • 62. Session #1929: DB2 for z/OS Universal Table Spaces What Can You Have? • Partition-by-growth universal table space – MAXPARTITIONS • Range-partitioned universal table space – SEGSIZE and NUMPARTS • Classic partitioned table space – NUMPARTS, no SEGSIZE • Segmented table space – SEGSIZE, no NUMPARTS, no MAXPARTITIONS • Simple table space – Not allowed 62 Copyright © IBM Corporation 2010 All rights reserved.
  • 63. Session #1929: DB2 for z/OS Universal Table Spaces Universal Table Spaces are Very Cool Just Remember… • Only one table per table space – Possibly more VSAM data sets – DSMAX may have to be increased • No member cluster – Could be a concern if you are using data sharing – Allowed in DB2 10 • No migration – Must DROP and re-CREATE – ALTER in DB2 10 63 Copyright © IBM Corporation 2010 All rights reserved.
  • 64. Session #1929: DB2 for z/OS Universal Table Spaces simply for effect Pause 64 Copyright © IBM Corporation 2010 All rights reserved.
  • 65. Session #1929: DB2 for z/OS Universal Table Spaces Questions 65 Copyright © IBM Corporation 2010 All rights reserved.
  • 66. Session #1929: DB2 for z/OS Universal Table Spaces No-charge Certification Testing DB2 for z/OS • IBM Certified Database Associate – DB2 9 Fundamentals, Exam 730 • IBM Certified Database Administrator – DB2 9 for z/OS, Exam 732 • IBM Certified System Administrator – DB2 9 for z/OS, Exam 737 • IBM Certified Database Administrator – DB2 10 for z/OS, Exam 612, Coming soon! 66 Copyright © IBM Corporation 2010 All rights reserved.
  • 67. Session #1929: DB2 for z/OS Universal Table Spaces No-charge Certification Testing DB2 9.7 for Linux, UNIX, and Windows (LUW) • IBM Certified Database Associate, DB2 9 Fundamentals, Exam 730 • IBM Certified Database Administrator, DB2 9.7 for LUW, Exam 541 • IBM Certified Application Developer, DB2 9.7 for LUW, Exam 543 • IBM Certified Solution Developer, DB2 9.7 SQL Procedure Developer, Exam 545, Coming soon! • IBM Certified Advanced Database Administrator, DB2 9.7 for LUW, Exam 544 • Upgrade Exam for DB2 9.7 for LUW, Exam 546 67 Copyright © IBM Corporation 2010 All rights reserved.
  • 68. Session #1929: DB2 for z/OS Universal Table Spaces No-charge Certification Testing DB2 9 for Linux, UNIX, and Windows (LUW) • IBM Certified Database Associate, DB2 9 Fundamentals, Exam 730 • IBM Certified Database Administrator, DB2 9 for LUW, Exam 731 • IBM Certified Application Developer, DB2 9, Exam 733 • IBM Certified Advanced Database Administrator, DB2 9 for LUW, Exam 734 • IBM Certified Solution Developer, DB2 9.5 SQL Procedure Developer, Exam 735 • Upgrade Exam for DB2 9 for LUW, Exam 736 68 Copyright © IBM Corporation 2010 All rights reserved.
  • 69. Session #1929: DB2 for z/OS Universal Table Spaces Shameless Self promotion My DB2 for z/OS blog… http://blogs.ittoolbox.com/database/db2zos References Presentations “DB2 V9 Universal Table Spaces for z/OS”, Frances Villafuerte, IBM DB2 Development, IDUG NA 2007 Article “Structure and Format Enhancements in DB2 9 for z/OS ”, William Favero, z/Journal Magazine (http://www.zJournal.com), August/September 2007 Redbooks -- http://www.ibm.com/redbooks SG24-7330 - DB2 9 for z/OS Technical Overview (8.2MB) SG24-7473 - DB2 9 for z/OS Performance Topics (6.5 MB) 69 Copyright © IBM Corporation 2010 All rights reserved.
  • 70. Session #1929: DB2 for z/OS Universal Table Spaces www.ibm.com/developerworks/data/bestpractices/db2zos/ • Watch recorded presentations and read articles from your favorite DB2 experts. • Get practical recommendations for areas such as: – Virtual storage tuning – Security – Software maintenance strategies – Migration – Setting up application servers to access DB2 for z/OS – Partitioning table spaces – Debugging stored procedures And more! Send feedback and topic suggestions to db2zinfo@us.ibm.com 70 Copyright © IBM Corporation 2010 All rights reserved.
  • 71. Session #1929: DB2 for z/OS Universal Table Spaces The Exchange on My developerWorks www.ibm.com/developerworks/software/exchange • Download samples from IBM and fellow users, or share your own code • Subscribe to updates; tag, comment on, and recommend samples • Be part of the My developerWorks community: read or write blogs, join in message board discussions, find useful links and answers 71 Copyright © IBM Corporation 2010 All rights reserved.
  • 72. Session #1929: DB2 for z/OS Universal Table Spaces A Special Invitation for System z Attendees 72 Copyright © IBM Corporation 2010 All rights reserved.
  • 73. Session #1929: DB2 for z/OS Universal Table Spaces ou Y g! k an din h en T tt r A ie fo W i ll 73 Copyright © IBM Corporation 2010 All rights reserved.
  • 74. Session #1929: DB2 for z/OS Universal Table Spaces Willie Favero Senior Certified Consulting IT Software Specialist Data Warehousing for System z Swat Team IBM Silicon Valley Laboratory IBM Academic Initiative Ambassador for System z IBM Certified Database Administrator - DB2 Universal Database V8.1 for z/OS IBM Certified Database Administrator – DB2 9 for z/OS IBM Certified Database Administrator – DB2 10 for z/OS IBM Certified DB2 9 System Administrator for z/OS IBM zChampion 74 Copyright © IBM Corporation 2010 All rights reserved.