Skip to Content
Author's profile photo Prabhith Prabhakaran

House Keeping / Performance Tuning Activities in SAP BW Systems — PART 1

Hi All,

In many BW Projects, we have seen Basis team and the BW consultants searching around for tracing the regular and best housekeeping options and activities provided by SAP for improving the performance of BW Production servers.

I have made an attempt to summarize and mention most of the BW House Keeping activities under a single umbrella.

Basically  I have divided the activities into 4 parts namely General monitoring, System health monitoring, Performance related monitoring and Occasional activities along with some pure basis activities in the fourth part.

Part 2 can be found here –> http://scn.sap.com/docs/DOC-46844

Part 3 can be found here –> http://scn.sap.com/docs/DOC-47062

Part 4 can be found here –> http://scn.sap.com/docs/DOC-46965

Applies to:

SAP NetWeaver Business Warehouse (formerly BI). This will also work on SAP BI 3.5 and BI 7.0.

Author: Prabhith Prabhakaran

Company: Capgemini India Private Limited

Author Bio:

/wp-content/uploads/2013/09/pho_283383.png

Prabhith is a Senior SAP BW-BOBJ Consultant with more than six years of experience and is currently working with Capgemini Consulting, India.

His area of expertise includes BW, BODS, BOBJ and HANA.

Other popular articles from the same Author:

  1. Points to be considered while integrating BW Bex queries with BO WEBI  –> http://scn.sap.com/docs/DOC-35444
  2. SAP BW 7.3 Promising Features –>  http://scn.sap.com/docs/DOC-30461

A) General Daily Monitoring Activities:

1) Space Overview
Transaction Code –> DB02
• Make sure that there’s enough database space free for the system. How much needs to be free depends on the system. If there is no enough free space, it’s a good idea to start looking into different housekeeping activities. Also we need to think about adding more disc space to the application.

• Disc space need estimations and should be planned at least 3 months ahead. These plans have to contain amounts in bytes, changes in percentage and need distribution in table spaces.

/wp-content/uploads/2013/09/1_283346.png

2) Data Base overview :

Transaction Code –> DB02

/wp-content/uploads/2013/09/2_283347.png

3) Table space Overview :

Transaction Code –> DB02

/wp-content/uploads/2013/09/3_283348.png

4) Free Space Monitoring :

Transaction Code –> DB02OLD

/wp-content/uploads/2013/09/4_283349.png

5) Batch jobs in BW System:

Transaction Code –> SM37

Check in SM37, all batch jobs which have status ‘Cancelled’. Try to solve the issue. In certain cases, re-running of the batch jobs would be handy.

/wp-content/uploads/2013/09/5_283350.png

6) Data loads: Info packages, DTP’s and process chains:
Transaction Codes –> RSMO, RSMON, RSPC, RSPCM
SAP delivered ABAP program: /SSA/BWT
• Make sure that all the infopackages finished successfully with Tx.RSMO
• Make sure all process chains have finished successfully, rerun them if necessary.
• Verify if transaction data loads with 0 records are valid
• Analyse PSA error requests that occur. Determine if the error records are valid.

7) Report ability of data loads in the info providers:                                                                                                                  Transaction Codes –> RSA1 (Maintenance of info cubes / DSO objects)
• Check if the data in all the info cubes are reportable. In certain cases, data would have been loaded, but aggregates are not rolled up yet.
• Check also if data in all the active DSO objects is activated and booked into all data its data targets.

8) Missing indexes in the database:

Transaction Code –> DB02OLD

/wp-content/uploads/2013/09/6_283351.png

In the above screen shot, 67 indexes and 106 tables are missing.

/wp-content/uploads/2013/09/7_283331.png

  • Make sure there are no database indexes missing other than the ones that are droppedto speed up data loads into the info cube. Perform this task multiple times a day. If info cube indexes stay missing, create them via the maintenance screen of info cubes, Performance
    tab.

/wp-content/uploads/2013/09/8_283333.png

9) ABAP Dumps:

Transaction Code –> ST22

• Try to solve recurring ABAP dumps. Apply SAP notes if necessary

/wp-content/uploads/2013/09/9_283337.png

10) System Logs:
Transaction Code –> SM21

/wp-content/uploads/2013/09/10_283338.png

Try to solve recurring problems in the system logs. Apply SAP notes if necessary.

11) Monitor if database back up’s have been made:

Transaction Code –> DB14

Make sure there are periodic backups been made of the complete system.

/wp-content/uploads/2013/09/11_283339.png

B) General Weekly Monitoring Activities:

/wp-content/uploads/2013/09/15_283361.png

1) BW Statistics:

Transaction Code –> RSA1, Tools – BW Statistics for info providers.

BW statistics provides you with the following options that allow you to evaluate data from both the OLAP processor and warehouse management.

You are able to:

• Get an overview of how InfoCubes, InfoObjects, InfoSources, source systems, queries, and aggregates are used.

• To determine the system performance and improve it.

• To improve the way in which aggregates are selected and used, and to reduce the cost of updating them.

C) General Monthly Monitoring Activities:

/wp-content/uploads/2013/09/13_283344.png

1) Aggregates: Status/Usage:
Transaction Code  –> RSA1, RSMON
Aggregates should boost query performance on an Infocube, but may affect the load performance while filling them. An aggregate should not be created lightly; there should always be a good reason for its existence. If the query runtime is mainly spent on the database, suitable aggregates should be created. The ratios between the rows selected and rows transferred indicates potential performance improvements  with aggregates.  

/wp-content/uploads/2013/09/14_283345.png

There are many reasons, why an aggregate might be unnecessary.

• There can be very similar aggregates that might be combined into one new aggregate.

• There can be aggregates which have never been used.

• There can be aggregates with an insufficient reduction factor compared to the Info cube.

An aggregate contain redundant data and are especially created for performance reasons, unnecessary aggregates need disk space and have to be regularly maintained via roll up. Check regularly the usage of your aggregates. It can be case that the merging of similar aggregates is possible. Some aggregates may not be used at all, or some aggregates should be similar to the size of the Info cube and lead to no performance improvements.

The Early watch report can also be checked for aggregates. 

Related Content:

1) How to optimize Reporting Performance

http://scn.sap.com/community/business-explorer/blog/2013/07/25/how-to-optimize-reporting-performance

2) Guide to perform efficient system copy for SAP BW Systems

http://basisondemand.com/Documents/Whitepaper_on_BW_SystemCopy.pdf

3) Periodic Jobs and Tasks in BW

http://scn.sap.com/docs/DOC-11516

4) House Keeping activities for Archiving in BW systems

http://scn.sap.com/docs/DOC-39735

5) House Keeping Task List

http://scn.sap.com/docs/DOC-46240

6) BW House Keeping and BW PCA

http://scn.sap.com/docs/DOC-46433

BR,

Prabhith

Assigned Tags

      39 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Raman Korrapati
      Raman Korrapati

      Hi Prabith,

      Excellent and superb presentation. Very well presented with screen and resolution.

      More useful one.

      Thanks for making and sharing with us.

      Regards

      Raman

      Author's profile photo Prabhith Prabhakaran
      Prabhith Prabhakaran
      Blog Post Author

      Thanks Raman,.

      Author's profile photo Anshu Lilhori
      Anshu Lilhori

      Hi,

      This is really helpful and useful...Lot of good points and areas explored..

      Regards,

      AL

      Author's profile photo Martin Grob
      Martin Grob

      Hi

      I was thinking about making this one but it wouldn't have turned out so nice. I think its a nice addition to this http://scn.sap.com/docs/DOC-46240 or vice versa 🙂

      thanks

      Martin

      Author's profile photo Former Member
      Former Member

      Good Doc..!

      Author's profile photo Benedict Venmani Felix
      Benedict Venmani Felix

      Good content and Very Nicely presented!!

      Thanks a lot for the info.

      You may also want to add a point about PSA deletion regularly, dont you think?

      Regards,

      Benedict

      Author's profile photo Former Member
      Former Member

      Good One, Thanks for Sharing....

      Author's profile photo Prabhith Prabhakaran
      Prabhith Prabhakaran
      Blog Post Author

      Hi All,

      Thanks a lot for your comments.

      Benedict Venmani Felix , This is part 1 only,  Part 2 and Part3 are in the preparation stage where all those points including PSA deletion will be covered.

      BR

      Prabhith.

      Author's profile photo Anshu Lilhori
      Anshu Lilhori

      We are awaiting for all the parts eagerly.. 🙂

      Author's profile photo Former Member
      Former Member

      Hi,

      Thanks for sharing.

      Hope to see part 2and 3 soon.

      Br

      LK

      Author's profile photo Former Member
      Former Member

      Hi Prabhith,

      Very useful and nice document 🙂

      Thanks,

      Purushotham.

      Author's profile photo Former Member
      Former Member

      Hi,

      Prabhith, thanks for sharing...

      Regards

      Amrith..

      Author's profile photo Altaf Asif Mohiuddin
      Altaf Asif Mohiuddin

      Hi Prabhith,

      Nice one... keep moving on  🙂

      Regards,

      Author's profile photo Former Member
      Former Member

      Very Useful

      Regards,

      Sushant

      Author's profile photo Manna Das
      Manna Das

      Thanks for this doc Prabhith

      Author's profile photo Yasemin ULUTURK
      Yasemin ULUTURK

      Hi Prabith,

      It is very informative and useful. Thanks for sharing.

      Regards

      Yasemin...

      Author's profile photo Former Member
      Former Member

      Excellent work Prabith!

      Thank you for sharing.

      Author's profile photo Kamal Mehta
      Kamal Mehta

      Nice .Thanks for sharing .

      Waiting for the other parts .

      Regards

      Kamal

      Author's profile photo Former Member
      Former Member

      Hi,

      Right now we are doing Data Archiving project. The above document will definitely help for our analysis.

      Thanks for for such good analysis.

      Regards,

      Chandra Sekhar.

      Author's profile photo Aby Jacob
      Aby Jacob

      Thanks Prabhith !!

      Very useful 😎

      Author's profile photo Satendra Mishra
      Satendra Mishra

      Very nice information for the support project.

      🙂 🙂

      Author's profile photo Prabhith Prabhakaran
      Prabhith Prabhakaran
      Blog Post Author

      Hi All,

      Thanks a lot for your comments..

      BR

      Prabhith

      Author's profile photo Suman Chakravarthy K
      Suman Chakravarthy K

      Generally we don't get access to DB02 and DB14 in Prod. It will be with BASIS control. You made me to see what's happening in these t-codes. 🙂 Fantastic share it is..

      Author's profile photo Praveen Kumar
      Praveen Kumar

      Nice blog with good and  detailed explanation

      Praveen Kumar

      Author's profile photo Srinu S
      Srinu S

      Nice blog. Keep sharing 🙂

      Author's profile photo Former Member
      Former Member

      Good Content. Very useful Information.

      Thanks & Regards,

      Chandra Sekhar

      Author's profile photo Prabhith Prabhakaran
      Prabhith Prabhakaran
      Blog Post Author

      Thanks a lot for your comments; Praveen KUMAR, srinu s, @Chandra_Sekhar,

      Br

      Prabhith

      Author's profile photo Former Member
      Former Member

      Hi Prabhith

      Your docs shows how good your presentation skills are.Very useful information

      regards

      Kuldeep

      Author's profile photo Jens Gleichmann
      Jens Gleichmann

      Hi Prabhith,

      nice summary, thanks for collecting and sharing this. There are one point of criticism which I must tell you. The table space PSAPSR3701 which is shown in DB02 screenshot is an old TS which has not been dropped after an upgrade (brspace -f tsdrop). If you want to optimize your landscape and save space on your disks, you shouldn't forget such tasks 😉

      Thanks and Regards,

      Jens

      Author's profile photo Sander van Willigen
      Sander van Willigen

      Well done, thanks a lot for sharing your knowledge !!

      Author's profile photo Former Member
      Former Member

      Excellent.

      Author's profile photo Former Member
      Former Member

      HI Prabhith,

      Thanks for sharing these useful informations.

      I have one doubt here that while deleting old log files(application logs,database logs or error logs) is there any risks involved or do we have to check any parameter before deleting ?

      Author's profile photo Purushotham Surla
      Purushotham Surla

      Hi Prabhith,

      Thanks for the steps !!

      I have doubt about above steps,can we consider same steps when BW7.4 on HANA ?

      Thanks.

      Puru

      Author's profile photo Ulrike Schumm
      Ulrike Schumm

      Very good documentation!

      I have one question regarding 8) Missing indexes in the database:

      In BW 7.4 SP07 ff., the Performance tab in the maintenance of the infocube where you can delete, repair and create database indexes and statistics is gone. Do you know why? Or do you have to activate this tab somewhere in the general settings no matter if it is BW 7.3 or 7.4?

      Thanks

      Ulrike

      Author's profile photo Jens Gleichmann
      Jens Gleichmann

      Hi Ulrike,

      do you are using BW on HANA? If do you use HANA, you do not need to create/delete/repair indexes any more. Also statistics are not relevant.

      Regards,

      Jens

      Author's profile photo Ulrike Schumm
      Ulrike Schumm

      Hi Jens,

      but I think the Performance tab is missing in InfoProviders in BW 7.4 on HANA that are not yet HANA-Enabled. If you start with BW on HANA via migration, you might have only selected data flows modeled as HANA-enabled for the beginning. The majority of the data flows is still modeled in the 'old way'.

      So what is with these InfoProviders? How can you handle Performance issues with these 'old cubes' if statistics and indexes are not available any more?

      Thanks

      Ulrike

      Author's profile photo Colm Boyle
      Colm Boyle

      Obviously very experienced in BW, great work, and also a great go-to for less experienced BW Consultants,

      thanks,

      Colm

      Author's profile photo Kuzhanthaivel S
      Kuzhanthaivel S

      Thanks for sharing.

      Nice documents for performance Tuning

      Author's profile photo Param Sadagopan
      Param Sadagopan

      Hi Prabhith,

      Excellent. Would like to know whether anything published with reference to BW4HANA?

       

      Param