19.08.2015 Views

DB2 9 & 10 for z/OS Overview

DB2 9 & 10 for zOS Overview - The Open Systems Group

DB2 9 & 10 for zOS Overview - The Open Systems Group

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Migration Planning WorkshopAdditional Non-key Columns In An Index• Indexes are used to en<strong>for</strong>ce uniqueness constraints on tables• To achieve index only access on columns not part of the unique constraint,additional indexes are often created <strong>for</strong> the non-unique columns– Slower <strong>DB2</strong> transaction time– Increased storage requirements• In <strong>DB2</strong> <strong>10</strong> Additional Non-key Columns can be defined in a unique index toreduce total amount of needed indexes• Indexes that participate in referential integrity (RI) will support additionalcolumns, but INCLUDE(d) columns will not be used to en<strong>for</strong>ce RI• Improves:– insert per<strong>for</strong>mance as less indexes need to be updated– space usage– Can stabilize access path as optimizer has fewer similar indexes to choosefrom166© 2011 IBM Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!