Professional Documents
Culture Documents
Applies to:
For more information, visit the EDW homepage.
Summary
This document dictates the process/configuration changes of how to control timings of ACR runs and also how to handle the situation wherein the ACR got stuck. Author: Nainpreet Singh
Author Bio
Nainpreet Singh is certfied SAP BI Lead Consultant working for HCL AXON. He is having around 8 yrs of rich design experience in SAP BI/BW area wherein he worked with various industries like Retail, Consumer goods ,utilities ,gaseous etc throughout globe.Currently he is working on the Roles of Solutions Architect in North America.His expertise includes BI/BW, ABAP, BPS,BOBJ.
Table of Contents
Attribute Change Run (ACR) - Optimization ....................................................................................................... 3 Configuration ................................................................................................................................................... 3 Steps to Overcome Long ACR run: .................................................................................................................... 4 Points to Consider: ........................................................................................................................................... 10 Related Content ................................................................................................................................................ 11 Disclaimer and Liability Notice .......................................................................................................................... 12
As per the system response one can increase this delta limit till you get minimum timings on ACR process. This depends upon system to system but ideal limit is 20. Block size is use to prevent overflow of temporary tablespace i.e. PSATEMP. This is used if E table or F table of Infocube is larger then the Blocksize then source to update aggregates will not be read at once rather divided into blocks. Ideal size of blocksize is 999999999.
After execution of report this will display following screen with summary of changes in ACR.
The above screen will show you summary not details so number of actual aggregates affected, characteristics and number of changes can only be seen after clicking details button.
After Clicking Details Button, It is clear that only one aggregate is affected, not 8 and it also displays the details of changes.
Further Drill down will display cube, aggregate name and the process for adjustment adapted by aggregate. Below adjustment has been adapted by delta as shown in screen shot.
Kill ACR Job Select the required job in SM66 and kill without core. Deactivate Aggregate Manually As per the details of aggregate analysis screen traverse to the cube and the aggregate, deactivate the same.
Restart Failed ACR Use programme, to get to ACR Monitor use ABAP report RSDDS_CHANGERUN_MONITOR and execute this in SE38, restart failed ACR. To Restart Change run Press Highlighted Execute Button:
Note: incase of failed ACR instead of green light youll find Red light on left side of screen. This below screen is for non failed ACR. But Start button will remains the same.
Wait for ACR to finish Once change run is done it will show you blank screen as shown below:
Deactivate Aggregate Manually Select the aggregate again and activate the same.
Once activated start filling job of aggregate. Once this is done you are again on to the same stage (as if this could have been done by ACR job) by making forcefully ACR to finish early.
Points to Consider:
1. This method is used to handle situation wherein Batch process got stucked on ACR job and there is no other option left. 2. Make sure ACR job Ran successfully once you restarted. 3. This can be done on various aggregates; its possible that ACR job might get stucked on 2 or more aggregates. 4. Pls use precaution and common sense before executing this procedure because some time cost of rebuilding aggregate is heavy in terms of time it takes to rebuild.
Related Content
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e7deb490-0201-0010-f882-ef40f8c9bb5c http://wiki.sdn.sap.com/wiki/display/BI/Aggregates+Performance http://wiki.sdn.sap.com/wiki/display/BI/Attribute+Change+Run++concepts