You are on page 1of 7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

HouseKeeping/PerformanceTuning
ActivitiesinSAPBWSystemsPART3

Communications

Actions

Version3

createdbyprabhithprabhakaranon30Sep201320:50,lastmodifiedbyprabhithprabhakaranon08Oct201314:37

Share

Tweet

Like

HiAll,

InmanyBWProjects,wehaveseenBasisteamandtheBWconsultantssearchingaroundfortracingtheregularand
besthousekeepingoptionsandactivitiesprovidedbySAPforimprovingtheperformanceofBWProductionservers.

Ihavemadeanattempttosummarizeandmentionmostofthosepointsunderasingleumbrella.
BasicallyIhavedividedtheactivitiesinto4partsnamelyGeneralmonitoring,Systemhealthmonitoring,Performance
relatedmonitoringandOccassionalactivitiesalongwithsomepurebasisactivitiesinthefourthpart.

Part1canbefoundhere> http://scn.sap.com/docs/DOC46602
Part2canbefoundhere> http://scn.sap.com/docs/DOC46844
Part4canbefoundhere> http://scn.sap.com/docs/DOC46965

Appliesto:

SAPNetWeaverBusinessWarehouse(formerlyBI).ThiswillalsoworkonSAPBI3.5andBI7.0.

Author:PrabhithPrabhakaran
Company:CapgeminiIndiaPrivateLimited

AuthorBio:

PrabhithisaSeniorSAPBWBOBJConsultantwithmorethansixyearsofexperienceandiscurrentlyworkingwith
CapgeminiConsulting,India.
HisareaofexpertiseincludesBW,BODS,BOBJandHANA.

OtherpopulararticlesfromthesameAuthor:
1.PointstobeconsideredwhileintegratingBWBexquerieswithBOWEBI>
35444
2.SAPBW7.3PromisingFeatures>

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

http://scn.sap.com/docs/DOC30461

A)PerformanceRelatedMonitoringActivities:

1)Performancerelatedtasks:
TransactionCodes>OS06,SM04.AL08,SM50,SM51,SM66,ST03,ST04
CheckCPUloadwithtransactionOS06
CheckthenumberofusersloggedintothesystemwithtransactionsSM04orAL08
CheckthesystemworkloadwithtransactionST03.
ChecktheworkloadofallprocesseswithtransactionsSM50,SM51,SM66

http://scn.sap.com/docs/DOC47062

1/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

CheckthedatabaseperformancewithST04.

2)DatabaseandSAPStatistics:

TransactionCodes>DB14,ABAPSAP_ANALYZE_ALL_INFOCUBES
DatabaseStatistics:
Thedatabasestatisticsareusedbythesystemtooptimizethequeryperformance.Youshouldkeepthedatabase
statisticsuptodateforthisreason.Itisrecommendedthatyoualwaysupdatethestatisticsifyouhaveloadedmore
thanamillionnewrecordsintotheInfoCubesincethelastupdate.Itisrecommendedtousetheprocesstypewithin
processchainstobuildupstatisticsontheInfocubetables.
Youcanautomaticallyrecalculatethedatabasestatisticsaftereachloadoraftereachdeltaupload.Usingthe
pushbuttonCheckStatisticsunderPerformancetab,youcanchecktheInfoCubetoseeifstatisticsexist.Ifnostatistics
existyet,thestatusdisplaychangestored.UsingRecalculateStatistics,youcanaddthemissingInfoCubestatisticsin
thebackground.
YoucandeterminethepercentageofInfoCubedatathatisusedtocreatethestatistics.Thepercentageissetto10%
bydefault.ThelargertheInfoCube,thesmalleryoushouldchoosethepercentage,sincethedemandonthesystem
forcreatingthestatisticsincreaseswiththechangeinsize.
Forupto10millionentriesintheInfoCube,youshouldsetthepercentageofInfoCubedata,thatisusedforcreating
thestatistics,to100%.
Automaticdeletionandbuildingofindexes,aswellasautomaticcalculationofdatabasestatisticscancauseconflicts
withautomaticcompressionandrollup.Theseprocesseslockoneanother.

3)Calculategooddatabasestatistics:
ForOracledatabases,runtheBRCONNECTscripttocalculategooddatabasestatistics.UseTx.DB14toviewthe
resultofthebatchjob.Ifthejobabortsorrunstoolong,doubleclickonthelinetoreviewthejoblog.

4)RecalculategoodBWstatisticsforInfocubes:

RunABAPSAP_ANALYZE_ALL_INFOCUBESonceinaweektocollectgoodSAPstatisticsforInfocubes.

RunperiodicallytheFMRSDDCVER_DB_STATISTICStocalculatedatabasestatisticsforanInfocube.

UsetransactionRSRV(andRSRVALT)onaregularbasistocheckInfocubes.Mostimportantlytagdatabase.
OptionsDBstatisticsofaninfocubeanditsaggregatestocheckthehealthofanInfocube.

TheSAPStatisticsCubes(technicalContent)isatooltoevaluateperformancekeyfiguresofqueries,aggregateand
rollupprocessesindetail.TheSAPstatisticscanbeturnedonandoffforspecificInfoProvidersintheAdministrator
Workbenchmenuoldstatisticsdatacanalsobedeleted.

5)Unuseddimensiontableentries:
TransactionCode RSRVALT

http://scn.sap.com/docs/DOC47062

2/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

6)RemoveunuseddimensiontableentriesofanInfocube:
RunFunctionmoduleRSDRD_DIM_REMOVE_UNUSEDtodeleteunuseddimensiontableentriesofanInfocube.
YoucanalsouseRSRVALTtagInfocubedata,optionUnusedentriesinthedimensionsofaninfocube.

7)BWstatistics:
Tools:BWstatisticsandTechnicalcontentqueries
EvaluatethesystemperformanceusingBWstatistics/Technicalcontentqueries.

8)ReadmodeofqueriesandInfocubes:
TransactionCode>RSRT
SwitchthereadmodeofinfocubesandqueriestotypeH(inRSRT).Also,checkregularlyifthereadmodestaysH
fornewinfocube/querydevelopments.
OnecanfindtheinfocubeswiththewrongreadmodebylookingintableRSDCUBE,columnREADMODEandfor
queriestableRSRREPDIR,columnREADMODE.

9)Archieve/Deleteadministrationtables:
SAPNote706478(andthereferencedsubnodes)providesanoverviewofadministrationbasistablesthatmay
considerablyincreaseinsizeandcauseproblemsasaresult,iftheentriesarenotregularlyarchievedordeleted.
Growingadministrationtablesincreasethetotalsizeofthesystemandnegativelyimpactperformance,forexample
duringmonitoringtherequests.
Affectedtablesare(amongothers):
Applicationlogtables(BAL*)Logsofseveralprocessesarecollectedintheapplicationlogtables.Thesetables
tendtogrowverybigastheyarenotautomaticallydeletedbythesystemandcanimpacttheoverallsystem
performance.
IDoctables(EDI*)TableEDI40canalsogrowverybigdependingonthenumberofIDOCrecords.
BWmonitoringtablesforrequestsandprocesschains(archievingonlypossiblewithBI7.0)
Jobtables(TBTCO,TBTCP)

http://scn.sap.com/docs/DOC47062

3/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

Archieveordeleteentriesinthesetablesaremarkedinthenote.
Dependingonthegrowthrate(i.e.,numberofprocessesrunninginthesystem),eitherschedulethereorganization
process(transactionSLG2)regularlyordeletelogdataassoonasyounoticesignificantDBtimespentintable
BALDAT(e.g.,inSQLtrace).
SeeSAPnote195157(Applicationlog:Deletionoflogs)formoredetails.
SeealsoSAPnote179046(RapidExpansionoftableEDI40,EDI30C)forinformationonarchivingtheIDOCtables.
DeleteregularlyoldRSDDSTATentries.

10)DeleteoldStatistics:
TransactionCode RSA1.ToolsmenusettingsforBIstatistics.
DeleteoldBWstatisticsonaregularbasis.

11)DeleteBWStatisticstable:
TheBWstatisticstableRSDDSTAT*andtheBPSstatisticstablesUPC_STATISTIC*havetobedeletedregularly.
Pleasefollowthenotes211940,195157,179046,366869beforedeletingandarchiving.
FortheBWStatistictablesRSDDSTAT*,thedeletionofrecordsolderthanxdayscanbedoneinRSA1transaction.To
deletedata,calltransactionRSA1,chooseTools>SettingsforBIstatisticsandselectdeletestatisticaldata.
Thetimeperiodfordata,canbeenteredinthefollowingscreen.FortheBPSstatistictableUPC_STATISTIC*,the
deletionofrecordsolderthanxdayscanbedoneinthetransactionBPS_STAT0

RelatedContent:
1)HowtooptimizeReportingPerformance
http://scn.sap.com/community/businessexplorer/blog/2013/07/25/howtooptimizereportingperformance

2)GuidetoperformefficientsystemcopyforSAPBWSystems
http://basisondemand.com/Documents/Whitepaper_on_BW_SystemCopy.pdf

3)PeriodicJobsandTasksinBW
http://scn.sap.com/docs/DOC11516

4)HouseKeepingactivitiesforArchivinginBWsystems
http://scn.sap.com/docs/DOC39735

5)HouseKeepingTaskList
http://scn.sap.com/docs/DOC46240

6)BWHouseKeepingandBWPCA
http://scn.sap.com/docs/DOC46433

BR,
Prabhith

http://scn.sap.com/docs/DOC47062

4/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

38558Views
Topics:performance,enterprise_data_warehousing/business_warehouseTags:analytic_database,
business_process_monitoring_and_analytics

AverageUserRating
(21ratings)

Share

Tweet

Like

18Comments
AnshuLilhori01Oct201306:04

Thisisawesome..Onestopplaceforalloptionsrelatedtohousekeepingactivity.

Regards,
AL
Like(1)

MannaDas01Oct201306:28

Thisisgonnahelpalot.MostofthetimeBasisconsultantsstrugglewithBWsystemperformances.
Thisdocwillgivegoodoverview,whereandhowtoenhanceBWperformance.

KindRegards
MannaDas
Like(1)

SatendraMishra01Oct201308:03

Veryniceinformationforthesupportproject.

Like(1)

Prashanthkonduru01Oct201308:39

Superb...Nicedocument.ItreallyhelpsalotforSupport(especiallyforbeginners).

Goodjob..keepposting...

Regards
KP
Like(1)

prabhithprabhakaran02Oct201304:23(inresponsetoPrashanthkonduru)

HiAll,

Thanksalotforyourcomments..

BR
Prabhith
Like(0)

SushantTiwarekar02Oct201308:14

Verynicedocument

Regards,
Sushant
Like(1)

SumanChakravarthyK02Oct201308:33

fantasticone
Like(1)

ChandraJanardhansudhirKunar02Oct201311:08

http://scn.sap.com/docs/DOC47062

5/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN
HiPrabith,
Excellentdocument.Veryhelpful.
Rgds,
Sudhir
Like(1)

AmrithpalK03Oct201320:47(inresponsetoChandraJanardhansudhirKunar)

Thanksforsharing...

Regards
Amrith
Like(1)

prabhithprabhakaran07Oct201314:37(inresponsetoAmrithpalK)

Thanksalotforallyourvaluablecomments.

AsandwhenIfindsomenewpoints,Iwilltrytoincorporatethesameinanyofthe
4parts.

BR
Prabhith
Like(0)

SatendraMishra25Oct201315:22

Hiitsaniceinformation.

gotadoubtifwedeletingBWStatisticisthereanyimpactatanywhereinBI.Ifdeletingwhatwill
happenandifwenotdeletingwhatwillhappen.Canyoupleaseelaborateforme.

Regards,
SM
Like(0)

AshokBabuKumili27May201414:17

HelloPrabhithPrabhakaran
Thankyousomuchforthisblog.Thisisverycool.IspecificallylovethatitisSOLUTIONoriented.
Thisissoorganisedandwelldescribed.

RegardsAshok
Like(0)

CesarBenito15Aug201423:52

#5resolved8hoursofresearching
Like(0)

SAPBI19Aug201406:49

Amustreaddocument...
ThanksforsharingthisKT.
Justonerequest,pleasemaintaintheauthorizationofeditingthedocument.Itsopen.
AsitsanimportantdocumentpleaseclosethisauthorizationandkeepituptoyourselfSir,
Regards!
Like(0)

YaseminULUTURK19Aug201409:00

DefinitelysuperbPrabhith.thankyouforsharing.
Regards
Yasemin...
Like(0)

SudhirVanaparthy14Nov201410:48

Thanksprabhakar...goodone
Like(0)

BasheeraRoohi02Jan201505:09

VeryNiceDocument,Veryuseful.

ThankyouforSharing..
Like(0)

http://scn.sap.com/docs/DOC47062

6/7

18/03/2016

HouseKeeping/PerformanceTuningActivitiesi...|SCN

JeethendraPatte03Feb201613:23

HiPrabhith,Thanksalotforaveryveryusefulblog.Ithelpedmeinmycurrentproject.RegardsJeeth
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

http://scn.sap.com/docs/DOC47062

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

7/7