Performance Improvement Methods.docx

上传人:b****4 文档编号:2964797 上传时间:2022-11-16 格式:DOCX 页数:8 大小:22.06KB
下载 相关 举报
Performance Improvement Methods.docx_第1页
第1页 / 共8页
Performance Improvement Methods.docx_第2页
第2页 / 共8页
Performance Improvement Methods.docx_第3页
第3页 / 共8页
Performance Improvement Methods.docx_第4页
第4页 / 共8页
Performance Improvement Methods.docx_第5页
第5页 / 共8页
点击查看更多>>
下载资源
资源描述

Performance Improvement Methods.docx

《Performance Improvement Methods.docx》由会员分享,可在线阅读,更多相关《Performance Improvement Methods.docx(8页珍藏版)》请在冰豆网上搜索。

Performance Improvement Methods.docx

PerformanceImprovementMethods

PerformanceImprovementMethods

ThischapterdiscussesOracleimprovementmethods.

Thischaptercontainsthefollowingsections:

∙TheOraclePerformanceImprovementMethod

∙EmergencyPerformanceMethods

TheOraclePerformanceImprovementMethod

OracleperformancemethodologyhelpsyoutopinpointperformanceproblemsinyourOraclesystem.Thisinvolvesidentifyingbottlenecksandfixingthem.Itisrecommendedthatchangesbemadetoasystemonlyafteryouhaveconfirmedthatthereisabottleneck.

Performanceimprovement,byitsnature,isiterative.Forthisreason,removingthefirstbottleneckmightnotleadtoperformanceimprovementimmediately,becauseanotherbottleneckmightberevealed.Also,insomecases,ifserializationpointsmovetoamoreinefficientsharingmechanism,thenperformancecoulddegrade.Withexperience,andbyfollowingarigorousmethodofbottleneckelimination,applicationscanbedebuggedandmadescalable.

Performanceproblemsgenerallyresultfromeitheralackofthroughput,unacceptableuser/jobresponsetime,orboth.Theproblemmightbelocalizedbetweenapplicationmodules,oritmightbefortheentiresystem.

Beforelookingatanydatabaseoroperatingsystemstatistics,itiscrucialtogetfeedbackfromthemostimportantcomponentsofthesystem:

theusersofthesystemandthepeopleultimatelypayingfortheapplication.Typicaluserfeedbackincludesstatementslikethefollowing:

∙"Theonlineperformanceissobadthatitpreventsmystafffromdoingtheirjobs."

∙"Thebillingruntakestoolong."

∙"WhenIexperiencehighamountsofWebtraffic,theresponsetimebecomesunacceptable,andIamlosingcustomers."

∙"Iamcurrentlyperforming5000tradesaday,andthesystemismaxedout.Nextmonth,werollouttoallourusers,andthenumberoftradesisexpectedtoquadruple."

Fromcandidfeedback,itiseasytosetcriticalsuccessfactorsforanyperformancework.Determiningtheperformancetargetsandtheperformanceengineer'sexitcriteriamakemanagingtheperformanceprocessmuchsimplerandmoresuccessfulatalllevels.Thesecriticalsuccessfactorsarebetterdefinedintermsofrealbusinessgoalsratherthansystemstatistics.

Somerealbusinessgoalsforthesetypicaluserstatementsmightbe:

∙"Thebillingrunmustprocess1,000,000accountsinathree-hourwindow."

∙"AtapeakperiodonaWebsite,theresponsetimewillnotexceedfivesecondsforapagerefresh."

∙"Thesystemmustbeabletoprocess25,000tradesinaneight-hourwindow."

Theultimatemeasureofsuccessistheuser'sperceptionofsystemperformance.Theperformanceengineer'sroleistoeliminateanybottlenecksthatdegradeperformance.Thesebottleneckscouldbecausedbyinefficientuseoflimitedsharedresourcesorbyabuseofsharedresources,causingserialization.Becauseallsharedresourcesarelimited,thegoalofaperformanceengineeristomaximizethenumberofbusinessoperationswithefficientuseofsharedresources.Ataveryhighlevel,theentiredatabaseservercanbeseenasasharedresource.Conversely,atalowlevel,asingleCPUordiskcanbeseenassharedresources.

TheOracleperformanceimprovementmethodcanbeapplieduntilperformancegoalsaremetordeemedimpossible.Thisprocessishighlyiterative,anditisinevitablethatsomeinvestigationswillbemadethathavelittleimpactontheperformanceofthesystem.Ittakestimeandexperiencetodevelopthenecessaryskillstoaccuratelypinpointcriticalbottlenecksinatimelymanner.However,priorexperiencecansometimesworkagainsttheexperiencedengineerwhoneglectstousethedataandstatisticsavailabletohim.Itisthistypeofbehaviorthatencouragesdatabasetuningbymythandfolklore.Thisisaveryrisky,expensive,andunlikelytosucceedmethodofdatabasetuning.

TheAutomaticDatabaseDiagnosticMonitor(ADDM)implementspartsoftheperformanceimprovementmethodandanalyzesstatisticstoprovideautomaticdiagnosisofmajorperformanceissues.UsingADDMcansignificantlyshortenthetimerequiredtoimprovetheperformanceofasystem.SeeChapter 6,"AutomaticPerformanceDiagnostics"foradescriptionofADDM.

Today'ssystemsaresodifferentandcomplexthathardandfastrulesforperformanceanalysiscannotbemade.Inessence,theOracleperformanceimprovementmethoddefinesawayofworking,butnotadefinitivesetofrules.Withbottleneckdetection,theonlyruleisthattherearenorules!

Thebestperformanceengineersusethedataprovidedandthinklaterallytodetermineperformanceproblems.

StepsinTheOraclePerformanceImprovementMethod

1.Performthefollowinginitialstandardchecks:

a.Getcandidfeedbackfromusers.Determinetheperformanceproject'sscopeandsubsequentperformancegoals,aswellasperformancegoalsforthefuture.Thisprocessis

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1