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

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

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

4. By selecting the Create button, it will be created <strong>using</strong> the standard names<br />

with no fields inside. From this window you can create however many new<br />

indexes that you need. For example, we create two indexes (see Figure 7-4).<br />

Figure 7-4 Field view of the DSO secondary index<br />

In order to add the field to the definition, simply drag and drop the fields from the<br />

Key Field or Data Fields to each index. On our DEMO system we add two fields<br />

to each index, as shown in Figure 7-5.<br />

Figure 7-5 Added field to a DSO secondary index<br />

Save and activate the DataStore object. This creates the new indexes in the<br />

database.<br />

Run RUNSTATS to collect statistics <strong>for</strong> this new index. Use transaction DB13 (in<br />

the DBA Planning Calendar) to update statistics <strong>for</strong> one <strong>SAP</strong> object or<br />

transaction ST04, under the Per<strong>for</strong>mance and tuning tab, choose from the group<br />

Tools → Update Statistics.<br />

7.4 Partitioning and clustering<br />

With table-controlled partitioning, partitioning and clustering are separate<br />

concepts. The partitioning index no longer needs to be the clustering index as it<br />

does with index-controlled partitioning. For details on index-controlled<br />

108 <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!