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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.4.3 Data Partitioned Secondary Indexes (DPSIs) . . . . . . . . . . . . . . . . . 112<br />

7.4.4 Partitioning a DataStore object . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

7.5 <strong>DB2</strong> compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

7.5.1 Materialized query tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133<br />

Chapter 8. Query and Load per<strong>for</strong>mance . . . . . . . . . . . . . . . . . . . . . . . . . 135<br />

8.1 Troubleshooting general system per<strong>for</strong>mance . . . . . . . . . . . . . . . . . . . . 136<br />

8.2 Analyzing load per<strong>for</strong>mance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142<br />

8.3 Analyzing query per<strong>for</strong>mance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157<br />

8.3.1 Starting the analysis from ST03 . . . . . . . . . . . . . . . . . . . . . . . . . . . 158<br />

8.3.2 Determining whether aggregates are required . . . . . . . . . . . . . . . . 161<br />

8.3.3 Front-end processing time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />

8.3.4 Database per<strong>for</strong>mance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />

8.4 <strong>DB2</strong> Visual Explain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174<br />

8.5 <strong>SAP</strong> Query Analysis Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

8.5.1 Display of SQL access plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180<br />

8.5.2 <strong>SAP</strong> Query Visualizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186<br />

8.5.3 Features of <strong>SAP</strong> Query Visualizer . . . . . . . . . . . . . . . . . . . . . . . . . 190<br />

8.5.4 Example of <strong>using</strong> the query analysis tool . . . . . . . . . . . . . . . . . . . . 192<br />

Chapter 9. <strong>SAP</strong> <strong>BI</strong> Accelerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195<br />

9.1 The <strong>BI</strong>A architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196<br />

9.2 Sizing <strong>BI</strong>A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197<br />

9.3 System z requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198<br />

9.4 <strong>BI</strong>A installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200<br />

9.5 <strong>BI</strong>A administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

9.6 Benefits of <strong>BI</strong>A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

9.7 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

Chapter 10. Tips <strong>for</strong> SQL efficiency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203<br />

10.1 SQL efficiency <strong>for</strong> DSO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204<br />

10.2 SQL efficiency <strong>for</strong> InfoCube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />

10.3 Indexing of DSOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />

10.3.1 Index design <strong>for</strong> post-DSO access . . . . . . . . . . . . . . . . . . . . . . . . 223<br />

10.4 Indexing of InfoCubes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />

10.4.1 facttable indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />

10.4.2 Index design <strong>for</strong> dimension/master data tables. . . . . . . . . . . . . . . 224<br />

Chapter 11. Project Jupiter: large <strong>BI</strong> Accelerator scalability evaluation 227<br />

11.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228<br />

11.1.1 Project overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228<br />

11.2 Jupiter environment infrastructure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />

11.2.1 Hardware and software configuration . . . . . . . . . . . . . . . . . . . . . . 230<br />

11.2.2 Network infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232<br />

Contents v

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

Saved successfully!

Ooh no, something went wrong!