SQL Server 2014 Upgrade

Similar documents
Designing Database Solutions for Microsoft SQL Server (465)

5/24/ MVP SQL Server: Architecture since 2010 MCT since 2001 Consultant and trainer since 1992

Lenovo Database Configuration

Modernizing Servers and Software

Field Testing Buffer Pool Extension and In-Memory OLTP Features in SQL Server 2014

SQL Server 2012 virtually out, Microsoft talks features, licensing

Functional Testing of SQL Server on Kaminario K2 Storage

Storage Optimization with Oracle Database 11g

Installing SQL Server Developer Last updated 8/28/2010

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

Microsoft SQL Server HA and DR with DVX

Are AGs A Good Fit For Your Database? Doug Purnell

Azure Webinar. Resilient Solutions March Sander van den Hoven Principal Technical Evangelist Microsoft

Avoiding the Cost of Confusion: SQL Server Failover Cluster Instances versus Basic Availability Group on Standard Edition

Infrastructure Provisioning with System Center Virtual Machine Manager

NVMe SSDs A New Benchmark for OLTP Performance

NE Infrastructure Provisioning with System Center Virtual Machine Manager

70-414: Implementing an Advanced Server Infrastructure Course 01 - Creating the Virtualization Infrastructure

Lenovo Database Configuration

Microsoft Azure Windows Server Microsoft System Center

SQL Server In-Memory Across Workloads Performance & Scale Hybrid Cloud Optimized HDInsight Cloud BI

2788 : Designing High Availability Database Solutions Using Microsoft SQL Server 2005

Welcome to the. Migrating SQL Server Databases to Azure

20465: Designing a Data Solution with Microsoft SQL Server

Pointnext. Services for Database Modernization Destination: Easy on-ramp to hybrid cloud with SQL. Kevin Lange HPE Master Database Architect HPES02

The Freedom to Choose

THE SUMMARY. CLUSTER SERIES - pg. 3. ULTRA SERIES - pg. 5. EXTREME SERIES - pg. 9

FOUR WAYS TO LOWER THE COST OF REPLICATION

Deploy Microsoft SQL Server 2014 on a Cisco Application Centric Infrastructure Policy Framework

How Microsoft Built MySQL, PostgreSQL and MariaDB for the Cloud. Santa Clara, California April 23th 25th, 2018

High Availability Without the Cluster (or the SAN) Josh Sekel IT Manager, Faculty of Business Brock University

Martin Cairney. Hybrid data platform making the most of Azure plus your onprem

INFRASTRUCTURE BEST PRACTICES FOR PERFORMANCE

Configuring and Deploying a Private Cloud DURATION: Days

davidklee.net heraflux.com linkedin.com/in/davidaklee

Implementing Microsoft Azure Infrastructure Solutions

Lenovo Database Configuration Guide

Lenovo Database Configuration for Microsoft SQL Server TB

Designing Database Solutions for Microsoft SQL Server 2012

EMC Business Continuity for Microsoft Applications

Microsoft SQL AlwaysOn and High Availability

Microsoft Design and Implement Cloud Data Platform Solutions. Download Full version :

Migrating a critical high-performance platform to Azure with zero downtime

IBM FlashSystem. IBM FLiP Tool Wie viel schneller kann Ihr IBM i Power Server mit IBM FlashSystem 900 / V9000 Storage sein?

20533B: Implementing Microsoft Azure Infrastructure Solutions

EsgynDB Enterprise 2.0 Platform Reference Architecture

Developing Microsoft Azure Solutions (70-532) Syllabus

Copyright 2012 EMC Corporation. All rights reserved.

Implementation of Microsoft SQL Server using AlwaysOn for High Availability and Disaster Recovery without Shared Storage

Veeam Availability Solution for Cisco UCS: Designed for Virtualized Environments. Solution Overview Cisco Public

MyCloud Computing Business computing in the cloud, ready to go in minutes

Exam : Implementing a Cloud Based Infrastructure

Developing Microsoft Azure Solutions (70-532) Syllabus

Microsoft Azure StorSimple Hybrid Cloud Storage. Manu Aery, Raju S

Copyright 2012 EMC Corporation. All rights reserved.

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led

Benefits of Automatic Data Tiering in OLTP Database Environments with Dell EqualLogic Hybrid Arrays

Developing Microsoft Azure Solutions (70-532) Syllabus

Symantec Backup Exec Blueprints

Provisioning SQL Databases

PERFORMING MICROSOFT SQL ALWAYSON AVAILABILITY GROUP BACKUPS ON AMAZON WEB SERVER AND MICROSOFT AZURE WITH DELL EMC AVAMAR

Pivot3 Acuity with Microsoft SQL Server Reference Architecture

6/4/2018 Request for Proposal. Upgrade and Consolidation Storage Backup Network Shares Virtual Infrastructure Disaster Recovery

IBM System Storage Reference Architecture featuring IBM FlashSystem for SAP landscapes, incl. SAP HANA

Designing Database Solutions for Microsoft SQL Server 2012

Backup and archiving need not to create headaches new pain relievers are around

SQL Server SQL Server 2008 and 2008 R2. SQL Server SQL Server 2014 Currently supporting all versions July 9, 2019 July 9, 2024

Ivane Javakhishvili Tbilisi State University High Energy Physics Institute HEPI TSU

Design and implement cloud data platform solutions.

SQL Server DBA Course Content

<Insert Picture Here> Introducing Oracle WebLogic Server on Oracle Database Appliance

Data Protection for Cisco HyperFlex with Veeam Availability Suite. Solution Overview Cisco Public

Designing Database Solutions for Microsoft SQL Server 2012

Hyper-Convergence De-mystified. Francis O Haire Group Technology Director

Next-Generation Cloud Platform

Assessing performance in HP LeftHand SANs

Sql Server 2016 High Availability Unleashed Includes Content Update Program

Infrastructure Tuning

SEMINAR. Achieve 100% Backup Success! Achieve 100% Backup Success! Today s Goals. Today s Goals

Connect and Transform Your Digital Business with IBM

Verron Martina vspecialist. Copyright 2012 EMC Corporation. All rights reserved.

Course AZ-100T01-A: Manage Subscriptions and Resources

Windows Servers In Microsoft Azure

Microsoft. Designing Database Solutions for Microsoft SQL Server 2012

Updating Your Skills to SQL Server 2016

Dell DR4000 Replication Overview

FIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION

Microsoft SQL AlwaysOn and High Availability

AlwaysOn Availability Groups: Backups, Restores, and CHECKDB

HIGH PERFORMANCE SANLESS CLUSTERING THE POWER OF FUSION-IO THE PROTECTION OF SIOS

Construct a High Efficiency VM Disaster Recovery Solution. Best choice for protecting virtual environments

COURSE 10977A: UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014

Sql Server 2000 Manually Run Maintenance Plan

Microsoft SQL Server

Deploying enterprise applications on Dell Hybrid Cloud System for Microsoft Cloud Platform System Standard

EMC Backup and Recovery for Microsoft Exchange 2007

DO NOT USE Microsoft Designing Database Solutions for Microsoft SQL Server

[MS20533]: Implementing Microsoft Azure Infrastructure Solutions

Exchange 2010 Transaction Logs Not Truncated After Full Backup

SQL Server 2014 Performance Tuning and Optimization

Transcription:

SQL Server 2014 Upgrade Case study featuring In-Memory OLTP and Hybrid-Cloud Scenarios Evgeny Ternovsky, Program Manager II, Data Platform Group Bill Kan, Service Engineer II, Data Platform Group

Background

SQL Server 2014 Feature Overview 3

Databases in Question Support the automated test system that is used within DPG at Microsoft Mission-critical Accessed mostly through automation, with limited manual reporting queries Originally built 10+ years ago with limited further engineering investment 4

Database

Architecture Problem Hardware is non-uniform specification and approaching end of warranty Need to upgrade to Windows Server 2012 R2 to allow for infrastructure standardization Performance bottlenecks expected given projected workload growth rate R2 Close to zero tolerance for Solution Perform a cross-cluster migration to new hardware, OS, and SQL Server version Results Migration completed with only 3 minutes of Primary Primary

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Primary Node 2 Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Primary Node 2 Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Primary Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Primary Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2008R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Primary Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2008R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Primary Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2008R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Primary Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2008R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 WSFC2008R2 R2 WSFC2012R2 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Node 3 Node 4 Primary Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the

Cross-Cluster Migration Procedure Procedure WSFC2008R2 R2 WSFC2012R2 Upgrade secondary SQL 2012 nodes to SQL 2014 Fail over to one of the 2014 nodes Upgrade the old primary to SQL 2014 Switch nodes 4, 5, and 6 to use remote WSFC 2008 R2 Add nodes 4, 5, and 6 to the AG: this is the data synchronization stage Node 1 Node 2 Node 3 Node 4 Primary Node 5 Node 6 Delete the AG listener: this is the start of the Set AG offline AlwaysOn Availability Group - AG Switch nodes 4, 5, and 6 to use the local WSFC 2012 R2 Create new AG, AG Create new AG listener, DB: this is the end of the AG Listener DB

Learnings and Recommendations Prepare Read the documentation. Then, read it again! Create a deployment walkthrough for your scenario Use scripts where possible to minimize manual errors Assess your infrastructure and features being used. Some examples of this include: Compatibility level (incl. new cardinality estimator in SQL Server 2014) Scheduled backup jobs DBCC update usage Transactional replication Migration Stick to your plan Have rollback plans ready for various points in the deployments in case something goes wrong

EventDB Database

Background Problem High load: data collected for 8,100 client machines on availability, exceptions, and service telemetry A load over 3,800 transactions/sec would cause backups due to latching, resulting in data gaps Backup is short-term local, long-term tape offsite, requiring costly management, facilities, & hardware Solution Implement In-Memory OLTP to address performance gaps Implement Managed Backup to make backup a minimal-touch operation Results 6x gains on input rate: can now handle 23,500 transactions/second Daily report execution times reduced by 30-80% No interaction with backup system required since introduction of Managed Backup

Hardware Architecture 4x Intel Xeon E7540 128 GB 4x Intel Xeon E5-4610 0 512 GB OS: 280GB RAID-1 SAS HDD MDF/LDF: 2.3TB Attached SAN OS: 280GB RAID-1 SAS HDD LDF: 750GB RAID-10 SATA SSD MDF: 1.8TB Attached SAN R2 Primary Primary

Service Architecture Standard T-SQL stored procedure Disk-based tables Standard T-SQL stored procedure Natively-compiled stored procedure In-Memory tables SQL Agent job Disk-based tables

Demo Managed Backup 23

Learnings and Recommendations Understand your workload and bottlenecks Use the management warehouse together with the Memory Optimization Advisor and Native Compilation Advisor tools to decide where the biggest benefits will be gained Perform workload replays Establish your baseline Understand your application Not all scenarios can take advantage of In-Memory OLTP Understand In-Memory OLTP implementation considerations Define your architectural pattern and implementation Perform targeted migration Perform targeted and staged migrations: first tables, then T-SQL code. Repeat Once the initial batch of bottlenecks is addressed, iterate on the process until metrics are acceptable.

SQLCommon Database

Background Problem The data in the DB is the value proposition: losing it is simply unacceptable Fast recovery from a disaster scenario is expected by the customers: time to recovery from off-site backups is unacceptable Solution Use the SQL Data Files in Windows Azure Storage feature to create a fast disaster recovery option

Final Architecture Private Cloud Primary (RO intent) Log and Data Files

Demo SQL Data Files in Windows Azure Storage 28

Learnings and Recommendations Prepare for deployment A lot of steps can be completed prior to deployment day. Take advantage of this! For instance, storage containers should be created through the Azure Portal prior to deployment Create one container per database for isolation Think about security Moving to the cloud generates keys, certificates, and other collateral that should be securely stored Determine an ongoing security protocol such as rotating keys and passwords Harness the Cloud Find the right balance of private cloud and Windows Azure architecture that works for your scenario.

Conclusion SQL Server 2014 A huge amount of opportunities are opened with this release. Performance, disaster recovery, and simplified backup are just some of the options demoed today. Planning With sufficient planning and the right approach, minimal or no is possible for both upgrade to SQL Server 2014 and deployment of product features. Migration Automate your migrations as much as possible, have rollback processes, and use a staged approach. 30

Useful Links TechEd 2014 presentation Cross-Cluster Migration whitepaper and scripts In-Memory OLTP: common workload patterns and migration considerations MSDN: In-Memory OLTP Managed Backup SQL Data Files in Windows Azure Storage

Questions?

Thank You for Attending