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.

Contents<br />

Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix<br />

Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x<br />

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi<br />

The team that wrote this <strong>IBM</strong> Redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii<br />

Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv<br />

Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv<br />

Chapter 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1<br />

1.1 Product overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2<br />

1.2 The audience <strong>for</strong> this <strong>IBM</strong> <strong>Redbooks</strong> publication . . . . . . . . . . . . . . . . . . . . 3<br />

1.3 Why run <strong>SAP</strong> <strong>BI</strong> on <strong>IBM</strong> System z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4<br />

1.3.1 Value provided by System z, z/<strong>OS</strong>, and <strong>DB2</strong> . . . . . . . . . . . . . . . . . . . 4<br />

Chapter 2. Overview of <strong>SAP</strong> <strong>BI</strong> and related data . . . . . . . . . . . . . . . . . . . . . 9<br />

2.1 <strong>BI</strong> architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10<br />

2.2 Which cubes, DSO, and PSA objects are in your <strong>BI</strong> system. . . . . . . . . . . 12<br />

2.2.1 Report <strong>SAP</strong>_BWTOOLPGM_<strong>DB2</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

2.3 <strong>BI</strong> data and <strong>DB2</strong> partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14<br />

2.3.1 Why partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br />

2.3.2 Range partitioning of F- fact tables . . . . . . . . . . . . . . . . . . . . . . . . . . 17<br />

2.3.3 Partitioning of PSA tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />

2.3.4 Partitioning of DataStore objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . 20<br />

2.3.5 Usage of data partitioned secondary indexes (DPSI) . . . . . . . . . . . . 21<br />

2.4 <strong>SAP</strong> <strong>BI</strong> snowflake schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />

2.5 New features and functions of <strong>SAP</strong> <strong>BI</strong> 7.x . . . . . . . . . . . . . . . . . . . . . . . . 26<br />

2.6 Terminology: <strong>BI</strong> objects and processes . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />

Chapter 3. Top ten <strong>SAP</strong> <strong>BI</strong> recommendations . . . . . . . . . . . . . . . . . . . . . . 29<br />

3.1 Base recommendations - <strong>SAP</strong> <strong>BI</strong> implementations <strong>for</strong> <strong>DB2</strong> on z/<strong>OS</strong> . . . . 30<br />

Chapter 4. Benefits of <strong>DB2</strong> 9 <strong>for</strong> <strong>SAP</strong> <strong>BI</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />

4.1 Dynamic index ANDing <strong>for</strong> star schema queries. . . . . . . . . . . . . . . . . . . . 36<br />

4.2 Database statistics <strong>for</strong> <strong>BI</strong> tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39<br />

4.2.1 Processing RUNSTATS <strong>for</strong> <strong>BI</strong> tables . . . . . . . . . . . . . . . . . . . . . . . . 40<br />

4.2.2 New to <strong>DB2</strong> 9: histogram statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 45<br />

4.3 Parallelism enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48<br />

4.3.1 Global query optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48<br />

4.3.2 Cross query block optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

© Copyright <strong>IBM</strong> Corp. 2005, 2007, 2008. All rights reserved. iii

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

Saved successfully!

Ooh no, something went wrong!