SlideShare una empresa de Scribd logo
1 de 69
Descargar para leer sin conexión
DB2 for z/OS Universal Table Spaces:
                   The DB2 10 Story

                                                              Willie Favero
                                                            IBM Silicon Valley Lab
                                             Data Warehousing on System z Swat Team


                                                           Friday, March 16, 2012
                                                                 11:00 AM-12:00 PM
                                                          Session Number: 10508




          Copyright © IBM Corporation 2012
                 All rights reserved.
Please Note:

      IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal
      without notice at IBM’s sole discretion.
      Information regarding potential future products is intended to outline our general product direction
      and it should not be relied on in making a purchasing decision.
      The information mentioned regarding potential future products is not a commitment, promise, or
      legal obligation to deliver any material, code or functionality. Information about potential future
      products may not be incorporated into any contract. The development, release, and timing of any
      future features or functionality described for our products remains at our sole discretion.



      Performance is based on measurements and projections using standard IBM benchmarks in a
      controlled environment. The actual throughput or performance that any user will experience will
      vary depending upon many factors, including considerations such as the amount of
      multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the
      workload processed. Therefore, no assurance can be given that an individual user will achieve
      results similar to those stated here.




                                            Copyright © IBM Corporation 2012
Slide 2 of 69                                      All rights reserved.
                                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Acknowledgements and Disclaimers:

      Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all
      countries in which IBM operates.

     The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are
     provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice
     to any participant. 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. IBM shall not be responsible for any damages arising out of the use of,
     or otherwise related to, this presentation or any other materials. 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 the
     applicable license agreement governing the use of IBM software.


     All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may
     have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these
     materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific
     sales, revenue growth or other results.


     © Copyright IBM Corporation 2012. All rights reserved.

          –     U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract
                with IBM Corp.


      IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United
      States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a
      trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information
      was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is
      available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml


  Other company, product, or service names may be trademarks or service marks of others.


                                                           Copyright © IBM Corporation 2012
Slide 3 of 69                                                     All rights reserved.
                                                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Table Space History




                      Copyright © IBM Corporation 2012
Slide 4 of 69                All rights reserved.
                                                         10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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
                • DB2 10 discontinues use of simple table spaces for DB2 Catalog
   Note
       • Customer really shouldn’t be creating simple table spaces
         anymore in any DB2 Version



                                     Copyright © IBM Corporation 2012
Slide 5 of 69                               All rights reserved.
                                                                        10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                 Copyright © IBM Corporation 2012
Slide 6 of 69                           All rights reserved.
                                                                    10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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
   Note
           MAXPARTITIONS options are not specified
                • No longer default in DB2 10 – partition-by-growth becomes
                  default

                                     Copyright © IBM Corporation 2012
Slide 7 of 69                               All rights reserved.
                                                                        10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Later, DB2 V6 Introduced…

• Large Object (LOB) table spaces




                      Copyright © IBM Corporation 2012
Slide 8 of 69                All rights reserved.
                                                         10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
And Introduced with DB2 9…

• Universal Table Space (UTS)
• XML table spaces (discussion for another time)




                       Copyright © IBM Corporation 2012
Slide 9 of 69                 All rights reserved.
                                                          10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Universal Table Space




                       Copyright © IBM Corporation 2012
Slide 10 of 69                All rights reserved.
                                                          10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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



                             Copyright © IBM Corporation 2012
Slide 11 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                              Copyright © IBM Corporation 2012
Slide 12 of 69                       All rights reserved.
                                                                 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
The Solution…

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




                             Copyright © IBM Corporation 2012
Slide 13 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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

                            Copyright © IBM Corporation 2012
Slide 14 of 69                     All rights reserved.
                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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 allows MEMBER CLUSTER for universal table
    spaces


                             Copyright © IBM Corporation 2012
Slide 15 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                       Copyright © IBM Corporation 2012
Slide 16 of 69                                All rights reserved.
                                                                          10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Common UTS Function limitations

   • Cannot be used for the WORKFILE database
          • Version 10 supports partition-by-growth table spaces in the
Note




            WORKFILE database

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




                                Copyright © IBM Corporation 2012
   Slide 17 of 69                      All rights reserved.
                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                     Copyright © IBM Corporation 2012
  Slide 18 of 69                            All rights reserved.
                                                                        10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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

                                            Copyright © IBM Corporation 2012
  Slide 19 of 69                                   All rights reserved.
                                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
DSNZPARM for SEGSIZE Default
• When SEGSIZE is NOT specified
• DB2 10 – The picture changes considerably
       • If ZPARM DPSEGSZ = 0
             • If MAXPARTITIONS is not specified
                 • If NUMPARTS is not specified                                                     DB2 9
                   • SEGSIZE 4 for segmented table space
                 • If NUMPARTS is specified                                                   Default SEGSIZE 4
                   • 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



                                           Copyright © IBM Corporation 2012
Slide 20 of 69                                    All rights reserved.
                                                                              10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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
                                   Copyright © IBM Corporation 2012
Slide 21 of 69                            All rights reserved.
                                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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



                                     Copyright © IBM Corporation 2012
Slide 22 of 69                              All rights reserved.
                                                                        10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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

                                  Copyright © IBM Corporation 2012
Slide 23 of 69                           All rights reserved.
                                                                     10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                   Copyright © IBM Corporation 2012
Slide 24 of 69                            All rights reserved.
                                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Pause for
                       Questions



(41 slides to go)
                        Copyright © IBM Corporation 2012
      Slide 25 of 69           All rights reserved.
                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Partition-by-growth
                 Universal Table Space




                       Copyright © IBM Corporation 2012
Slide 26 of 69                All rights reserved.
                                                          10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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                          Changed in DB2 10


                                          Copyright © IBM Corporation 2012
Slide 27 of 69                                   All rights reserved.
                                                                             10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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)


                                 Copyright © IBM Corporation 2012
Slide 28 of 69                          All rights reserved.
                                                                    10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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


                                Copyright © IBM Corporation 2012
Slide 29 of 69                         All rights reserved.
                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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


                          Copyright © IBM Corporation 2012
Slide 30 of 69                   All rights reserved.
                                                                  10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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


                                    Copyright © IBM Corporation 2012
  Slide 31 of 69                           All rights reserved.
                                                                       10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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.

                                     Copyright © IBM Corporation 2012
 Slide 32 of 69                             All rights reserved.
                                                                            10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                      Copyright © IBM Corporation 2012
Slide 33 of 69                               All rights reserved.
                                                                         10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                             Copyright © IBM Corporation 2012
Slide 34 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                  Copyright © IBM Corporation 2012
Slide 35 of 69                           All rights reserved.
                                                                     10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                    Copyright © IBM Corporation 2012
Slide 36 of 69                             All rights reserved.
                                                                       10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                            Copyright © IBM Corporation 2012
Slide 37 of 69                     All rights reserved.
                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
PBG – Additional Function Limitations

•    No partition key range can be defined                          Note

•    X
     No ALTER ADD PART               DB2 10 allows a partition to be added
                                     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




                              Copyright © IBM Corporation 2012
Slide 38 of 69                       All rights reserved.
                                                                 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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
• Planned hash table use (added in DB2 10)



                                   Copyright © IBM Corporation 2012
Slide 39 of 69                            All rights reserved.
                                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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

                                Copyright © IBM Corporation 2012
Slide 40 of 69                         All rights reserved.
                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Partition-by-growth and REORG

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




                    Copyright © IBM Corporation 2012
Slide 41 of 69             All rights reserved.
                                                       10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                             Copyright © IBM Corporation 2012
Slide 42 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                            Copyright © IBM Corporation 2012
Slide 43 of 69                     All rights reserved.
                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                            Copyright © IBM Corporation 2012
Slide 44 of 69                     All rights reserved.
                                                               10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                             Copyright © IBM Corporation 2012
Slide 45 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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).




                             Copyright © IBM Corporation 2012
Slide 46 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                               Copyright © IBM Corporation 2012
Slide 47 of 69                        All rights reserved.
                                                                  10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                              Copyright © IBM Corporation 2012
Slide 48 of 69                       All rights reserved.
                                                                 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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



                                  Copyright © IBM Corporation 2012
Slide 49 of 69                           All rights reserved.
                                                                     10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Pause
                       simply for effect




(17 slides to go)
                         Copyright © IBM Corporation 2012
      Slide 50 of 69            All rights reserved.
                                                            10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Range-partitioned
                 Universal Table Space




                        Copyright © IBM Corporation 2012
Slide 51 of 69                 All rights reserved.
                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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



                                        Copyright © IBM Corporation 2012
       Slide 52 of 69                          All rights reserved.
                                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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



                          Copyright © IBM Corporation 2012
Slide 53 of 69                   All rights reserved.
                                                             10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                                Copyright © IBM Corporation 2012
Slide 54 of 69                         All rights reserved.
                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                             Copyright © IBM Corporation 2012
Slide 55 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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;




                                   Copyright © IBM Corporation 2012
Slide 56 of 69                            All rights reserved.
                                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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;




                                   Copyright © IBM Corporation 2012
Slide 57 of 69                            All rights reserved.
                                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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)




                        Copyright © IBM Corporation 2012
Slide 58 of 69                 All rights reserved.
                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Conclusion




(10 slides to go)
                        Copyright © IBM Corporation 2012
      Slide 59 of 69           All rights reserved.
                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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




                           Copyright © IBM Corporation 2012
Slide 60 of 69                    All rights reserved.
                                                              10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Universal Table Spaces are Very Cool

     Only one table per table space
       • Possibly more VSAM data sets                                      Remember…
       • DSMAX may have to be increased

     No member cluster in DB2 9
       • Could be a concern if you are using data sharing
       • However, Allowed in DB2 10

     No ALTER migration in DB2 9
       • Must DROP and re-CREATE
       • Once again, ALTER is in DB2 10




                             Copyright © IBM Corporation 2012
Slide 61 of 69                      All rights reserved.
                                                                10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
simply for effect
                    Pause




                   Copyright © IBM Corporation 2012
Slide 62 of 69            All rights reserved.
                                                      10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Questions




                  Copyright © IBM Corporation 2012
Slide 63 of 69           All rights reserved.
                                                     10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Additional Information




                        Copyright © IBM Corporation 2012
Slide 64 of 69                 All rights reserved.
                                                           10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
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)
             SG24-7892 - DB2 10 for z/OS Technical Overview (11 MB)

                                       Copyright © IBM Corporation 2012
Slide 65 of 69                                All rights reserved.
                                                                          10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Useful DB2 for z/OS URLs

•    DB2 10 Launch Website                                http://bit.ly/DB210Launch


•    DB2 for z/OS Website                                 http://www-01.ibm.com/software/data/db2/zos/


•    DB2 Product Library                                  http://www.ibm.com/software/data/db2/zos/library.html


•    DB2 Newsletter                                       http://www.ibm.com/vrm/newsletter/11065




• Latest Whitepapers
       • Business Value of DB2 10 – Julian Stuhler
       • A Matter of Time: Temporal Data Management
       • Why DB2 for z/OS is BETTER than Oracle RAC ?




                           Copyright © IBM Corporation 2012
Slide 66 of 69                    All rights reserved.
                                                                   10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Top DB2 for z/OS e-Communities

      World of DB2 for z/OS - 1700+ members                                                http://db2forzos.ning.com/



                                                                                              http://linkd.in/IBMDB210
      DB2 10 LinkedIn - 1000+ members


                                                                                                  http://linkd.in/kd05LH
      DB2 for z/OS What’s On LinkedIn – 2000+ members


                                                                   http://www.youtube.com/user/IBMDB2forzOS
      DB2 for z/OS YouTube


                                                                                         http://linkd.in/IDUGLinkedIn
      WW IDUG LinkedIn Group - 2000 +members


                                                           http://www.ibm.com/developerworks/data/community/
      IBM DeveloperWorks


                              Copyright © IBM Corporation 2012
Slide 67 of 69                       All rights reserved.
                                                                    10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
o u
                           Y g!
                       n k
                      a
                   h en d
                 T tt         in
                    r A           ie
                 fo        W i ll

                      Copyright © IBM Corporation 2012
Slide 68 of 69               All rights reserved.
                                                         10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
Willie Favero
                                DB2 SME
                 Data Warehousing for System z Swat Team
                          IBM Silicon Valley Laboratory




                           http:www.WillieFavero.com




                              Copyright © IBM Corporation 2012
Slide 69 of 69                       All rights reserved.
                                                                 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story

Más contenido relacionado

La actualidad más candente

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 BeyondSurekha Parekh
 
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 mythsFlorence 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 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 Accounting Reporting
DB2  Accounting ReportingDB2  Accounting Reporting
DB2 Accounting ReportingJohn Campbell
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlorence Dubois
 
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 ScalabilitySurekha Parekh
 
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
 
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 PaperWillie Favero
 
Memory Matters in 2011
Memory Matters in 2011Memory Matters in 2011
Memory Matters in 2011Martin Packer
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]Laura Hood
 
Db2 10 memory management uk db2 user group june 2013
Db2 10 memory management   uk db2 user group june 2013Db2 10 memory management   uk db2 user group june 2013
Db2 10 memory management uk db2 user group june 2013Carol Davis-Mann
 
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India)
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India) DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India)
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India) Surekha Parekh
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsMartin Packer
 

La actualidad más candente (16)

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 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
 
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 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 Accounting Reporting
DB2  Accounting ReportingDB2  Accounting Reporting
DB2 Accounting Reporting
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OS
 
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
 
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
 
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
 
Memory Matters in 2011
Memory Matters in 2011Memory Matters in 2011
Memory Matters in 2011
 
Db2 10 memory management uk db2 user group june 2013 [read-only]
Db2 10 memory management   uk db2 user group june 2013 [read-only]Db2 10 memory management   uk db2 user group june 2013 [read-only]
Db2 10 memory management uk db2 user group june 2013 [read-only]
 
Db2 10 memory management uk db2 user group june 2013
Db2 10 memory management   uk db2 user group june 2013Db2 10 memory management   uk db2 user group june 2013
Db2 10 memory management uk db2 user group june 2013
 
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India)
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India) DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India)
DB2 10 Migration Planning & Customer experiences - Chris Crone (IDUG India)
 
Much Ado about CPU
Much Ado about CPUMuch Ado about CPU
Much Ado about CPU
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance Topics
 
Bp116
Bp116Bp116
Bp116
 

Destacado

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 PerlJoel Berger
 
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 BasicsIBM
 
Oracle SQL Developer Data Modeler - Version Control Your Designs
Oracle SQL Developer Data Modeler - Version Control Your DesignsOracle SQL Developer Data Modeler - Version Control Your Designs
Oracle SQL Developer Data Modeler - Version Control Your DesignsJeff Smith
 
Strategies for Distributed Data Storage
Strategies for Distributed Data StorageStrategies for Distributed Data Storage
Strategies for Distributed Data Storagekakugawa
 
Understanding Data Partitioning and Replication in Apache Cassandra
Understanding Data Partitioning and Replication in Apache CassandraUnderstanding Data Partitioning and Replication in Apache Cassandra
Understanding Data Partitioning and Replication in Apache CassandraDataStax
 
5 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/25 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/2Fabio Fumarola
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WPNguyen Tuan
 

Destacado (11)

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
 
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
 
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
 
Oracle SQL Developer Data Modeler - Version Control Your Designs
Oracle SQL Developer Data Modeler - Version Control Your DesignsOracle SQL Developer Data Modeler - Version Control Your Designs
Oracle SQL Developer Data Modeler - Version Control Your Designs
 
Ibm db2
Ibm db2Ibm db2
Ibm db2
 
Strategies for Distributed Data Storage
Strategies for Distributed Data StorageStrategies for Distributed Data Storage
Strategies for Distributed Data Storage
 
Understanding Data Partitioning and Replication in Apache Cassandra
Understanding Data Partitioning and Replication in Apache CassandraUnderstanding Data Partitioning and Replication in Apache Cassandra
Understanding Data Partitioning and Replication in Apache Cassandra
 
5 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/25 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/2
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP
 

Similar a DB2 10 Universal Table Space - 2012-03-18 - no template

DB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningDB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningJohn Campbell
 
Social Networking 1 - Final
Social Networking 1 - FinalSocial Networking 1 - Final
Social Networking 1 - FinalWillie Favero
 
DB2 V10 Migration Guidance
DB2 V10 Migration GuidanceDB2 V10 Migration Guidance
DB2 V10 Migration GuidanceCraig Mullins
 
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...Informatik Aktuell
 
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...John Campbell
 
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
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of ScalabilityLaura Hood
 
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
 
Smart analytic optimizer how it works
Smart analytic optimizer   how it worksSmart analytic optimizer   how it works
Smart analytic optimizer how it worksWillie Favero
 
DBA Basics guide
DBA Basics guideDBA Basics guide
DBA Basics guideazoznasser1
 
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.pdfMarna Walle
 
GeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special GuestGeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special GuestUnidesk Corporation
 
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 EditionRay Bilyk
 
z/OS Small Enhancements - Episode 2015A
z/OS Small Enhancements - Episode 2015Az/OS Small Enhancements - Episode 2015A
z/OS Small Enhancements - Episode 2015AMarna Walle
 
Are You Ready for an Alternative in Application Development?
Are You Ready for an Alternative in Application Development?Are You Ready for an Alternative in Application Development?
Are You Ready for an Alternative in Application Development?LetsConnect
 
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
Linux on Z13 and Simulatenus Multithreading - Sebastien LlaurencyLinux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
Linux on Z13 and Simulatenus Multithreading - Sebastien LlaurencyNRB
 

Similar a DB2 10 Universal Table Space - 2012-03-18 - no template (20)

DB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningDB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and Planning
 
Social Networking 1 - Final
Social Networking 1 - FinalSocial Networking 1 - Final
Social Networking 1 - Final
 
DB2 V10 Migration Guidance
DB2 V10 Migration GuidanceDB2 V10 Migration Guidance
DB2 V10 Migration Guidance
 
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...
Stephan Hummel – IT-Tage 2015 – DB2 In-Memory - Eine Technologie nicht nur fü...
 
1) planning
1) planning1) planning
1) planning
 
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
 
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...
 
DbB 10 Webcast #3 The Secrets Of Scalability
DbB 10 Webcast #3   The Secrets Of ScalabilityDbB 10 Webcast #3   The Secrets Of Scalability
DbB 10 Webcast #3 The Secrets Of Scalability
 
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...
 
Smart analytic optimizer how it works
Smart analytic optimizer   how it worksSmart analytic optimizer   how it works
Smart analytic optimizer how it works
 
The New z/VSE Database Connector (DBCLI)
The New z/VSE Database Connector (DBCLI)The New z/VSE Database Connector (DBCLI)
The New z/VSE Database Connector (DBCLI)
 
DBA Basics guide
DBA Basics guideDBA Basics guide
DBA Basics guide
 
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
 
Db2exc guide 952_mac_x86_64
Db2exc guide 952_mac_x86_64Db2exc guide 952_mac_x86_64
Db2exc guide 952_mac_x86_64
 
GeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special GuestGeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special Guest
 
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
 
z/OS Small Enhancements - Episode 2015A
z/OS Small Enhancements - Episode 2015Az/OS Small Enhancements - Episode 2015A
z/OS Small Enhancements - Episode 2015A
 
Are You Ready for an Alternative in Application Development?
Are You Ready for an Alternative in Application Development?Are You Ready for an Alternative in Application Development?
Are You Ready for an Alternative in Application Development?
 
z/VM Live Guest Relocation Planning and Use
z/VM Live Guest Relocation Planning and Usez/VM Live Guest Relocation Planning and Use
z/VM Live Guest Relocation Planning and Use
 
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
Linux on Z13 and Simulatenus Multithreading - Sebastien LlaurencyLinux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 

Más de Willie Favero

Social Networking 2 - Final
Social Networking 2 - FinalSocial Networking 2 - Final
Social Networking 2 - FinalWillie 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 conferenceWillie 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 TodayWillie 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
 

Más de Willie Favero (8)

Social Networking 2 - Final
Social Networking 2 - FinalSocial Networking 2 - Final
Social Networking 2 - 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)
 

Último

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Último (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

DB2 10 Universal Table Space - 2012-03-18 - no template

  • 1. DB2 for z/OS Universal Table Spaces: The DB2 10 Story Willie Favero IBM Silicon Valley Lab Data Warehousing on System z Swat Team Friday, March 16, 2012 11:00 AM-12:00 PM Session Number: 10508 Copyright © IBM Corporation 2012 All rights reserved.
  • 2. Please Note: IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. Copyright © IBM Corporation 2012 Slide 2 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 3. Acknowledgements and Disclaimers: Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. 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. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other materials. 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 the applicable license agreement governing the use of IBM software. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. © Copyright IBM Corporation 2012. All rights reserved. – U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml Other company, product, or service names may be trademarks or service marks of others. Copyright © IBM Corporation 2012 Slide 3 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 4. Table Space History Copyright © IBM Corporation 2012 Slide 4 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 5. 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 • DB2 10 discontinues use of simple table spaces for DB2 Catalog Note • Customer really shouldn’t be creating simple table spaces anymore in any DB2 Version Copyright © IBM Corporation 2012 Slide 5 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 6. 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 Copyright © IBM Corporation 2012 Slide 6 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 7. 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 Note MAXPARTITIONS options are not specified • No longer default in DB2 10 – partition-by-growth becomes default Copyright © IBM Corporation 2012 Slide 7 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 8. Later, DB2 V6 Introduced… • Large Object (LOB) table spaces Copyright © IBM Corporation 2012 Slide 8 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 9. And Introduced with DB2 9… • Universal Table Space (UTS) • XML table spaces (discussion for another time) Copyright © IBM Corporation 2012 Slide 9 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 10. Universal Table Space Copyright © IBM Corporation 2012 Slide 10 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 11. 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 Copyright © IBM Corporation 2012 Slide 11 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 12. 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 Copyright © IBM Corporation 2012 Slide 12 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 13. The Solution… • Universal table space • The very best of segmented and partitioned table spaces delivered in one object Copyright © IBM Corporation 2012 Slide 13 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 14. 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 Copyright © IBM Corporation 2012 Slide 14 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 15. 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 allows MEMBER CLUSTER for universal table spaces Copyright © IBM Corporation 2012 Slide 15 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 16. 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 Copyright © IBM Corporation 2012 Slide 16 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 17. Common UTS Function limitations • Cannot be used for the WORKFILE database • Version 10 supports partition-by-growth table spaces in the Note WORKFILE database • No LOCKSIZE TABLE (uses partitioned table space locking scheme) Copyright © IBM Corporation 2012 Slide 17 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 18. 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 Copyright © IBM Corporation 2012 Slide 18 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 19. 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 Copyright © IBM Corporation 2012 Slide 19 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 20. DSNZPARM for SEGSIZE Default • When SEGSIZE is NOT specified • DB2 10 – The picture changes considerably • If ZPARM DPSEGSZ = 0 • If MAXPARTITIONS is not specified • If NUMPARTS is not specified DB2 9 • SEGSIZE 4 for segmented table space • If NUMPARTS is specified Default SEGSIZE 4 • 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 Copyright © IBM Corporation 2012 Slide 20 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 21. 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 Copyright © IBM Corporation 2012 Slide 21 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 22. 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 Copyright © IBM Corporation 2012 Slide 22 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 23. 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 Copyright © IBM Corporation 2012 Slide 23 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 24. 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 Copyright © IBM Corporation 2012 Slide 24 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 25. Pause for Questions (41 slides to go) Copyright © IBM Corporation 2012 Slide 25 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 26. Partition-by-growth Universal Table Space Copyright © IBM Corporation 2012 Slide 26 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 27. 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 Changed in DB2 10 Copyright © IBM Corporation 2012 Slide 27 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 28. 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) Copyright © IBM Corporation 2012 Slide 28 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 29. 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 Copyright © IBM Corporation 2012 Slide 29 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 30. 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 Copyright © IBM Corporation 2012 Slide 30 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 31. 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 Copyright © IBM Corporation 2012 Slide 31 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 32. 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. Copyright © IBM Corporation 2012 Slide 32 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 33. 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 Copyright © IBM Corporation 2012 Slide 33 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 34. 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 Copyright © IBM Corporation 2012 Slide 34 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 35. 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 Copyright © IBM Corporation 2012 Slide 35 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 36. 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 Copyright © IBM Corporation 2012 Slide 36 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 37. 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 Copyright © IBM Corporation 2012 Slide 37 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 38. PBG – Additional Function Limitations • No partition key range can be defined Note • X No ALTER ADD PART DB2 10 allows a partition to be added 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 Copyright © IBM Corporation 2012 Slide 38 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 39. 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 • Planned hash table use (added in DB2 10) Copyright © IBM Corporation 2012 Slide 39 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 40. 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 Copyright © IBM Corporation 2012 Slide 40 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 41. Partition-by-growth and REORG • REORG SHRLEVEL CHANGE – new partition is added to both shadow and base (I and J data set) Copyright © IBM Corporation 2012 Slide 41 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 42. 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 Copyright © IBM Corporation 2012 Slide 42 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 43. 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 Copyright © IBM Corporation 2012 Slide 43 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 44. 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 Copyright © IBM Corporation 2012 Slide 44 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 45. 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 Copyright © IBM Corporation 2012 Slide 45 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 46. 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). Copyright © IBM Corporation 2012 Slide 46 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 47. 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 Copyright © IBM Corporation 2012 Slide 47 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 48. 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 Copyright © IBM Corporation 2012 Slide 48 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 49. 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 Copyright © IBM Corporation 2012 Slide 49 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 50. Pause simply for effect (17 slides to go) Copyright © IBM Corporation 2012 Slide 50 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 51. Range-partitioned Universal Table Space Copyright © IBM Corporation 2012 Slide 51 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 52. 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 Copyright © IBM Corporation 2012 Slide 52 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 53. 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 Copyright © IBM Corporation 2012 Slide 53 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 54. 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 Copyright © IBM Corporation 2012 Slide 54 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 55. 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 Copyright © IBM Corporation 2012 Slide 55 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 56. 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; Copyright © IBM Corporation 2012 Slide 56 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 57. 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; Copyright © IBM Corporation 2012 Slide 57 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 58. 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) Copyright © IBM Corporation 2012 Slide 58 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 59. Conclusion (10 slides to go) Copyright © IBM Corporation 2012 Slide 59 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 60. 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 Copyright © IBM Corporation 2012 Slide 60 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 61. Universal Table Spaces are Very Cool Only one table per table space • Possibly more VSAM data sets Remember… • DSMAX may have to be increased No member cluster in DB2 9 • Could be a concern if you are using data sharing • However, Allowed in DB2 10 No ALTER migration in DB2 9 • Must DROP and re-CREATE • Once again, ALTER is in DB2 10 Copyright © IBM Corporation 2012 Slide 61 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 62. simply for effect Pause Copyright © IBM Corporation 2012 Slide 62 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 63. Questions Copyright © IBM Corporation 2012 Slide 63 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 64. Additional Information Copyright © IBM Corporation 2012 Slide 64 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 65. 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) SG24-7892 - DB2 10 for z/OS Technical Overview (11 MB) Copyright © IBM Corporation 2012 Slide 65 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 66. Useful DB2 for z/OS URLs • DB2 10 Launch Website http://bit.ly/DB210Launch • DB2 for z/OS Website http://www-01.ibm.com/software/data/db2/zos/ • DB2 Product Library http://www.ibm.com/software/data/db2/zos/library.html • DB2 Newsletter http://www.ibm.com/vrm/newsletter/11065 • Latest Whitepapers • Business Value of DB2 10 – Julian Stuhler • A Matter of Time: Temporal Data Management • Why DB2 for z/OS is BETTER than Oracle RAC ? Copyright © IBM Corporation 2012 Slide 66 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 67. Top DB2 for z/OS e-Communities World of DB2 for z/OS - 1700+ members http://db2forzos.ning.com/ http://linkd.in/IBMDB210 DB2 10 LinkedIn - 1000+ members http://linkd.in/kd05LH DB2 for z/OS What’s On LinkedIn – 2000+ members http://www.youtube.com/user/IBMDB2forzOS DB2 for z/OS YouTube http://linkd.in/IDUGLinkedIn WW IDUG LinkedIn Group - 2000 +members http://www.ibm.com/developerworks/data/community/ IBM DeveloperWorks Copyright © IBM Corporation 2012 Slide 67 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 68. o u Y g! n k a h en d T tt in r A ie fo W i ll Copyright © IBM Corporation 2012 Slide 68 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story
  • 69. Willie Favero DB2 SME Data Warehousing for System z Swat Team IBM Silicon Valley Laboratory http:www.WillieFavero.com Copyright © IBM Corporation 2012 Slide 69 of 69 All rights reserved. 10508: DB2 for z/OS Universal Table Spaces: The DB2 10 Story