Download presentation
Presentation is loading. Please wait.
Published byAnne Richards Modified over 9 years ago
1
Upgrading to SQL Server 2005 Melville Thomson IT Pro Evangelist Microsoft
2
Welcome to this TechNet Event FREE bi-weekly technical newsletter FREE regular technical events hosted across the UK FREE weekly UK & US led technical webcasts FREE comprehensive technical web site Monthly CD / DVD subscription with the latest technical tools & resources FREE quarterly technical magazine We would like to bring your attention to the key elements of the TechNet programme; the central information and community resource for IT professionals in the UK: To subscribe to the newsletter or just to find out more, please visit www.microsoft.com/uk/technet or speak to a Microsoft representative during the break www.microsoft.com/uk/technet
3
Why Upgrade? Database Engine Service Broker HTTP Access Database Tuning Advisor Enhanced Read ahead & scan Indexeswith Included Columns Multiple Active Result Sets Persisted Computed Columns Try/Catch in T-SQL statements Common Table Expressions Server Events Snapshot Isolation Level Partitioning Synonyms Dynamic Management Views.NET Framework Common Language Runtime Integration CLR-based Types, Functions, & Triggers SQL Server.NET Data Provider Data Types CLR-based Data Types VARCHAR(MAX), VARBINARY(MAX) XML Datatype Database Failure and Redundancy Fail-over Clustering (up to 8 node) Database Snapshots Enhanced Multi-instance Support XML New XML data type XML Indexes XQUERY Support XML Schema (XSD) support FOR XML PATH XML Data Manipulation Language SQLXML 4.0 Database Maintenance Backup and Restore Enhancements Checksum Integrity Checks Dedicated Administrator Connection Dynamic Configuration AWE Highly-available Upgrade Online Index Operations Online Restore Management Tools MDX & XML/A Query Editor Maintenance Plan Designer Source Control Support Profiler access to non-sa SQLCMD Command Line Tool Database Mail Performance Tuning Profiling Analysis Services Exportable Showplan & Deadlocks Profiler Enhancements New Trace Events Full-text Search Backup/Restore includes FT catalogs Multi-instance service SQL Client.NET Data Provider Server Cursor Support Multiple Active Result Sets Security Catalog and meta-data security Password policy enforcement Fine Grain Administration Rights Separation of Users and Schema Surface Area Configuration Notification Services Embed NS in existing application User-defined match logic Analysis Services Event Provider Replication Seamless DDL replication Merge Web Sync Oracle Publication Peer to Peer Transactional replication Merge replication perf and scalability New monitor and improved UI Analysis Services and Data Mining Analysis Management Objects Windows Integrated Backup and Restore Web Service/XML for Analysis Integration Services and DM Integration Eight new Data Mining algorithms Auto Packaging and Deployment Migration Wizard Integration Services New high performance architecture Visual design and debugging environment Extensible with custom code and scripts XML task and data source SAP connectivity Integrated data cleansing & text mining Slowly changing dimension wizard Improved flow control Integration with other BI products Reporting Services Report Builder Analysis Services Query Designer Enhanced Expression Editor Multi-valued Parameters Date Picker Sharepoint Web Parts Floating Headers Custom Report Items XML Data Provider
4
Agenda Definitions What can be upgraded How to upgrade Upgrade Plan Pre-upgrade Upgrade Execution Post-upgrade In-place Upgrade vs. Migration Upgrading Log Shipping Upgrade Tips and Best Practices
5
Definitions 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
6
In-place Upgrade SQL Server 7.0/2000 Instance: Foo SQL Server 2005 Instance: Foo Upgrade
7
Compare and Verify SQL Server 7.0/2000 Instance: Foo SQL Server 2005 Instance: Bar Side-by-side Migration Verified!
8
What can be upgraded or migrated? Versions – SQL Server 7.0 (latest service pack) – SQL Server 2000 (latest service pack) Components – Database Engine – Includes sub-components like SQL Agent, Full-text, Tools, etc. – Analysis Services – Reporting Services – Notification Services – Migration of Data Transformation Services to Integration Services Editions – Desktop, Workgroup, Personal, Standard, Developer, Enterprise Platforms – 32-bit & 64-bit (IA64 and x64) Languages – All SQL Server 7.0 and SQL Server 2000 released languages
9
Upgrade Plan Smooth upgrade requires a good plan Devise an upgrade plan by grouping upgrade tasks into: 1. Pre-upgrade tasks 2. Upgrade execution tasks 3. Post-upgrade tasks – 0 day, 30 day, 90+ day Exercise upgrade plan
10
Pre-upgrade: Prepare Your Environment Study SQL Server 2005 minimum hardware & software requirements Get an inventory of your applications & legacy systems – Releases, Components, SKU’s, Platforms Opt for the same or a compatible edition – Check features in each SQL Server 2005 SKU – Beware of cross-SKU upgrade matrix Record benchmarks – Functional, Performance, Stress Run Upgrade Advisor Examine issues reported by Upgrade Advisor Fix or work around backward compatibility issues
11
Pre-upgrade: Backward Compatibility Some features are discontinued: – They do not appear in SQL Server 2005 – Example: Undocumented system stored procedures, Virtual cube, Virtual dimension… Some are being deprecated: – They won’t be supported in the release following SQL Server 2005 – Example: SQL Mail, Calculated Cell, Cell evaluation list… Some features have a different behavior – Example: Database Engine catalog security Some editions have a different feature set – Example: Express does not have SQL Server Agent Check Books Online for a full list as well as replacements and techniques Run Upgrade Advisor before any migration or upgrade
12
Pre-upgrade: Upgrade Advisor Tool Improves the SQL Server 2005 upgrade experience Avoids surprises during or after upgrade Analyzes SQL Server 2000 and SQL 7.0 instances Analyzes objects on server; script and trace files Performs read-only operation Provides a report for detected issues Presents guidance on when detected issues need to be fixed Describes how to fix or work around issues Has links to documentation for additional content Download from web http://www.microsoft.com/downloads/details.aspx?FamilyID=cf28daf9-182e-4ac2-8e88- f2e936558bf2&DisplayLang=en http://www.microsoft.com/downloads/details.aspx?FamilyID=cf28daf9-182e-4ac2-8e88- f2e936558bf2&DisplayLang=en
13
Pre-upgrade Upgrade Advisor Report Upgrade Post-Upgrade Ready for upgrade Upgrade Advisor
15
Upgrade Execution Choose an in-place upgrade or migration strategy for each component Understand upgrade and migration tools for each component Check databases consistency Back up old instance – Verify backup Monitor upgrade progress via setup log Be prepared to execute your back out plan
16
Pros & Cons of Migration 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
17
Pros & Cons of Upgrade 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
18
Upgrade & Migration Tools Setup is in-place upgrade tool – Database Engine – Analysis Services – Reporting Services Wizards for side-by-side migration – Analysis Services – DTS to Integration Services Specific configuration tools for migration – Reporting Services – Notification Services Upgrade Advisor is upgrade analysis tool for all components
19
Upgrading Database Engine Setup.exe performs the in-place upgrade Several migration techniques for Database Engine: – Detach/Attach – Backup/Restore – Copy Database Wizard, DTS – Manual scripts, BCP
20
Upgrading Analysis Services Choose one of the upgrade techniques 1. Setup.exe for in-place upgrade 2. Migration 3. Migration ++ Install a new instance Import as project Add new SQL Server 2005 features 4. Redesign from scratch
21
Upgrading Reporting Services Reporting Services 2005 supports both upgrade and migration from Reporting Services 2000 Migration tool – Reporting Services Configuration tool Upgrade will work unless server is not configured with default configuration
22
Data Transformation Services DTS Packages will continue to run alongside with SQL Server 2005 Integration Services (SSIS) SSIS is not the next version of DTS – SSIS is first version of a whole new product Packages can be migrated to SSIS via DTS Migration Wizard Migration wizard copies DTS packages and then re-creates them in SSIS – Migration is not perfect – it’s a “Best Effort” migration – Redesign is a better option!
23
Upgrading Replication Publisher Subscriber Distributor Subscriber Distributor can be any version as long as it is greater than or equal to the Publisher version Publisher can be any version as long as it less than or equal to the Distributor version Read-only Subscriber to a transactional publication can be any version within two versions of the Publisher version Updatable Subscriber to a SQL Server 2005 transactional publication can be any version equal to or greater than SQL Server 2000 SP3 Subscriber to a merge publication can be any version less than or equal to the Publisher version Distributor
24
Upgrading Legacy SQL Server Tools SQL Server Agent has a new security model (proxy account) Registered Servers can be upgraded to Management Studio Database Diagram are upgraded into the new SQL Server 2005 format Database maintenance plans can be migrates to new Maintenance Plan packages
25
http://www.microsoft.com/uk/technet
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.