Sie sind auf Seite 1von 12

Migration from SQL Server 2000 to SQL Server 2008

Upgrade vs Migrate Upgrade (or in-place upgrade):


Updates an existing installation while preserving user data Instance name remains the same after upgrade Automated process

Migration (or side-by-side migration):


Starts with a new installation New & old instance reside side-by-side Objects are copied from the old to new instance Mostly a manual process

29 April 2014

In-place Upgrade
SQL Server 2000 Instance: foo SQL Server 2008 Instance: foo

Upgrade

SQL Server Upgrade Advisor

29 April 2014

Upgrade Pros and Cons


Pros
Easier, faster, less headache for small systems Requires no additional hardware Applications remain pointing to old instance

Cons
Less granular control over upgrade process Instance remains offline during part of upgrade Not best practice for all components
Analysis Services cubes are recommended to be migrated

29 April 2014

Migration
SQL Server 2000 Instance: foo SQL Server 2008 Instance: Bar

Migrate

SQL Server Migration Assistant

29 April 2014

Migration Pros and Cons


Pros
Migration provides more granular control over the upgrade process Having new and old instances side-by-side helps with testing & verification Legacy instance remains online during migration Flexibility to implement migration with failover

Cons
May require new or additional hardware resources Applications need to be directed to new instance

29 April 2014

Migration Benefits

Migrating a SQL Server installation to SQL Server 2008 is useful if


You encounter an upgrade blocker Have a large scale deployment Stringent up-time requirements

If you are changing the hardware or topology of your installation.

29 April 2014

Migration Steps

Pre-Migration Considerations

Installation

Migration

Post-Migration Considerations

29 April 2014

Migration Methodology
1.
2. 3.

Create Checklists. Refer to Deprecated, Discontinued or breaking changes and list these as part of the checklist.
Create Acceptance test criteria. Baseline performance where required. Use tools to identify deprecated / Discontinued features or breaking changes Run Upgrade Advisor. Use System MonitorSQL Server: Deprecated Features Object Best Practices Analyzer for SQL Server 2000 Fix issues.

4.

5.

Plan for Backup / Rollback in case Migration not sucessful.

29 April 2014

Methodology - Continued
Migrate
Database
Backup and restore Manual schema rebuild and data export/import Log shipping Copy Database Wizard

Reporting
Move the report server database new SQL Server 2008 installation.

DTS
DTS Package Migration Wizard. Note that some DTS features cannot be migrated directly into SSIS

Analysis Services
Analysis Services Migration Wizard

Perform Acceptance criteria. Rollback if not successful. Post Deployment steps


Update Statistics Rebuild Cubes
29 April 2014

Tools Microsoft
Tools Upgrade Advisor Purpose Helps identify any issues that could affect migration

SQL Server 2008 Upgrade Assistant

The SQL Server 2008 Upgrade Assistant is an external tool that lets you determine in a test environment how an application currently running on SQL Server 2000 or SQL Server 2005 will run on SQL Server 2008.
Before you install SQL Server 2008, you should also run the SQL Server Best Practices Analyzer (BPA) against your current legacy instances of SQL Server. If bad or questionable practices exist, you could address them before the upgrade, moving the fixes through test and into production. SQL Server 2008 provides a new System Monitor (Perfmon) counter called SQLServer:Deprecated Features to monitor whether your application is submitting commands to the SQL Server 2008 Database Engine that are scheduled for removal from SQL Server in future releases
29 April 2014

Best Practices Analyzer for SQL Server 2000 and SQL Server 2005 System Monitor SQL Server: Deprecated Features Object

Tools Continued
Tools Analysis Services Migration Wizard Purpose You can use the Analysis Services Migration Wizard to upgrade Microsoft SQL Server 2000 Analysis Services databases to Microsoft SQL Server 2008 Analysis Services. During migration, the wizard copies SQL Server 2000 Analysis Services database objects and then re-creates them on an instance of SQL Server 2008 Analysis Services. Integration Services provides the DTS Package Migration Wizard for migrating SQL Server 2000 Data Transformation Services (DTS) packages that were created by using the DTS tools and object model.

DTS Package Migration Wizard

29 April 2014

Das könnte Ihnen auch gefallen