This document provides steps for using BW Statistics to find effective aggregates that optimize query performance in an InfoCube. The steps include:
1. Getting aggregate proposals from BW Statistics and selecting suitable aggregates based on keeping record counts small while maximizing summarized records.
2. Activating and filling selected aggregates, then executing sample queries to check if aggregates are being used.
3. Analyzing queries using the Query Monitor to see which aggregates are suggested and called, then activating additional aggregates to optimize queries.
Original Description:
Original Title
05_05_TABW90 2.0B Unit 5 Query Performance Aggregate Solution
This document provides steps for using BW Statistics to find effective aggregates that optimize query performance in an InfoCube. The steps include:
1. Getting aggregate proposals from BW Statistics and selecting suitable aggregates based on keeping record counts small while maximizing summarized records.
2. Activating and filling selected aggregates, then executing sample queries to check if aggregates are being used.
3. Analyzing queries using the Query Monitor to see which aggregates are suggested and called, then activating additional aggregates to optimize queries.
This document provides steps for using BW Statistics to find effective aggregates that optimize query performance in an InfoCube. The steps include:
1. Getting aggregate proposals from BW Statistics and selecting suitable aggregates based on keeping record counts small while maximizing summarized records.
2. Activating and filling selected aggregates, then executing sample queries to check if aggregates are being used.
3. Analyzing queries using the Query Monitor to see which aggregates are suggested and called, then activating additional aggregates to optimize queries.
In this Exercise you will use BW Statistics to find effective Aggregates.
1-1 Get aggregate proposals using BW statistics.
Highlight ‘InfoCube’ at the top of the screen and then click on the find icon. Enter in the InfoCube name ‘AGGR_XX’, then press ‘enter’. Double clicking on the icon before the InfoCube found will bring you to the ‘AGGR_XX’ InfoCube location on the tree. Highlight the ‘AGGR_XX’ InfoCube and click on the right mouse key. Select ‘Maintain Aggregates’ from the menu options. This brings you into the ‘Aggregate Maintenance’ screen for the selected InfoCube. 1-1-1 Click on the ‘Proposals’ button and then select ‘BW Statistics’ from the drop down menu list. 1-1-2 Optimize means that the BW System will look through the list of suggested aggregates to find which are the 20% least called up aggregates. If any of these 20% is covered by another aggregate and itself was called up two times, the covered aggregate it will be retained in the list of aggregates. Otherwise it will be deleted and the number of times it would have been called up are added to the covered aggregate. 1-1-3 They need to be activated and filled.
1-2 Select suitable aggregates from ones proposed.
1-2-1 Criteria for suitable aggregate: Keep number of records in aggregate as small as possible Try to maximize the number of summarized records Check that it is actually being called up when queries are executed Highlight the aggregate that is to be activated and filled. Click on the candle icon from the icon selections at the top of the screen.
Once the activation process has been completed a pop-up will appear asking whether you want to fill the aggregate. Affirm that you do and the system will proceed with the filling. Afterwards both the activate and fill status lights should be green. 1-2-2 Open up another session by entering ‘/orsrt’ in the command line and hitting enter. Once in the ‘Query Monitor’ use the F4 help to see possible queries for the InfoCubes in your BW system. Search for the ‘AGGR_XX’ under the InfoArea ‘TABW90 AGGREGATES – Performance Unit’. Once found, click on it and select one of the queries by double clicking on it. Then execute it from the Query Monitor. Repeat this process for the other queries of this InfoCube. Once again from the Administrator Workbench go into the ‘Aggregate maintenance’ screen for the InfoCube ‘AGGR_XX’ and check to see if any aggregates have been called up.
1-3 Activate and deactivate aggregates.
1-3-1 After checking the ‘Aggregate Maintenance’ screen and finding out which aggregates have been called up.In ‘Aggregate Maintenance’ screen for your InfoCube view the aggregate hierarchy. In the Aggregate Maintenance’ screen highlight the called up aggregate and then click on the icon ‘deselect’ from the icons liste on the top part of the screen. Then go through the process outlined in 1-2-3 again. Afterwards check the ‘Aggregate Maintenance’ screen for the AGGR_XX InfoCube and note if a different aggregate is being called up now. 1-3-2 Be careful in deactivating an aggregate because, although it will not be called up when a query is executed, it still is part of the change run.