[ppt]sql workloads on azurevideo.ch9.ms/sessions/azure/iaas-for-it-pros/day4-mod3... · web viewvms...

Post on 27-May-2018

218 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Nosheen Syed, Group Program ManagerLuis Vargas, Senior Program Manager

SQL Server

SQL Workloads on Azure

SQL Server Cloud Continuum

Low Control | Low Maintenance

Shar

edLo

wer c

ost

Dedi

cate

dHi

gher

cos

t

High Control | High Maintenance

Hybrid

Physical

Virtual

PaaSSaaS

IaaS

On premises

Off premisesSQL ServerPhysical Machines

SQL Server Private CloudVirtualized Machines

SQL Server in Azure VMVirtualized Machines

Virtualized DatabasesAzure SQL Database

Cloud

SQL Server in Azure VM and Azure SQL DatabaseSQL Server in Azure VMYou access a VM with SQL Server

You manage SQL Server and Windows: High Availability, Backups, Patching

You can run any SQL Server version and edition

Full on-premise compatibility

Different VM sizes: A0 (1 core, 1GB mem, 1TB) to A16 (16 cores, 112GB mem, 16TB), D-Series (with SSDs)

VM availability SLA: 99.95%: Can achieve higher availability (~99.99%) configuring AlwaysOn

Reuse on-premise infrastructure (e.g. Active Directory)

Azure SQL DatabaseYou access a DB

DB is fully managed: High Availability, Backups, Patching

Runs latest SQL Server version, based on Enterprise edition

Incomplete on-premise compatibility (e.g. no jobs, linked servers, FileStream)

Different DB sizes: Basic (2GB, 5tps) to Premium (500GB, 735tps)

DB availability SLA: 99.99%

- Build new apps- Tens to hundreds of DBs

- Migrate existing apps- A few SQL Servers

VMs hosted on Microsoft Azure Infrastructure (“IaaS”)• From Microsoft images or your own images• Fast provisioning (~10 minutes)• Accessible via RDP and Powershell

Pay per use• Per minute (only when running)• Cost depends on size and licensing• Large discounts for MSDN subscribers!• You can use your existing SQL licenses

• Network: only outgoing (not incoming)• Storage: only used (not allocated)

Elasticity• 1 core / 2GB mem / 1TB 16 cores / 112 GB mem / 16TB

Microsoft Azure VMs

Microsoft Azure VMs - Storage Every VM disk is a BLOB in Azure Storage

3 sync local copies• No data loss• Highly available (transparent to VM)

3 more async remote copies (if geo-replication enabled)

• For disaster recovery (manually managed by Microsoft)

Microsoft Azure VMs - Availability SLA: No data loss• If VM becomes unavailable, restart in another host

SLA: 1 of 2 VMs in Availability Set:• 99.95% (<22 min downtime p/month)• Includes• Planned downtime due to (monthly) host OS servicing• Unplanned downtime due to physical failures

• Doesn’t include servicing of guest OS or software inside (e.g. SQL)

Microsoft Azure VMs - Connectivity Over the Internet• Public endpoints

Over a site-to-site tunnel• Secure tunnel• Extend on-premise network to Azure• Can join Azure VMs to on-premise domain

• VPN Device / Windows Server RRAS

SQL Server in Azure VMs Many SQL versions supported

• SQL 2014 (Enterprise / Standard / Web)• SQL 2012 (Enterprise / Standard / Web)• SQL 2008 R2 (Enterprise / Standard / Web)

Optimized images• Transactional Processing or Data Warehousing• Implement multiple optimizations (e.g. storage pools with multiple disks, best stripe sizes, disk

caching, SQL traceflags)

• (Almost) 100% compatibility• SQL Failover Clusters coming soon..

NEW

DemoProvision an optimized SQL Server VM

SQL Server in Azure VMs - Scenarios• Lift & Shift

• Easily move an existing app to Azure infrastructure• Without changes (multiple versions of SQL and Windows available)• As needed (multiple VM sizes, pay per use)

Dev/Test• Build and test new apps using the latest versions of SQL Server and Windows

• Hybrid• Integrate SQL Server on Azure with your existing infrastructure or apps• Active Directory (Windows Authentication / IT policies)

• Use SQL Server(s) in Azure VMs as replicas of on-premise SQL Servers• Disaster Recovery• Read workloads / backups

SQL Server in Azure VMs - Deployment

Use a Gallery image• Includes everything you need• Engine• Reporting Services• Analysis Services• Integration Services• Management Studio

• Refreshed monthly with latest fixes

Bring your Own Image• Create a VHD (sysprep)• Upload to your Azure Storage account• Provision VM from VHD

SQL Server in Azure VMs - MigrationUse the Deployment Wizard (SQL Server 2014 Management Studio)

Can be used on previous SQL Server versions

Migrates a DB from on-premise to an existing/new Azure VM1. Backup DB to a network share2. Copy backup to Azure Storage3. Provision new VM or select existing VM4. Restore DB on VM

DemoMigrate a database from on-premise to an Azure VM

SQL Server in Azure VMs – Business Continuity SQL Server High Availability

• Configure an AlwaysOn Availability Group between VMs in the same region• Automatic failover on SQL/VM issues (~10 seconds)• Easily configurable using AlwaysOn Portal TemplateNEW

Microsoft Azure

S PP S

VM VM

VM

Witness

DemoConfiguring an AlwaysOn Availability Group using Portal Template

SQL Server in Azure VMs – Business Continuity• SQL Server Disaster Recovery

• Configure an AlwaysOn Availability Group between VMs in different regions• Manual Failover (~15 seconds). Test it at any time!• Using Internal Endpoints NEW

SQL Server in Azure VMs – Performance• SSD support for TempDB and Buffer Pool Extensions

• D-Series VMs come with SSDs (up to 800GB)• SSDs provide high throughput (~32,000 IOPs) at low latency (<1ms)

• Improve performance of SQL workloads • That use TempDB heavily (e.g. queries handling large recordsets, index rebuilds, temp tables, row versioning isolation

levels, ..) • That don’t fit in memory

NEW

USE MASTERGOALTER DATABASE tempdb MODIFY FILE (NAME= tempdev, FILENAME= 'D:\tempdb.mdf') GOALTER DATABASE tempdb MODIFY FILE (name = templog, filename = 'D:\templog.ldf') GO

ALTER SERVER CONFIGURATION SET BUFFER POOL EXTENSION ON( FILENAME = 'D:\ExtensionFile.BPE' , SIZE = <size> [ KB | MB | GB ] )

Learn how customers use SQL Server in Acure VMs

GE Healthcarehttps://customers.microsoft.com/Pages/CustomerStory.aspx?recid=12166

Blinkbox:http://www.microsoft.com/casestudies/Microsoft-Azure/blinkbox/Movie-Streaming-Business-Uses-Cloud-Service-to-Save-Millions-of-Dollars-Scale-Quickly/710000004206                                                           

Toyotahttp://www.microsoft.com/casestudies/Microsoft-SharePoint-Server-2013/Toyota/Toyota-Redesigns-Web-Portal-Using-Scalable-Cloud-and-Content-Management-Solutions/710000002833                                                                                                                Registro Único de Vivienda: https://customers.microsoft.com/Pages/CustomerStory.aspx?recid=8096                                                                             

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows 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.

top related