SQLServer2000toSQLServer2008R2UpgradeAnnaTarasoffTechnicalSolutionProfessional
AgendaBenefitsofUpgradingUpgradePathsandStrategiesUpgradeConsiderationsUpgradeToolsTheUpgradePlan
BusinessBenefitsTechnicalBenefitsBenefitsofUpgradingBusinessBenefitsTechnicalBenefits
UpgradePathsandStrategies
UpgradePaths:SQLServer2000SP4toSQLServer2008R2BenefitsDrawbacksSQLServer2000toSQLServer2005toSQLServer2008R2BenefitsDrawbacksTherearetwobasicupgradepathsavailablewhenyourorganizationdecidestomovefromSQLServer2000toSQLServer2008R2.Eachoptionhasbothbenefitsanddrawbacks.ThefirstoptionistoupgradedirectlyfromSQLServer2000toSQLServer2008R2.Thismaybelesstimeconsuming,asitdoesnotrequiretheinterimstepofupgradingtoSQLServer2005.However,existingapplicationsmayrequiresignificantmodificationtoretaintheirfunctionality.ThesecondoptionistoupgradetheSQLServer2000instancefirsttoSQLServer2005andthentoSQLServer2008R2.Thisway,applicationchangescanbeaddressedincrementally.However,thisisadministrativelymoreintensiveandifrollbackisnecessary,therollbackprocessispotentiallymorecomplex.
UpgradeStrategiesComparisonataglanceProcessIn-PlaceUpgradeSide-by-SideUpgradeNumberofresultinginstancesOneonlyTwoNumberofphysicalserversinvolvedOneOneormoreDatafiletransferAutomaticManualSQLServerinstanceconfigurationSupportingtoolSQLServerSetupVariousdatatransfermethodsThistableshowsacomparisonofsomekeyelementsoftheupgradeprocess,dependingonwhetheryoudoanin-placeoraside-by-sideupgrade.Objectsrequiringmanualtransferwhenyoudoaside-by-sideupgradeinclude:DatafilesDatabaseobjectsSSAScubesConfigurationsettingsSecuritysettingsSQLServerAgentjobsSSISpackages
UpgradeConsiderations
OperatingSystemRequirementsWindowsServer2003SP2(32-bitor64-bit)Standard,Enterprise,andDatacenterEditionsSmallBusinessServerStandardandPremiumEditionsWindowsServer2008(32-bitor64-bit)Standard,Enterprise,andDatacenterWithorwithoutHyper-VWebSQLServer2008R2willrunontheStandard,EnterpriseorDatacentereditionsofWindowsServer2003(32-bitor64-bitversions),aswellasSmallBusinessServer2003,StandardorPremiumedition.ServicePack2needstobeapplied.SQLServer2008R2willalsorunonanyeditionofWindowsServer2008(32-bitor64-bitversion),withorwithoutHyper-V.However,SQLServer2008R2isnotsupportonWindowsServer2008ServerCoreinstallations.IfyouarerunningSQLServer2005onanolderoperatingsystem,suchasWindows2000Server,youwillneedtoupgradetheoperatingsystem.SQLServer2008R2isnotsupportedonWindowsServer2008ServerCoreinstallations
PrimaryToolsSecondaryToolsAdditionalToolsUpgradeToolsPrimaryToolsSecondaryToolsAdditionalTools
UpgradeToolsOverviewPrimaryToolsSecondaryToolsSQLServerUpgradeAdvisorSQLServerUpgradeAssistantBestPracticesAnalyzerforSQL2000and2005SystemConfigurationChecker(SCC)SQLServerProfilerSQLServerDeprecatedFeaturesObjectCounterSQLServer2008R2UpgradeDatasheet.docxMicrosoftandMicrosoftpartnersoffermyriadtoolstohelpautomateandbetterensurethesuccessoftheupgradeprocesstoSQLServer2008R2.Eachtoolhasitsownpurposeandtiming,soitisbesttobecomefamiliarwithallthetoolsandthenusethosemostappropriatetoeachphaseofyourupgrade.PrimaryToolsTheprincipaltoolsforplanningandexecutingyourSQLServer2008R2upgradearetheSQLServer2008R2UpgradeAdvisorandDTSupgradeWizard.SecondaryToolsTherearemultipleadditionaltoolsthatfitspecializedneedsintheupgradeplanningandexecutionprocess,including:SQLServer2008R2UpgradeAssistantSQLServerBestPracticesAnalyzerSystemConfigurationCheckerSQLServerProfilerSQLServer:DeprecatedFeaturesObjectCounterOthertools
UpgradeAdvisorAnalysisWizardTheupgradeadvisorgeneratesareportbasedonyourselectionsToprepareforanin-placeupgradeofaninstanceoftherelationaldatabaseengineanditsdatabases,youshouldruntheSQLServer2008R2UpgradeAdvisortoanalyzeinstalledSQLServer2000orSQLServer2005relationalenginecomponents.Firstyouselectthefollowing:ComponentstoanalyzeInstancenametoanalyzeDatabase(s)toanalyzeTheUpgradeAdvisorgeneratesareportbasedonyourselections,whichidentifiesissuesthatmustberesolvedbeforetheupgradeandthosethatyoumustresolveafterSetupcompletes.
BestPracticesAnalyzerforSQLServer2000and2005SeparateversionsforSQLServer2000andSQLServer2005DownloadfromMicrosoftWebsiteRunbeforeupgradetoidentifybadorquestionablepracticesAddresspracticesonlegacysystemifpossibleforsmootherupgradeWatchforpracticesthatarechangedduringupgradeprocessBeforeinstallingSQLServer2008R2,youshouldalsoruntheSQLServerBestPracticesAnalyzer(BPA)againsttheSQLServer2000instance.Ifbadorquestionablepracticesexist,youmayaddressthembeforetheupgrade,movingthefixesthroughtestandintoproduction.UsingbestpracticesonthelegacySQLServersystemsfirstwillhelpensureasmootherupgrade.TheBestPracticesAnalyzerforSQLServer2000compilesbestpracticesandrecommendationsfordevelopingbetter,moremaintainableSQLServerapplicationsandavoidingoversightsinmanagingaSQLServerinstallation.
SystemMonitorPerformanceCounter:DeprecatedFeaturesObjectMonitorswhetherapplicationissendingcommandsthatarescheduledforremovalCanbeusedtoplanmodificationstoapplicationcodeforsubsequentupgradeRecordstotalnumberoftimesadeprecatedfeaturewasencounteredsincelaststartSQLServer2008R2providesanewSystemMonitor(Perfmon)countercalledSQLServer:DeprecatedFeaturestomonitorwhetheryourapplicationissubmittingcommandstotheSQLServer2008R2databaseenginethathavebeenscheduledforremovalfromSQLServerinfuturereleases.YoushouldremovesuchdeprecatedcommandsfromSQLServer2008R2applicationsaftertheyaredetected.YoucanusethiscountertohelpplanmodificationstoyourapplicationcodesothattheprocesswillgomoresmoothlywhenyouupgradetothenextversionofSQLServerafterSQLServer2008R2.Choosewhichtypeoffeaturetomonitorbyusingtheinstanceselectionboxforthecounter.SystemMonitorrecordsthetotalnumberoftimesthedeprecatedfeaturewasencounteredsinceSQLServer2008R2waslaststarted.
SQLServer2008R2UpgradeAssistantUsedintestenvironmentDetermineshowanexistingapplicationwillrunonSQLServer2008R2UsesUpgradeAdvisorwithbaselineandtracereplayRequirementsWindowsServer2003R2,VistaorXPSP2oraboveSQL2000SP4orabove/SQL2005SP2orabove.NETFramework2.0SP1oraboveTheSQLServer2008R2UpgradeAssistantisanexternaltoolthatletsyoudetermineinatestenvironmenthowanapplicationcurrentlyrunningonSQLServer2000willrunonSQLServer2008R2.ThistoolusesUpgradeAdvisor,alongwithbaselineandtracereplayinatestenvironment,tohelpidentifycompatibilityissues.RequirementsforusingUpgradeAssistantare:WindowsServer2008,WindowsServer2003R2,WindowsVista,orWindowsXPSP2orlaterSQLServer2000SP4orlaterMicrosoft.NETFramework2.0SP1orlater
PlanCreationFlowchartTheUpgradePlanPlanCreationFlowchart
SQLServer2008R2UpgradeFlowchartThischartillustratesthedecisionmakingprocessfromthepreparatoryphasetocompletionoftheSQLServer2000to2008upgrade.
IdentifyyourupgradepathandstrategySummaryTherearemanybusinessandtechnicalbenefitsinupgradingtoSQLServer2008R2IdentifyyourupgradepathandstrategyInsummary:TherearemanybusinessandtechnicalbenefitstoupgradingfromSQLServer2000toSQLServer2008R2TherearedifferentupgradepathsandstrategiestochoosefromThereareanumberoffactorstoconsiderbeforeupgradingThereareseveralavailabletoolstomakeupgradingeasierKnowingyouroptionsandunderstandingtheupgradeprocesscanhelpyoumakethedecisiontoupgradetoSQLServer2008R2withconfidence.CreatechecklistsandperformancebaselinebeforeupgradingandplanforcontingencyUseavailabletoolstomakeupgradingeasier
2009MicrosoftCorporation.Allrightsreserved2009MicrosoftCorporation.Allrightsreserved.Microsoft,Windows,WindowsVistaandotherproductnamesareormayberegisteredtrademarksand/ortrademarksintheU.S.and/orothercountries.TheinformationhereinisforinformationalpurposesonlyandrepresentsthecurrentviewofMicrosoftCorporationasofthedateofthispresentation.BecauseMicrosoftmustrespondtochangingmarketconditions,itshouldnotbeinterpretedtobeacommitmentonthepartofMicrosoft,andMicrosoftcannotguaranteetheaccuracyofanyinformationprovidedafterthedateofthispresentation.MICROSOFTMAKESNOWARRANTIES,EXPRESS,IMPLIEDORSTATUTORY,ASTOTHEINFORMATIONINTHISPRESENTATION.