SlideShare a Scribd company logo
“Moves Like Jagger”
                        Upgrading to SQL Server 2012
   Mark Broadbent
Senior SQL Specialist
          SQLCloud
       SQLCLOUD.CO.UK




                                             November 6-9, Seattle, WA
About

Mark Broadbent
“30 billion times more intelligent than a live mattress”

Email: mark.broadbent@sqlcambs.org.uk

Twitter: retracement

Blog: http://tenbulls.co.uk

Event Lead to the UK’s first ever SQLSaturday (Cambridge)
http://www.sqlsaturday.com/events.aspx

Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk


                                                               DBA-308
Agenda

•   Upgrade path
•   Preparing and reporting for upgrade
•   Upgrade strategies
•   Measuring success
•   Advanced scenarios




                                          DBA-308
But first... why upgrade to 2012?

New Features
Move to 64-bit
New Hardware
Mainstream Support
Virtualization
Consolidation




                                    DBA-308
“My Favourite” New Features

Failover Clustering enhancements
•   Local TempDB
•   Multi-subnet clustering
AlwaysOn Availability Groups
Contained Databases
ServerCore support




                                   DBA-308
Mainstream Support

  Product          Mainstream    Extended      Service Pack
                   Support End   Support End   Support End
  Windows 2003     2010-07-13    2015-07-14    2009-04-14
  Windows 2003R2   2010-07-13    2015-07-14    2009-04-14
  Windows 2008     2015-01-13    2020-01-14    2011-07-12
  Windows 2008R2   2015-01-13    2020-01-14    2013-04-09
  SQL 2005         2011-04-12    2016-04-12    2007-07-10
  SQL 2008         2014-07-08    2019-07-09    2010-04-13
  SQL 2008R2       2014-07-08    2019-07-09    2012-07-10



http://support.microsoft.com/lifecycle/#ServicePackSupport


                                                              DBA-308
Supported Upgrade Path




                         Requires staged
                         Upgrade to SQL 2005,
                         SQL 2008 /R2


                                            DBA-308
Edition Hierachy

• Level 1 Bullet (24pt)      Specialized Editions
   Principal Editions
  – Lever 2 Bullet (20pt)   • Web
• Enterprise
• Business Intelligence
• Standard                       Breadth Editions
                               • Developer
New Editions
                               • Express
No Datacenter Edition          • Express LocalDB
No AWE support
No Itanium support
                            • Evaluation

                                               DBA-308
Database Upgrade
  Demo




           November 6-9, Seattle, WA
Preparing and Reporting for Upgrade

Discover candidates for consolidation
Document the candidates for upgrade
Baseline existing candidates
Load test new server
Check new server configuration




                                        DBA-308
Capture…
                                  Collation
Wait Stats          MAXDOP
                                Performance Trace
          Server Shares   Application Load
LPIM
CPU count
                    Statement Execution time
NTFS Cluster Size      SQL Errorlogs         NTFS Security
 Query Plans              RAID Stripe Size    Partition Alignment

      NTFS Cluster Size       Instant File Initialization
                                                               DBA-308
Discovery and Analysis Toolkit

PowerShell Msinfo32.exe WMI TSQL
CPU-Z  Hardware Vendor Tools Performance Monitor

System Center   fsutil
                         YOU   Profiler
                                   SQLStress
MAP Toolkit
               Upgrade Assistant SQLIOSim
Upgrade Advisor Distributed Replay
                                          SQLIO
                                            DBA-308
Upgrade Strategies

In place
•   Risky, and changing source data
•   Backout can be difficult, definite downtime


Side by side
•   Risk to live instance
•   Connectivity considerations


Migrate to new server
•   Less risk, backout easier and upgrade will require less downtime
•   Implement new features and remove deprecated ones




                                                                       DBA-308
Reporting for Upgrade
     Demo




              November 6-9, Seattle, WA
Moving SQL to Server Core

•   How to install or upgrade?
•   Configuration and management
•   Performance Monitoring
•   Restrictions




                                   DBA-308
Moving SQL to AlwaysOn

Availability Groups
•   Should you use a Listener?
•   No MSDTC support –do you need it?
•   No Instance Level object failover


Failover Clustering
•   Shared Storage
•   Validation


Both
•   Windows Failover Cluster requirement
•   Node Weight



                                           DBA-308
Summary

Understand the reason for upgrade before leaping
Always look to consolidation candidates
Ensure you analyse your upgrade targets & destinations
Retain useful historical metrics for future issues
Understand your upgrade path
Implement new capabilities to your advantage
Aim to minimize downtime and maximize availability
Be prepared for failure
This is your neck on the line, be prepared and be careful!
Good luck! 




                                                             DBA-308
PASS Resources




 Free SQL Server and BI training    Free 1-day Training Events       Regional Event




 Local and Virtual User Groups     Free Online Technical Training   This is Community




  Learning Center




                                                                                        DBA-308
Thank you
          for attending this session and
          the 2012 PASS Summit in Seattle




DBA-308                         November 6-9, Seattle, WA

More Related Content

PPTX
SQL Explore 2012 - Tzahi Hakikat and Keren Bartal: Extended Events
PPTX
The roadmap for sql server 2019
PDF
DesignMind SQL Server 2008 Migration
PPTX
SQL Explore 2012: P&T Part 2
PPTX
SQL server 2016 New Features
PDF
Virtual Study Beta Exam 71-663 Exchange 2010 Designing And Deploying Messagin...
PDF
Microsoft SQL Server Distributing Data with R2 Bertucci
PPTX
Everything you need to know about SQL Server 2016
SQL Explore 2012 - Tzahi Hakikat and Keren Bartal: Extended Events
The roadmap for sql server 2019
DesignMind SQL Server 2008 Migration
SQL Explore 2012: P&T Part 2
SQL server 2016 New Features
Virtual Study Beta Exam 71-663 Exchange 2010 Designing And Deploying Messagin...
Microsoft SQL Server Distributing Data with R2 Bertucci
Everything you need to know about SQL Server 2016

What's hot (20)

PDF
SQL Server 2019 CTP 2.5
PDF
SQL Server Modernization
PDF
SQL Server 2019 ctp2.2
PPTX
Manageability Enhancements of SQL Server 2012
PPTX
SQL Server 2017 on Linux Introduction
PDF
SQL Server 2016 Editions
PDF
DBaaS with EDB Postgres on AWS
 
PDF
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
PDF
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
PPTX
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
DOCX
Trainmesfottech - Sql Server DBA Training Course Content
PPTX
Sql Server 2012
PDF
SQL Azure for ITPros
PDF
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
PPTX
SQL Explore 2012: P&T Part 3
PDF
SQL Server 2019 CTP2.4
PPT
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
DOCX
CV-Kumar_TAM
PDF
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
PPTX
Sql 2016 - What's New
SQL Server 2019 CTP 2.5
SQL Server Modernization
SQL Server 2019 ctp2.2
Manageability Enhancements of SQL Server 2012
SQL Server 2017 on Linux Introduction
SQL Server 2016 Editions
DBaaS with EDB Postgres on AWS
 
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
Trainmesfottech - Sql Server DBA Training Course Content
Sql Server 2012
SQL Azure for ITPros
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
SQL Explore 2012: P&T Part 3
SQL Server 2019 CTP2.4
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
CV-Kumar_TAM
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
Sql 2016 - What's New
Ad

Similar to PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012 (20)

PDF
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
PPTX
Sql 2012 Upgrade Readiness Guide
PPTX
SQL Server Upgrade and Consolidation - Methodology and Approach
PPTX
DAC 2012
PPTX
SQLUpgrade_What_do_I_need_to_know_-_SQLSaturday_Manchester.pptx
PDF
SBTUG 28 July 2010 SQL Server 2008 R2
PDF
SQL Server 2008 Migration
PDF
SQL Server 2008 Highlights
PPT
Saying goodbye to SQL Server 2000
PDF
DB2 for z/OS Version 8 Upgrade Planning Paper
PDF
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
PDF
Newsletter December09
PPTX
SQL Explore 2012 - Meir Dudai: DAC
PPTX
70-461 Querying Microsoft SQL Server 2012
PPTX
Microsoft SQL Server - Reduce Your Cost and Improve your Agility Presentation
PDF
Remote DBA Experts SQL Server 2008 New Features
PPTX
Sql dba 2008 r2 online training
PDF
Session 2: SQL Server 2012 with Christian Malbeuf
PDF
Whats New Sql Server 2008 R2
PDF
Whats New Sql Server 2008 R2 Cw
Moves Like Jagger - Upgrading to SQL Server 2012 (SQLBits XI Edition)
Sql 2012 Upgrade Readiness Guide
SQL Server Upgrade and Consolidation - Methodology and Approach
DAC 2012
SQLUpgrade_What_do_I_need_to_know_-_SQLSaturday_Manchester.pptx
SBTUG 28 July 2010 SQL Server 2008 R2
SQL Server 2008 Migration
SQL Server 2008 Highlights
Saying goodbye to SQL Server 2000
DB2 for z/OS Version 8 Upgrade Planning Paper
SQL Server 2012 : réussir la migration - Stéphane Haby - Antonio De Santo - d...
Newsletter December09
SQL Explore 2012 - Meir Dudai: DAC
70-461 Querying Microsoft SQL Server 2012
Microsoft SQL Server - Reduce Your Cost and Improve your Agility Presentation
Remote DBA Experts SQL Server 2008 New Features
Sql dba 2008 r2 online training
Session 2: SQL Server 2012 with Christian Malbeuf
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2 Cw
Ad

More from Mark Broadbent (16)

PDF
Persistence Is Futile - Implementing Delayed Durability
PDF
Lockless in Seattle - Using In-Memory OLTP for Transaction Processing
PDF
Schizophrenic High Availability with SQL and Windows 2016
PDF
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
PDF
lock, block & two smoking barrels
PDF
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
PDF
Being Buck Woody - PASS Summit 2014 Edition
PDF
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
PDF
Ye Olde Cluster Curiosity Shoppe
PDF
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
PDF
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
PDF
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
PDF
READPAST & Furious: Locking
PDF
SQL Server Clustering for Dummies
PDF
Orders of-magnitude-scale-out-your-sql-server-data-slideshare
PDF
Thinking outside the box, learning a little about a lot
Persistence Is Futile - Implementing Delayed Durability
Lockless in Seattle - Using In-Memory OLTP for Transaction Processing
Schizophrenic High Availability with SQL and Windows 2016
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...
lock, block & two smoking barrels
Enter the Dragon - SQL 2014 on Server Core PASS Summit 2014 Edition
Being Buck Woody - PASS Summit 2014 Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Ye Olde Cluster Curiosity Shoppe
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQLSaturday #188 Lisbon - READPAST & Furious: Transactions, Locking and Isola...
READPAST & Furious - Transactions, Locking and Isolation. PASS Summit 2012 Ed...
READPAST & Furious: Locking
SQL Server Clustering for Dummies
Orders of-magnitude-scale-out-your-sql-server-data-slideshare
Thinking outside the box, learning a little about a lot

PASS 2012 "Moves Like Jagger" - Upgrading to SQL Server 2012

  • 1. “Moves Like Jagger” Upgrading to SQL Server 2012 Mark Broadbent Senior SQL Specialist SQLCloud SQLCLOUD.CO.UK November 6-9, Seattle, WA
  • 2. About Mark Broadbent “30 billion times more intelligent than a live mattress” Email: mark.broadbent@sqlcambs.org.uk Twitter: retracement Blog: http://tenbulls.co.uk Event Lead to the UK’s first ever SQLSaturday (Cambridge) http://www.sqlsaturday.com/events.aspx Cambridgeshire PASS Chapter UG Leader http://sqlcambs.org.uk DBA-308
  • 3. Agenda • Upgrade path • Preparing and reporting for upgrade • Upgrade strategies • Measuring success • Advanced scenarios DBA-308
  • 4. But first... why upgrade to 2012? New Features Move to 64-bit New Hardware Mainstream Support Virtualization Consolidation DBA-308
  • 5. “My Favourite” New Features Failover Clustering enhancements • Local TempDB • Multi-subnet clustering AlwaysOn Availability Groups Contained Databases ServerCore support DBA-308
  • 6. Mainstream Support Product Mainstream Extended Service Pack Support End Support End Support End Windows 2003 2010-07-13 2015-07-14 2009-04-14 Windows 2003R2 2010-07-13 2015-07-14 2009-04-14 Windows 2008 2015-01-13 2020-01-14 2011-07-12 Windows 2008R2 2015-01-13 2020-01-14 2013-04-09 SQL 2005 2011-04-12 2016-04-12 2007-07-10 SQL 2008 2014-07-08 2019-07-09 2010-04-13 SQL 2008R2 2014-07-08 2019-07-09 2012-07-10 http://support.microsoft.com/lifecycle/#ServicePackSupport DBA-308
  • 7. Supported Upgrade Path Requires staged Upgrade to SQL 2005, SQL 2008 /R2 DBA-308
  • 8. Edition Hierachy • Level 1 Bullet (24pt) Specialized Editions Principal Editions – Lever 2 Bullet (20pt) • Web • Enterprise • Business Intelligence • Standard Breadth Editions • Developer New Editions • Express No Datacenter Edition • Express LocalDB No AWE support No Itanium support • Evaluation DBA-308
  • 9. Database Upgrade Demo November 6-9, Seattle, WA
  • 10. Preparing and Reporting for Upgrade Discover candidates for consolidation Document the candidates for upgrade Baseline existing candidates Load test new server Check new server configuration DBA-308
  • 11. Capture… Collation Wait Stats MAXDOP Performance Trace Server Shares Application Load LPIM CPU count Statement Execution time NTFS Cluster Size SQL Errorlogs NTFS Security Query Plans RAID Stripe Size Partition Alignment NTFS Cluster Size Instant File Initialization DBA-308
  • 12. Discovery and Analysis Toolkit PowerShell Msinfo32.exe WMI TSQL CPU-Z Hardware Vendor Tools Performance Monitor System Center fsutil YOU Profiler SQLStress MAP Toolkit Upgrade Assistant SQLIOSim Upgrade Advisor Distributed Replay SQLIO DBA-308
  • 13. Upgrade Strategies In place • Risky, and changing source data • Backout can be difficult, definite downtime Side by side • Risk to live instance • Connectivity considerations Migrate to new server • Less risk, backout easier and upgrade will require less downtime • Implement new features and remove deprecated ones DBA-308
  • 14. Reporting for Upgrade Demo November 6-9, Seattle, WA
  • 15. Moving SQL to Server Core • How to install or upgrade? • Configuration and management • Performance Monitoring • Restrictions DBA-308
  • 16. Moving SQL to AlwaysOn Availability Groups • Should you use a Listener? • No MSDTC support –do you need it? • No Instance Level object failover Failover Clustering • Shared Storage • Validation Both • Windows Failover Cluster requirement • Node Weight DBA-308
  • 17. Summary Understand the reason for upgrade before leaping Always look to consolidation candidates Ensure you analyse your upgrade targets & destinations Retain useful historical metrics for future issues Understand your upgrade path Implement new capabilities to your advantage Aim to minimize downtime and maximize availability Be prepared for failure This is your neck on the line, be prepared and be careful! Good luck!  DBA-308
  • 18. PASS Resources Free SQL Server and BI training Free 1-day Training Events Regional Event Local and Virtual User Groups Free Online Technical Training This is Community Learning Center DBA-308
  • 19. Thank you for attending this session and the 2012 PASS Summit in Seattle DBA-308 November 6-9, Seattle, WA