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

Create successful ePaper yourself

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

3-48 Consistency query - 31 New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116<br />

3-49 Starting to analyze a sample query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

3-50 Suggested RUNSTATS statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

3-51 Reason <strong>for</strong> RUNSTATS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

3-52 Saved queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

3-53 New suggested RUNSTATS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

3-54 Statistical output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

3-55 Recollection of inconsistent statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

3-56 Conflicting statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

3-57 Statistics Advisor Plug-integrated with Visual Explain . . . . . . . . . . . . . . . . . . . . . . . 122<br />

3-58 Predefined default values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122<br />

3-59 Conflict statistics threshold setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123<br />

3-60 Explain without using an MQT table by Visual Explain . . . . . . . . . . . . . . . . . . . . . . 124<br />

3-61 Explain using an MQT table by Visual Explain . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125<br />

4-1 CPU workload summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131<br />

4-2 V7 vs. V8 Utility CPU measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

4-3 DBM1 virtual storage constraint relief (no data spaces nor hiper pools) . . . . . . . . . 140<br />

4-4 DBM1 below 2 GB virtual storage comparison <strong>for</strong> different workloads . . . . . . . . . . 149<br />

4-5 DBM1 user thread storage comparison <strong>DB2</strong> V7 vs. V8. . . . . . . . . . . . . . . . . . . . . . 152<br />

4-6 Real storage comparison <strong>DB2</strong> V7 vs. V8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155<br />

4-7 MVS storage overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />

4-8 Sample RMF Monitor III STORF Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166<br />

4-9 DBM1 storage by time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167<br />

4-10 Thread-related storage by time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168<br />

4-11 Storage per thread by time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />

4-12 CCSID conversion - Local application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176<br />

4-13 CCSID conversion - Remote application - 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177<br />

4-14 CCSID conversion - Remote application - 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

4-15 CCSID conversion - Local z/<strong>OS</strong> Universal Java Type 2 Driver . . . . . . . . . . . . . . . . 180<br />

4-16 CCSID conversion - Remote Prepare using Java Universal Type 4 Driver. . . . . . . 181<br />

4-17 CCSID conversion - Remote Prepare of SQL statement. . . . . . . . . . . . . . . . . . . . . 182<br />

4-18 CCSID conversion - Local Prepare using Universal Java Type 2 Driver . . . . . . . . . 182<br />

4-19 Conversion per<strong>for</strong>mance overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184<br />

4-20 Larger CI size impact on <strong>DB2</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

4-21 <strong>IBM</strong> System z9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203<br />

4-22 Table space scan with MIDAWs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204<br />

5-1 FRBACKUP PREPARE elapsed time vs. #volumes in the copy pool . . . . . . . . . . . 222<br />

5-2 FRBACKUP PREPARE elapsed time vs.#versions <strong>for</strong> 67 volume copy pool . . . . . 222<br />

5-3 BACKUP SYSTEM DATA ONLY measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 223<br />

5-4 BACKUP SYSTEM FULL measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />

5-5 RESTORE SYSTEM measurement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />

5-6 Sliding scale <strong>for</strong> 64 GB data sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />

5-7 Sliding scale <strong>for</strong> 16 GB data set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228<br />

5-8 CPU time be<strong>for</strong>e ALTER, after ALTER and after REORG. . . . . . . . . . . . . . . . . . . . 234<br />

5-9 INSERT CPU time be<strong>for</strong>e ALTER, after ALTER and after REORG . . . . . . . . . . . . 235<br />

5-10 SELECT elapsed and CPU time be<strong>for</strong>e and after ALTER INDEX add column . . . . 236<br />

5-11 FETCH CPU time - Alter index padded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />

5-12 FETCH CPU time - Alter index not padded and rebind . . . . . . . . . . . . . . . . . . . . . . 238<br />

5-13 Query CPU overhead using NOT PADDED vs. PADDED index . . . . . . . . . . . . . . . 239<br />

5-14 Average index leaf pages and index getpages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240<br />

5-15 NOT PADDED index impact on utilities - Index VARCHAR(14) . . . . . . . . . . . . . . . 241<br />

5-16 NOT PADDED index impact on utilities - Index VARCHAR(1) . . . . . . . . . . . . . . . . 241<br />

5-17 NOT PADDED index impact on utilities - Index 4 columns VARCHAR(1). . . . . . . . 242<br />

xii <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong>

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

Saved successfully!

Ooh no, something went wrong!