Upgrading to SQL Server 2008 Graeme Scott Technology Solution Professional Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advertisements

Faith Allington Program Manager Microsoft Corporation WSV322.
The System Center Family Microsoft. Mobile Device Manager 2008.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Performance and Scalability. Optimizing PerformanceScaling UpScaling Out.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
SQL Server 2005/8/R2 Instance SQL Server 2014 Instance.
Chris Sfanos Program Manager Forefront Client Security Microsoft Session Code: SW17.
Matt Masson| Senior Program Manager
Visit our Focus Rooms Evaluation of Implementation Proposals by Dynamics AX R&D Solution Architecture & Industry Experts Gain further insights on Dynamics.
Jeremy Boyd Director – Mindscape MSDN Regional Director
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Media Partners.
SQL Server 2008 for Hosting Key Questions to Address How can SQL Server save your costs? How can SQL Server help you increase customer base? How can.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Ravi Sankar Technology Evangelist | Microsoft Corporation
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Upgrading to SQL Server 2012 “Done Right” Dandy Weyn DBI335.
Using The WDK For Windows Logo And Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Time SQL Server 2012 Highlights and ColumnStore Index09:00 – 10:15 AlwaysOn and Contained Databases10:45 – 12:15 PowerPivot and PowerView (BI)13:00 –
Get more control & flexibility of the Windows Azure environment Developers IT Pros Easier migration of existing Windows applications to Windows Azure.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Stephan Hurni Consultant Trivadis AG, SQL Server notes from the field.
Migrating to Windows Azure SQL Database Name Title Microsoft Corporation.
Created by the Community for the Community BizTalk & Build.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
A Day in the Life of a SharePoint Administrator Amit Puri Senior Development Lead Microsoft India.
2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server DAT302.
Microsoft TechForge 2009 SQL Server 2008 Unplugged Microsoft’s Data Platform Vinod Kumar Technology Evangelist – DB and BI
Speaker Name 00/00/2013. Solution Requirements.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
Under New Management Andrew Fryer Microsoft UK Andrew Fryer Microsoft UK.
demo Demo.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
Andrew Fryer Evangelist Microsoft UK
Data Management Conference Performance & Scalability Simon Sabin London September 29th.
Microsoft ® Lync™ Server 2010 Setup and Deployment Module 04 Microsoft Corporation.
Praveen Srivatsa Director| AstrhaSoft Consulting blogs.asthrasoft.com/praveens |
Patrick Ortiz Global SQL Solution Architect Dell Inc. BIN209.
Introducing Application and Multi-Server Management.
Connect with life Tejasvi Kumar Developer Technology Specialist | Microsoft India
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
Consolidating Your Database Infrastructure
Data Platform and Analytics Foundational Training
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
MODULE 10 – PROJECT SERVER
System Center Marketing
System Center Marketing
Deployment Planning Services
What’s New in SQL Server 2016 Master Data Services
Business Connectivity Services in SharePoint 2010 and Office 2010
Installation and database instance essentials
TechEd /13/2018 7:46 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Test Upgrade Name Title Company 9/18/2018 Microsoft SharePoint
Upgrading SQL Server Rob Carrol, Microsoft January 29, 2009.
11/13/2018 3:26 PM MDC317B Complex Maintenance with Configuration Manager and Orchestrator – Patching Clusters Neil Peterson © 2013 Microsoft Corporation.
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
From DTS to SSIS, Redesign or Upgrade
DAT381 Team Development with SQL Server 2005
Microsoft Virtual Academy
Using Power Bi to troubleshoot SQL Server instances
Upgrading Your Private Cloud with Windows Server 2012 R2
Introduction to VSTS Database Professional
Andrew Fryer Microsoft UK
Your Data Any Place, Any Time
Service Template Creation from the Ground Up
Presentation transcript:

Upgrading to SQL Server 2008 Graeme Scott Technology Solution Professional Microsoft Corporation

CONTENT Why Upgrade?Upgrade OptionsUpgrade ToolsUpgrade Planning

WHY UPGRADE? Why Upgrade?Upgrade OptionsUpgrade ToolsUpgrade Planning

Transparent Data Encryption Transparent Data Encryption Extensible Key Management Extensible Key Management Data Auditing Data Auditing Pluggable CPU Pluggable CPU Transparent Failover for Database Mirroring Policy Management Server Group Management Streamlined Installation Enterprise System Management Performance Data Collection System Analysis Data Compression Query Optimization Modes Resource Governor Entity Data Model LINQ Visual Entity Designer Entity Aware Adapters Entity Aware Adapters SQL Server Change Tracking SQL Server Change Tracking Synchronized Programming Model Visual Studio Support FILESTREAM data storage SQL Server Conflict Detection Integrated Full Text Search Sparse Columns Large User Defined Types Date/Time Data Type SPATIAL data types Virtual Earth Integration Partitioned Table Parallelism Query Optimizations Persistent Lookups Change Data Capture Backup Compression MERGE SQL Statement Data Profiling Star Join Enterprise Reporting Engine Internet Report Deployment Block Computations Scale out Analysis BI Platform Management Export to Word and Excel Author reports in Word and Excel Report Builder Enhancements TABLIX Rich Formatted Data Personalized Perspectives … and many more

Transparent Data Encryption Transparent Data Encryption Extensible Key Management Extensible Key Management Data Auditing Data Auditing Pluggable CPU Pluggable CPU Database Mirroring Enhancements Policy Management Single Server Administration Streamlined Installation Enterprise System Management Performance Data Collection System Analysis Data Compression Query Optimization Modes Resource Governor Entity Data Model LINQ Visual Entity Designer Entity Aware Adapters Entity Aware Adapters SQL Server Change Tracking SQL Server Change Tracking Synchronized Programming Model Visual Studio Support FILESTREAM data storage SQL Server Conflict Detection Integrated Full Text Search Sparse Columns Large User Defined Types Date/Time Data Type SPATIAL data types Virtual Earth Integration Partitioned Table Parallelism Query Optimizations Persistent Lookups Change Data Capture Backup Compression MERGE SQL Statement Data Profiling Star Join Enterprise Reporting Engine Internet Report Deployment Block Computations Scale out Analysis BI Platform Management Export to Word and Excel Author reports in Word and Excel Report Builder Enhancements TABLIX Rich Formatted Data Personalized Perspectives … and many more

UPGRADE OPTIONS Why Upgrade?Upgrade OptionsUpgrade ToolsUpgrade Planning

Upgrading from SQL Server – A possible option if ISV applications are not initially supported on SQL 2008 The upgrade delta to SQL 2008 is smaller from SQL 2005 compared to SQL Only 1 upgrade needed Latest capabilities and security with SQL 2008  2 upgrades needed  Major Changes for Dev/DBA  Deprecated Features now removed

Upgrade Paths Components Database Engine Reporting Services Notification Services not in 2008 Analysis Services Data Transformation Services/ Integration Services Editions Workgroup Express Standard Developer Enterprise Platforms 32-bit 64-bit (IA64 and x64)

In Place Upgrade Updates an existing installation while preserving user data Instance name remains the same Automated process Similar to 2000  2005 upgrade

In Place Upgrade Pros Easier, mostly automated Generally fast overall process Requires no additional hardware Applications remain pointing to same server/database name Instance name can remain unchanged Cons Less granular control over upgrade process All databases on the instance are upgraded in one pass Instance remains offline during part of upgrade Not best practice for all components Complex rollback strategy

Side by Side Upgrade Similar to 2000  2005 migrate (side-by- side) Install new instance of SQL Server 2008 Database objects are copied between instances Can be same server (named instance) or different server Mostly Manual process

Side by Side Upgrade Pros More granular control over upgrade process Can be used to perform test migration Ability to run systems side- by-side for testing and verification Relatively straightforward rollback Strategy Can leverage failover/switchover to reduce downtime Cons Usually require additional hardware Server/database name changes Not practical for VLDB unless utilizing SAN

Upgrading Business Intelligence 2000 – – Analysis ServicesDifferent architecture and designer Small refinementsDifferent architecture and designer Reporting Services Issues with custom IIS/ SSRS settings No dependency on IIS Issues with custom IIS/ SSRS settings Data Transformation Services (DTS) Runs natively Integration Services (SSIS) Small refinements DTS to SSISEverything has changed

UPGRADE TOOLS Why Upgrade?Upgrade OptionsUpgrade ToolsUpgrade Planning

Upgrade Advisor Overview Analyzes −Configurations, databases, objects and components on a SQL instance −Trace files (captured using Profiler / SQL Trace) −T-SQL scripts (any script file) Generates Detailed Issue Report: −Before – potential showstoppers, must resolve before upgrading −After – should be resolved after completing upgrade −Anytime, will prevent the upgrade process −Advisory – notices and/or warnings

Upgrade Advisor −Analyzes: − SQL Server 2000/2005 databases −Analysis Services databases −Read-only operation, can be CPU intensive −Supports remote execution −Supports default and named instance −Requires.NET framework 2.0 sp1 or later −Download latest version from web!

DEMO Upgrade Advisor

Running the Upgrade Advisor

Upgrade Advisor has limitations Upgrade Advisor does not detect issues with: −Dynamic SQL −Meta-data driven applications (both during application setup and regular use) −Changes in system objects (stored procedures, functions, tables, etc…) but uses the same name Upgrade Advisor does not have rules for all known issues −or any “yet to be known” issues

Application Compatibility Testing (ACT) Tool developed by the Scalability Experts with the SQL Server product team Two separate tools available for SQL 2005 / 2008 Focuses on workload performance on SQL 2008

ACT Process Capture a profiler trace of a realistic workload from a production / pre-production environment Use the ACT tool to replay the trace in a pre- production environment to form a performance baseline Either side-by-side or on separate machines, use the ACT tool to replay the SQL trace file on a SQL 2008 instance to measure performance

ACT Process View any performance differences in the ACT tool Playback Results Analyzer (PRA) Can also be used to verify performance differences when moving from 32Bit to 64Bit infrastructure.

ACT Output - (PRA)

UPGRADE PLANNING Why Upgrade?Upgrade OptionsUpgrade ToolsUpgrade Planning

Outline Upgrade Plan Identify the SQL components to be upgraded Use the Upgrade Advisor / ACT tools Form an overall upgrade strategy Decide on the upgrade process for SQL Server −in place / side by side Identify post upgrade considerations

Pre Upgrade Preparation Document existing solution Capture performance baseline data Develop criteria and unit / verification tests Optional: capture query plans for complex queries Ensure Clean Environment Backup old instance / database and Verify it! Loop in Windows Administrators, SAN Administrators and Network Operations Optional: Access to Support

Performing the Upgrade Document EVERY step to the last detail and follow the document Monitor upgrade progress −Check upgrade timing and compare to tested timing Check database consistency

Immediate Post Upgrade Tasks Review all logs Change the database compatibility level Change the PAGE_VERIFY option Revisit Upgrade Advisor recommendations Update statistics to ensure performance Reconfigure Log Shipping Re-populate Full-Text catalogs Verify Agent jobs and maintenance tasks Verify security settings, especially cross server and/or cross-domain access privileges

Longer Term Post Upgrade Tasks Re-evaluate statistics Check Optimizer Hints Database Tuning Advisor Leverage New ‘Low Cost’ Features −Backup compression −Transparent Data Encryption Make use of schemas Plan DTS Migration

Summary Upgrades are not rocket science but… The smallest detail missed can break the entire upgrade Use the Upgrade Advisor / Application Compatibility Testing tools A tested rollback plan is essential Don’t jump to conclusions if performance issues are encountered There are lots of resources to help you and your partners/customers

Call to Action SQL Server SQL Server 2005 Upgrade Advisor 7e a677-95ab44f12d75&displaylang=en SQL Server 2008 Upgrade Advisor 4cd9-4e42-a21c-7291e7f0f852&DisplayLang=en Application Compatibility Testing tool DTS Migration Tool

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.