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.

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

managed because only it retrieves the data <strong>for</strong> the selected columns, instead of<br />

the traditional approach that gets the whole row.<br />

Horizontal partitioning<br />

The sizing of the <strong>BI</strong>A, covered in 9.2, “Sizing <strong>BI</strong>A” on page 197, is based on the<br />

memory needs of the data to be managed by the <strong>BI</strong>A. Based on that is the<br />

number of Blades that can manage that memory. For each Blade’s CPU, it<br />

creates one partition. Each partition can hold one or a part of a<br />

InfoCube/dimension data, depending on its size.<br />

Smart compression<br />

The <strong>BI</strong>A uses dictionary-based compression allowing it to reduce the size of the<br />

data stored. It also allows it to manage all the data in memory. For this reason it<br />

is important do correct sizing. If some paging is involved, the <strong>BI</strong>A per<strong>for</strong>mance is<br />

going to be affected.<br />

Massive parallel execution (MPE)<br />

These techniques mentioned prepare the system <strong>for</strong> MPE. The queries and<br />

loads can be partitioned on small independent parts and run on the different<br />

partitions. Every step uses its own data on its own process and does not affect<br />

any other step. The number of parallel sessions that can run on a <strong>BI</strong>A system is<br />

one of the metrics of capacity sizing.<br />

The purpose of the <strong>BI</strong>A is to improve the per<strong>for</strong>mance of queries on selected<br />

InfoCubes. The customer has to evaluate the potential InfoCubes selected <strong>for</strong><br />

<strong>using</strong> <strong>BI</strong>A. <strong>SAP</strong> recommends not <strong>using</strong> the <strong>BI</strong>A <strong>for</strong> all InfoCubes. It should be<br />

used <strong>for</strong> large InfoCubes (thousands of millions of rows) to speed up query<br />

per<strong>for</strong>mance.<br />

For the sizing process <strong>SAP</strong> Note 917803 explains how to calculate the memory<br />

consumption <strong>using</strong> report ZZ_<strong>BI</strong>AMEMCONSUMPTION_BW3X.<br />

Note: We recommend <strong>using</strong> the option P_DETAIL to get more precise results<br />

<strong>for</strong> sizing.<br />

To get the number of Blades needed <strong>for</strong> the <strong>BI</strong>A system you can use the<br />

following algorithm:<br />

Result of report x 2 (GB) / amount of memory on Blade (GB) = number of<br />

Blades<br />

Chapter 9. <strong>SAP</strong> <strong>BI</strong> Accelerator 197

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

Saved successfully!

Ooh no, something went wrong!