19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

|ANL6052I *** NOTE: |<br />

|This index is specified as "Not Padded", allowing storage of a |<br />

|varying length index key. Padded indexes use blanks to fill out |<br />

|their fixed length keys and are not eligible <strong>for</strong> Index Only scan. |<br />

|"Not Padded" indexes do not blank fill CHAR and VARCHAR columns, |<br />

|allowing greater flexibility and better use of storage, packing |<br />

|more entries into a single Leaf page. Index Only access allowed. |<br />

+------------------------------------------------------------------+<br />

ALTERNATIVE INDEX<br />

+++++++++++++++++<br />

CREATOR: SYS<strong>IBM</strong><br />

IX NAME: DSNKDX03<br />

VERS: 1 KEY LEN: -1 PADDED: N C-ED: N C-ING: N CLURATIO: 0.0000<br />

FULLKEY CARD: -1 FIRSTKEY CARD: -1<br />

TYPE: 2 NLEAF PAGES: -1 NLEVELS: -1 UNIQUE: D KEY COLS: 4<br />

1 A -1 BQUALIFIER<br />

2 A -1 BNAME<br />

3 A -1 BTYPE<br />

4 A -1 DTYPE<br />

+------------------------------------------------------------------+<br />

|ANL6052I *** NOTE: |<br />

|This index is specified as "Not Padded", allowing storage of a |<br />

|varying length index key. Padded indexes use blanks to fill out |<br />

|their fixed length keys and are not eligible <strong>for</strong> Index Only scan. |<br />

|"Not Padded" indexes do not blank fill CHAR and VARCHAR columns, |<br />

|allowing greater flexibility and better use of storage, packing |<br />

|more entries into a single Leaf page. Index Only access allowed. |<br />

+------------------------------------------------------------------+<br />

+------------------------------------------------------------------+<br />

|ANL6016I *** NOTE: |<br />

|Presently this query is only matching some of the indexed columns |<br />

|on this index key. Maximizing use of Stage 1 predicates against |<br />

|these index columns will improve per<strong>for</strong>mance, by matching and/or |<br />

|screening rows and there<strong>for</strong>e reducing data page I/O requirements. |<br />

+------------------------------------------------------------------+<br />

+------------------------------------------------------------------+<br />

|ANL7034I *** GOOD NEWS: |<br />

|This index is Not Padded, making it a true variable length index. |<br />

|"Index Only" access is now possible and <strong>DB2</strong> will compare CHAR and |<br />

|VARCHAR columns of unequal length against this index during Stage |<br />

|1 processing. |<br />

+------------------------------------------------------------------+<br />

+------------------------------------------------------------------+<br />

|ANL7009I *** GUIDELINE: |<br />

|On composite (multi-column) indexes, favor matching index scan of |<br />

|as many columns as possible, using Equals (=), Range (>,,

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

Saved successfully!

Ooh no, something went wrong!