大型数据库应用的性能调优-案例学习

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

WrittenbyQuestSoftware,Inc.PerformanceTuningforMission-CriticalDatabaseApplicationsAnExampleinPeopleSoft©2009QuestSoftware,Inc.ALLRIGHTSRESERVED.Thisdocumentcontainsproprietaryinformation,protectedbycopyright.Nopartofthisdocumentmaybereproducedortransmittedforanypurposeotherthanthereader'spersonalusewithoutthewrittenpermissionofQuestSoftware,Inc.WARRANTYTheinformationcontainedinthisdocumentissubjecttochangewithoutnotice.QuestSoftwaremakesnowarrantyofanykindwithrespecttothisinformation.QUESTSOFTWARESPECIFICALLYDISCLAIMSTHEIMPLIEDWARRANTYOFTHEMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSE.QuestSoftwareshallnotbeliableforanydirect,indirect,incidental,consequential,orotherdamageallegedinconnectionwiththefurnishingoruseofthisinformation.TRADEMARKSQuest,QuestSoftware,andtheQuestSoftwarelogoaretrademarksandregisteredtrademarksofQuestSoftware,Inc.intheUnitedStatesofAmericaandothercountries.Othertrademarksandregisteredtrademarksusedinthisdocumentarepropertyoftheirrespectiveowners.WorldHeadquarters:5PolarisWayAlisoViejo,CA92656e-mail:info@quest.comPleaserefertoourWebsite()forregionalandinternationalofficeinformation.Updated—January26,2008iCONTENTSINTRODUCTION..........................................................................................1PERFORMANCECHALLENGES......................................................................2OPTIMIZINGPEOPLESOFT’SPERFORMANCE...............................................4TuningPeopleSoftthroughSQLOptimization...............................................5TuningPeopleSoftthroughIndexing..........................................................6MAINTAININGOPTIMALPERFORMANCE.....................................................8BESTPRACTICESFORTHEPEOPLESOFTAPPLICATION’SLIFECYCLE..........9CONCLUSION............................................................................................11APPENDIX1.QUESTSQLOPTIMIZER’SAPPROACH...................................121.LocatetheproblematicSQL................................................................122.OptimizetheSQL..............................................................................143.OptimizetheIndexes.........................................................................154.CheckforImpactAnalysis...................................................................165.TrackChangesofSQLExecutionPlans..................................................17ABOUTQUESTSOFTWARE,INC.................................................................19CONTACTINGQUESTSOFTWARE.......................................................................19CONTACTINGQUESTSUPPORT.........................................................................19PerformanceTuningforMission-CriticalDatabaseApplications1INTRODUCTIONThiswhitepaperexplainshowQuestSQLOptimizercanassuretheperformanceofmissioncriticalapplications.AlthoughthispaperfocusesonPeopleSoftandOracle,thesamemethodologycanbeappliedtoimproveperformanceofallmissioncriticalapplicationsonOracle,SQLServer,DB2LUW,andSybaseAdaptiveServer.ToaddresstheperformancechallengesfacedinPeopleSoftapplicationdevelopment,wewillexploretheprocessofperformancetuningfordifferentPeopleSoftcomponents.AndbydemonstratingtheprocessofperformancetuningforPeopleSoftapplications,weillustratehowto“unlock”businessefficienciesthroughtheadoptionofQuestSQLOptimizer’smethodology.Finally,weaddressthefulllifecycleofPeopleSoftapplicationsandprovidethesolutionformaintainingperformancethroughoutthelifeofyourapplication.WhitePaper2PERFORMANCECHALLENGESDesignedforenterprises,PeopleSoftbusinessapplicationsachieveproductivityandefficiencygainsbyautomatingbusinessprocessessuchasHumanResources,Finance,SupplyChain,StudentAdministration,andothers.ThemaingoalsofaPeopleSoftimplementationaretoimproveworkflow,reducecosts,andensurereliableandtimelydatamanagement.AlthoughPeopleSoftdeliverssuperiorfunctionalitytotheendusers,theapplication’splatformindependentarchitecturecancauseperformancedegradationwhendeployed.PeopleSoft’sapplicationsaredevelopedinagenericfashiontoworkonanumberofdifferentvendor’sdatabasessuchasOracle,Sybase,MicrosoftSQLServerandDB2.DataretrievalanddatamodificationfromPeopleSofttothedatabaseisdonethroughgenericSQLstatementsthatarecompatibleacrossallRDBMS.EveryRDBMShasauniquearchitectureandprocessesSQLstatementsindifferentways.Therefore,genericSQLstatementsdonottakeadvantageofanyRDBMSarchitectureandspecificplatformcharacteristics,whichresultsinperformanceinefficiencies.AnotherperformancechallengethatPeopleSoftapplicationshaveisthateveryimplementationresidesinadifferentdatabaseenvironmentwithdifferentdatavolumes,transactionrates,hardwareandsoftwareconfigurations.ThismeansthatnotwoPeopleSoftimplementationsarealike,resultinginuniqueperformancecharacteristics.Forthesereasons,PeopleSoftapplicationsarenottunedformaximumperformanceforeveryimplementationrightoutofthebox.SQLoptimization,indexing,anddatabaseparameterschangesofferthebestopportunitytoimprovedatabaseandapplicationperformance,resultinginconsiderablesavi

1 / 22
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功