07.02.2013 Views

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - 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.

Select the appropriate button, enter the STATUID, and press Enter. Refer to<br />

Figure 8-26.<br />

Figure 8-26 ST04 cache statistics selected by STATUID<br />

Note that if this functionality fails, check <strong>OS</strong>S note 633075.<br />

Select a statement and click BW Statistics, which will give you the full<br />

RSDDSTAT details. From these, you can determine the DB access time, the<br />

number of rows examined, number of rows selected, and so on. For full details of<br />

the data returned from RSDDSTAT, refer to <strong>OS</strong>S note 130696.<br />

Figure 8-27 ST04 statement cache BW statistics<br />

This example query used 29 seconds of DB time, selected 880,091 rows that<br />

satisfied the predicates, and then transferred 5 rows to the output window.<br />

Looking back at the a<strong>for</strong>ementioned rule of thumb (rows selected divided by rows<br />

170 <strong>Best</strong> <strong>Practices</strong> <strong>for</strong> <strong>SAP</strong> <strong>BI</strong> <strong>using</strong> <strong>DB2</strong> 9 <strong>for</strong> z/<strong>OS</strong>

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

Saved successfully!

Ooh no, something went wrong!