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.

Example of an <strong>SAP</strong> object log <strong>for</strong> table-controlled partitioning<br />

Example 7-4 shows the <strong>SAP</strong> object log created when a table was converted from<br />

non-partitioned to partitioned <strong>using</strong> table-controlled partitioning.<br />

Example 7-4 <strong>SAP</strong> object log from partitioning of a table <strong>using</strong> table-controlled partitioning<br />

DB-TABL-<strong>BI</strong>D-ADSOTEST00<br />

-------------------------------------------------------------------------------<br />

| Request: Delete and recreate Table /<strong>BI</strong>C/ADSOTEST00 (CARD<strong>OS</strong>O/03.04.07/01:26)<br />

| Process: sap02_2<br />

| Enhancement category <strong>for</strong> table missing<br />

| Test activation of Table /<strong>BI</strong>C/ADSOTEST00 successful<br />

| Activation and DDL statements <strong>for</strong> Table /<strong>BI</strong>C/ADSOTEST00 required<br />

|-----------------------------------------------------------------------------<br />

| Activate table /<strong>BI</strong>C/ADSOTEST00 (CARD<strong>OS</strong>O/03.04.07/01:26)<br />

| Enhancement category <strong>for</strong> table missing<br />

|-----------------------------------------------------------------------------<br />

| Activate dependent table type /<strong>BI</strong>C/WADSOTEST00<br />

| Table type /<strong>BI</strong>C/WADSOTEST00 was activated<br />

| sql:<br />

| DROP TABLE "/<strong>BI</strong>C/ADSOTEST00" +LOCATION<br />

| DDL time(___1): ........52 milliseconds<br />

| sql:<br />

| CREATE TABLESPACE ADSOTESX IN OD20X9ZF<br />

| USING STOGROUP <strong>BI</strong>9ODD PRIQTY 12<br />

| SECQTY 6827 FREEPAGE 0 PCTFREE 20<br />

| GBPCACHE CHANGED COMPRESS NO<br />

| LOCKPART YES DSSIZE 4 G NUMPARTS 6 (<br />

| PART 1 USING STOGROUP <strong>BI</strong>9ODD ,<br />

| PART 2 USING STOGROUP <strong>BI</strong>9ODD ,<br />

| PART 3 USING STOGROUP <strong>BI</strong>9ODD ,<br />

| PART 4 USING STOGROUP <strong>BI</strong>9ODD ,<br />

| PART 5 USING STOGROUP <strong>BI</strong>9ODD ,<br />

| PART 6 USING STOGROUP <strong>BI</strong>9ODD )<br />

| BUFFERPOOL BP2 LOCKSIZE ROW<br />

| LOCKMAX 1000000 CCSID UNICODE<br />

| CREATE TABLE "/<strong>BI</strong>C/ADSOTEST00"<br />

| ("/<strong>BI</strong>C/VERSION" VARGRAPHIC (000003) NOT NULL<br />

| DEFAULT ' ' ,<br />

| "/<strong>BI</strong>C/SOLD_TO" VARGRAPHIC (000010) NOT NULL<br />

| DEFAULT ' ' ,<br />

| "/<strong>BI</strong>C/SALESORG" VARGRAPHIC (000004) NOT NULL<br />

| DEFAULT ' ' ,<br />

| "/<strong>BI</strong>C/VTYPE" VARGRAPHIC (000003) NOT NULL<br />

| DEFAULT '000' ,<br />

| "/<strong>BI</strong>C/DISTR_CHAN" VARGRAPHIC (000002) NOT NULL<br />

| DEFAULT ' ' ,<br />

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

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

Saved successfully!

Ooh no, something went wrong!