Presentation is loading. Please wait.

Presentation is loading. Please wait.

Why you should be thinking hybrid with SQL Server 2016

Similar presentations


Presentation on theme: "Why you should be thinking hybrid with SQL Server 2016"— Presentation transcript:

1

2 Why you should be thinking hybrid with SQL Server 2016
Scott Klein M324

3 A little about Scott… www.scottLklein.com scottkl@microsoft.com
1/12/2019 6:12 PM A little about Scott… @sqlscott © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 The Evolution of Microsoft Data Platform
Modern DB platform Mission Critical Performance & Productivity Self-Service BI Cloud-Ready Mission Critical & Cloud Performance Mission Critical & Hyperscale Cloud XML ● KPIs SQL Server 2000 Management Studio ● Mirroring SQL Server 2005 Compression ● Policy-Based Mgmt ● Programmability SQL Server 2008 PowerPivot ● SharePoint Integration ● Master Data Services SQL Server 2008 R2 AlwaysOn ● ColumnStore Index ● Data Quality Services ● Power View ● Cloud Connectivity SQL Server 2012 In-Memory Across Workloads ● Performance & Scale ● Hybrid Cloud Optimized ● HDInsight ● Cloud BI SQL Server 2014 SQL Server 2016 Operational Analytics ● StretchDB ● PolyBase ● R Integration ● Temporal ● Query Data Store ● RLS ● Always Encrypted

5 SQL Server 2014 and the Data Platform
Server & Tools Business 1/12/2019 SQL Server 2014 and the Data Platform Mission Critical Deeper Insights Hyperscale Cloud © 2012 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.

6 SQL Server 2014 and the Data Platform
Server & Tools Business 1/12/2019 SQL Server 2014 and the Data Platform Mission Critical Deeper Insights Hyperscale Cloud © 2012 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.

7 Agenda StretchDB PolyBase Disaster Recovery Data Files in the cloud
Backup to Cloud

8 Objectives What How Why Definition And Details
Creation and Configuration Why Scenarios and Application

9 Stretchdb

10 Server & Tools Business
1/12/2019 Stretch SQL Server into Azure Stretch warm and cold tables to Azure with remote query processing Capability Stretch cold database tables from on-premises SQL Server Databases to Azure with remote query processing Benefits Cost effective historical data Entire table is online and remains queryable from on-premises apps Transparent to applications Supports Always Encrypted & Row Level Security Microsoft Azure Jim Gray ox7ff654ae6d 3/18/2005 Order history Name SSN Date Jane Doe cm61ba906fd 2/28/2005 Jim Gray ox7ff654ae6d 3/18/2005 John Smith i2y36cg776rg 4/10/2005 Bill Brown nx290pldo90l 4/27/2005 Sue Daniels ypo85ba616rj 5/12/2005 Sarah Jones bns51ra806fd 5/22/2005 Jake Marks mci12hh906fj 6/07/2005 Eric Mears utb76b916gi 6/18/2014 Rachel Hogan px61hi9306fj 7/1/2014 Sam Johnson ol43bi506gd 7/12/2014 David Simon tx83hal916fi 7/29/2014 Michelle Burns nb95re926gi 8/10/2014 Reed Dean vc61ira536fe 8/23/2014 Order history Name SSN Date Jane Doe cm61ba906fd 2/28/2005 Jim Gray ox7ff654ae6d 3/18/2005 John Smith i2y36cg776rg 4/10/2005 Bill Brown nx290pldo90l 4/27/2005 Customer data Product data Order History Stretch to cloud Query SQL Server App © 2012 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.

11 StretchDB

12 PolyBase

13 PolyBase What - Big Picture RDBMS Hadoop
1/12/2019 6:12 PM What - Big Picture RDBMS Hadoop PolyBase Provides a scalable, T-SQL compatible query processing framework for combining data from both worlds © 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.

14 PolyBase in SQL Server 16 Query Results SQL Server Azure Blob Storage
Hadoop Azure Blob Storage

15 PolyBase

16 Why - PolyBase allows… Ad-hoc queries on Hadoop data
Import data from Hadoop/Azure Storage to SQL Server for persistent storage Export data from SQL Server to Hadoop/Azure Storage for cold but queryable storage Seamless BI integration Push-down computation to Hadoop

17 Disaster recovery

18 What? Windows Azure On Premise TechReady 16 1/12/2019
© 2013 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.

19 What? Replicas continuously synchronize Political considerations
TechReady 16 1/12/2019 What? Deploy one or more secondary replicas for on-premise SQL Server Replicas continuously synchronize At best region: West US, East US, East Asia, Southeast Asia, North Europe, West Europe Political considerations Latency Low TCO VM and storage © 2013 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.

20 What? Technologies Supported Technology SQL Server Version
Zero Data Loss Scope # Secondaries Automatic Failover Readable Secondaries Availability Groups SQL Server 2012 SQL Server 2014 SQL Server 2016 Yes* (Sync Mode) DB(s) 4 Yes (w/ additional cluster member)** Database Mirroring SQL Server 2008 R2 (High Safety Mode) DB 1 (w/ Witness)** Limited (database snapshots) Log Shipping No N (standby state) * Most customers use Async Mode (High Performance) to avoid impacting primary performance **Async Mode only supports Force Failover to make DR (and potential data loss) a conscious decision

21 How? Requires a VPN device today Availability Groups
TechReady 16 1/12/2019 How? Configure VPN tunnel Virtual Network from on-premise to Azure Requires a VPN device today Configure SQL Server technology as on-premise Availability Groups Add VM to on-premise Windows domain and Windows Cluster Tutorial: Database Mirroring Tutorial: Log Shipping Tutorial: © 2013 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.

22 Example of Availability Group spanning On-premise and Azure
redmond.corp.microsoft.com Availability Group S1 uswest.internal.cloudapp.net CSNB TA VPN Device Virtual Network AD / DNS P VPN tunnel CSNB TA S2 Windows Cluster VPN Gateway On Prem AGHybrid2 Windows Azure

23

24 Disaster Recovery

25 Why? Temporarily (e.g. gateway failure) Permanently (e.g. flooding)
TechReady 16 1/12/2019 Why? An event can cause on-prem SQL Server to become unavailable Temporarily (e.g. gateway failure) Permanently (e.g. flooding) A disaster recovery site is expensive Site rent + maintenance Hardware Ops © 2013 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.

26 Why? Integrated HA/DR Offload Read workloads to Azure
Provide additional benefits: Integrated HA/DR Offload Read workloads to Azure Connect reporting/BI apps Migrate apps and run against local secondaries Offload Backups to Azure A solution for policy compliance Remember it requires: Same Windows Domain Needs an Active Directory Domain Controller

27 Backup to cloud

28 What Windows Azure Storage Windows Azure VM On-premise box

29 What Backup and restore times are proportional to bandwidth
Backup times fairly constant up to 1000ms latency Restore times proportional to latency Example Backup Size is: (131.8MB)

30 How Requirements: Create using: Storage Account CREDENTIAL (SQL) T-SQL
SMO Powershell

31 How $url = "https://[storage].blob.core.windows.net/backups/db.bak"
CREATE CREDENTIAL mystoragecred WITH IDENTITY = ‘mystorage', SECRET = ‘<your storage access key>    BACKUP DATABASE mydb TO URL =' WITH CREDENTIAL = ‘mystoragecred', FORMAT, COMPRESSION, STATS = 5, MEDIANAME = ‘mydb backup ', MEDIADESCRIPTION = 'Backup of mydb' using Microsoft.SqlServer.Management.Smo; Backup mybackup = new Backup(); mybackup.CredentialName = strCredential; mybackup.Database = strDatabase; mybackup.CompressionOption = BackupCompressionOptions.On; mybackup.Devices.AddDevice(desturl, DeviceType.Url); mybackup.SqlBackup(myLocalServer); $url = " $credential = "mycredential" $server = "SQLSERVER:\SQL\[computer]\DEFAULT" CD $server Backup-SqlDatabase -Database AdventureWorks2012 -backupFile $url -SqlCredential $credential -CompressionOption On

32 Backup to Cloud

33 Why Near “bottomless” storage Off-site, geo-redundant No provisioning
No device management Media Safety (decay free) Remote accessibility

34 Data files in cloud

35 What Windows Azure Storage
Windows Azure VM Native support for SQL Server database files stored as Windows Azure blobs. Windows Azure Storage DB1 DB2 DB3 On-premise box DB3 DB4 DB5 DB6 DB6

36 What Windows Azure Storage sp_attach_db
Migrate Database to another machine Basic Disaster Recovery Separation of Compute and Storage For Azure VM, expand drive and size of Xdrive Better together: IaaS VM per minute billing Node1 Windows Azure Storage DB1 Node2 sp_attach_db DB1 DB1

37 How Additional considerations:
Can be combined with Delayed Durability to reduce latencies ALTER DATABASE … SET DELAYED_DURABILITY = { DISABLED | ALLOWED | FORCED } Good candidate for use with Columnstore Indexes CREATE CLUSTERED COLUMNSTORE INDEX index_name … CREATE CREDENTIAL [ WITH IDENTITY = ‘Shared Access Signature', SECRET = ‘<your SAS key>    CREATE DATABASE mydb ON ( NAME = mydb_dat, FILENAME = ' ) LOG ON ( NAME = foo_log, FILENAME = '

38 Data Files in Cloud

39 Why Near “bottomless” storage Off-site, geo-redundant No provisioning
No device management Media Safety (decay free) Remote accessibility

40 Why Additional considerations:
Can be combined with Delayed Durability to reduce latencies ALTER DATABASE … SET DELAYED_DURABILITY = { DISABLED | ALLOWED | FORCED } Good candidate for use with Columnstore Indexes CREATE CLUSTERED COLUMNSTORE INDEX index_name …

41 Related Ignite NZ Sessions
Required Slide *delete this box once you have listed content that is related to your session. Speakers, please list the other Breakout Sessions that relate to your session. Also indicate where and when they can find you, to continue the discussion. If you’re going to be at Hub Happy Hour ( pm Wed and Thu, let them know) Related Ignite NZ Sessions 1 5 Azure Consistent Service Delivery Overview NZ1 Wed 10:00am Security and Assurance Overview NZ4 Fri 9:00am 6 What’s New in System Centre for Management NZ1 Fri 11:00am 2 Server Virtualisation Overview NZ2 Wed 1:30pm 3 Networking Overview SKYCITY Theatre Thu 11:00am Find me later at… Hub Happy Hour Wed 5:30-6:30pm Hub Happy Hour Thu 5:30-6:30pm Closing drinks Fri 3:00-4:30pm 4 Storage Overview SKYCITY Theatre Thu 3:30pm

42 Resources Microsoft Virtual Academy TechNet & MSDN Flash
1/12/2019 Microsoft Virtual Academy Resources TechNet & MSDN Flash Free Online Learning Subscribe to our fortnightly newsletter Sessions on Demand © 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.

43 Complete your session evaluation now and be in to win!
1/12/2019 6:12 PM Complete your session evaluation now and be in to win! © 2013 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.

44 1/12/2019 6:12 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Why you should be thinking hybrid with SQL Server 2016"

Similar presentations


Ads by Google