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.

From the window <strong>DB2</strong>/390 Storage Attributes: Table, choose Attributes →<br />

DisplayChange. Under Target Tablespace, choose Partitioned; see<br />

Figure 7-8.<br />

Figure 7-8 <strong>DB2</strong>/390 Storage Attributes: Table<br />

At this point, you can choose whether to use LIMITKEY data <strong>for</strong> the partitioning.<br />

For this example, we chose not to use it since we are creating a table-controlled<br />

partitioned table. For more in<strong>for</strong>mation about <strong>using</strong> LIMITKEY data, see “Using<br />

the LimitKey function” on page 122.<br />

The next decision is to either choose table-controlled partitioning or an index <strong>for</strong><br />

the partitioning. Choose table-controlled and then specify a partitioning key, the<br />

number of partitions, and <strong>for</strong> each partition, the limitkey value. Press Enter to get<br />

to the additional partition fields to fill in the limitkey. For this example, we<br />

arbitrarily chose six partitions and we chose limitkeys to create evenly sized<br />

partitions. Refer to Figure 7-9 on page 118.<br />

Note: Keep in mind that this is just a test DataStore object, and does not<br />

represent real data. The goal of this section is to show the mechanics of<br />

partitioning a DataStore object. Other sections of this book discuss the<br />

considerations <strong>for</strong> designing a partitioning scheme.<br />

When you are finished, choose Attributes → Save. <strong>SAP</strong> will use these saved<br />

storage parameters the next time it creates this table, which it will do in the next<br />

step.<br />

Chapter 7. <strong>Best</strong> practices <strong>for</strong> DataStore 117

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

Saved successfully!

Ooh no, something went wrong!