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.

After selecting at least one time dimension, you can define the partitioning<br />

characteristics by selecting Extras → Database Per<strong>for</strong>mance → Partitioning.<br />

(See Figure 6-4.)<br />

Figure 6-4 Partition InfoCube<br />

Note the following points:<br />

► Partitioning can only be done on InfoObjects 0CALMONTH and 0FISCPER.<br />

► The E- fact table gets an additional column (SID_0CALMONTH or<br />

SID_0FISCPER), which it is partitioned on. This is necessary because all key<br />

columns contain dimension identifiers (DIMIDs), which are arbitrary and not<br />

known in advance (that is, ranges cannot be defined on dimids).<br />

► For each query that has a restriction on time, an additional local predicate on<br />

the partitioning column is generated to allow partition elimination.<br />

6.2 Repartitioning of InfoCubes<br />

In this section we discuss repartitioning InfoCubes. This feature enables you to<br />

repartition InfoCubes that contain data and is available on <strong>BI</strong> 7.0 as of Support<br />

Pack 9 <strong>for</strong> <strong>DB2</strong>. (See <strong>SAP</strong> note 946641.)<br />

The term partitioning in <strong>DB2</strong> entails range partitioning. Partitioning helps both<br />

<strong>SAP</strong> compression and queries. Since the size of the E- fact table would grow<br />

consistently over time, <strong>SAP</strong> provides a feature to take advantage of <strong>DB2</strong><br />

partitioning. Currently <strong>SAP</strong> allows only time-based partitioning.<br />

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