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.

5.1.4 PSA partitioning<br />

Partitioning of the PSA table is advisable due to its large size. With <strong>DB2</strong>, the PSA<br />

table is always partitioned, so the parameter <strong>DB2</strong>_PSA_NUM_PARTITIONS in<br />

the RSADMIN table becomes obsolete. Figure 5-13 shows related PSA<br />

parameters.<br />

Figure 5-13 RSADMIN parameters<br />

The number of partitions is not fixed. New partitions can be added if needed.<br />

<strong>SAP</strong> uses the <strong>DB2</strong> feature of adding partitions. On <strong>DB2</strong> the maximum number of<br />

partitions is 4096.<br />

If all of the packages in the first partition are logically deleted (flagged as<br />

deleted), the partition is rotated and becomes the last partition. If all packages in<br />

any other partition are logically deleted, the partition is truncated.<br />

To see the current number of partitions in <strong>DB2</strong>, execute the following SQL query<br />

(transaction <strong>DB2</strong>C):<br />

SELECT PRT.PARTITION, PRT.LOGICAL_PART, PRT.CARD, PRT.LIMITKE<br />

FROM SYS<strong>IBM</strong>.SYSTABLES TAB, SYS<strong>IBM</strong>.SYSTABLEPART PRT<br />

WHERE<br />

TAB.TSNAME = PRT.TSNAME<br />

AND TAB.DBNAME = PRT.DBNAME<br />

AND TAB.CREATOR = <br />

AND TAB.NAME = <br />

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