Download presentation
Presentation is loading. Please wait.
Published byMorgan Gilmore Modified over 6 years ago
1
Microsoft Ignite NZ 25-28 October 2016 SKYCITY, Auckland
2
Mission Critical Hybrid scenarios with SQL Server 2016
Microsoft Ignite 2016 11/19/2018 4:09 PM Mission Critical Hybrid scenarios with SQL Server 2016 M232 Lonnye Bower © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
11/19/2018 4:09 PM What we’ll cover today What’s New for SQL Server 2016 Mission Critical? AlwaysOn Enhancements Stretch Database Backups to Azure SQL Server Data Files in Azure © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
SQL Server 2016 Hybrid Mission Critical Deployments
11/19/2018 4:09 PM SQL Server Hybrid Mission Critical Deployments © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Hybrid Mission Critical Deployments
11/19/2018 4:09 PM Hybrid Mission Critical Deployments No Domain? No problem! Workgroup clusters are supported. Need more than one automatic failover replica? Have 3! We’ve also increased the number of replicas to 8. Need a replica in Azure (IaaS)? SQL Server 2016 supports an Azure VM replica! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
AlwaysOn Enhancements
11/19/2018 4:09 PM AlwaysOn Enhancements © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
AlwaysOn Enhancements
11/19/2018 4:09 PM AlwaysOn Enhancements Basic HA in Standard edition Support for group-managed service accounts Database-level failover Support for Distributed Transactions (DTC) Round-robin load balancing in readable secondaries Increased number of auto-failover targets Encrypted Databases Support in AG Wizard © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
Define a load-balancing replica list
11/19/2018 4:09 PM Define a load-balancing replica list READ_ONLY_ROUTING_LIST = (('Server1','Server2'), 'Server3', 'Server4') Note: only one set of nested parentheses is supported at this time © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Other Mission Critical Enhancements
11/19/2018 4:09 PM Other Mission Critical Enhancements © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Other Mission Critical Enhancements
11/19/2018 4:09 PM Other Mission Critical Enhancements Rolling cluster OS upgrades Basic HA in Standard edition Site-aware failover clusters © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Stretch Database 11/19/2018 4:09 PM
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Stretch Database Store cold data in Azure
11/19/2018 4:09 PM Stretch Database Store cold data in Azure No changes to queries/applications Reduce on-prem database maintenance Multiple replicas (Like Azure SQL DB) Ability to pause/resume © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Stretch Database Limitations
11/19/2018 4:09 PM Stretch Database Limitations Tables with more than 1023 columns Memory-optimized tabled CLR data types Constraints: Check, Default Computed columns © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
Demo: Stretching a database (in and out)
Microsoft Ignite 2016 11/19/2018 4:09 PM Demo: Stretching a database (in and out) © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
Enabling SQL Server instance for Stretch Database
11/19/2018 4:09 PM Enabling SQL Server instance for Stretch Database EXEC sp_configure 'remote data archive', '1'; GO RECONFIGURE; © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
16
Configuring a database for Stretch Database
11/19/2018 4:09 PM Configuring a database for Stretch Database USE <database>; GO CREATE MASTER KEY ENCRYPTION BY PASSWORD='<password>'; © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17
11/19/2018 4:09 PM Stretching a Database CREATE DATABASE SCOPED CREDENTIAL <db_scoped_credential_name> WITH IDENTITY = '<identity>' , SECRET = '<secret>' ; GO ALTER DATABASE <database name> SET REMOTE_DATA_ARCHIVE = ON ( SERVER = '<server_name>' , CREDENTIAL = <db_scoped_credential_name> ) ; © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
18
Enabling Stretch Database for a table
11/19/2018 4:09 PM Enabling Stretch Database for a table USE <Stretch-enabled database name>; GO ALTER TABLE <table name> SET ( REMOTE_DATA_ARCHIVE = ON ( MIGRATION_STATE = OUTBOUND ) ) ; © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
19
Pausing/resuming data migration
11/19/2018 4:09 PM Pausing/resuming data migration USE <Stretch-enabled database name>; GO ALTER TABLE <Stretch-enabled table name> SET ( REMOTE_DATA_ARCHIVE ( MIGRATION_STATE = PAUSED ) ) ; MIGRATION_STATE = OUTBOUND © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
20
Disabling Stretch - Table (Keeping Data)
11/19/2018 4:09 PM Disabling Stretch - Table (Keeping Data) USE <Stretch-enabled database name>; GO ALTER TABLE <Stretch-enabled table name> SET ( REMOTE_DATA_ARCHIVE ( MIGRATION_STATE = INBOUND ) ) ; Note: This cannot be canceled. Note: Clean up Stretch Database in Azure © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
21
Disabling Stretch - Table (Abandoning Data)
11/19/2018 4:09 PM Disabling Stretch - Table (Abandoning Data) USE <Stretch-enabled database name>; GO ALTER TABLE <Stretch-enabled table name> SET ( REMOTE_DATA_ARCHIVE = OFF_WITHOUT_DATA_RECOVERY ( MIGRATION_STATE = PAUSED ) ) ; Note: This cannot be canceled. Note: Clean up Stretch Database in Azure © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
22
Disabling Stretch Database
11/19/2018 4:09 PM Disabling Stretch Database ALTER DATABASE <Stretch-enabled database name> SET REMOTE_DATA_ARCHIVE = OFF ; GO Note: This does not delete the remote database. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
23
11/19/2018 4:09 PM Backups To Azure © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
24
Backups To Azure Same options as Azure storage accounts LRS, GRS
11/19/2018 4:09 PM Backups To Azure Same options as Azure storage accounts LRS, GRS Redundancy built-in No longer need to provision/manage storage for backups Secure (perhaps more than SAN/other media) Off-site transfer no longer needed (tapes via truck) Striping backups supported © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
25
Demo: Backing up to Azure Storage
Microsoft Ignite 2016 11/19/2018 4:09 PM Demo: Backing up to Azure Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
26
Backup To URL BACKUP DATABASE AdventureWorks2016
11/19/2018 4:09 PM Backup To URL BACKUP DATABASE AdventureWorks2016 TO URL = ' GO © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
27
SQL Server Data Files in Azure
11/19/2018 4:09 PM SQL Server Data Files in Azure © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
28
SQL Server Data Files in Azure
11/19/2018 4:09 PM SQL Server Data Files in Azure Simplifies hardware moves & migrations Redundancy built-in Low costs Low maintenance Reduces need for capacity planning Nearly instantaneous backups via snapshot backup © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
29
Demo: Databases with files in Azure Storage
Microsoft Ignite 2016 11/19/2018 4:09 PM Demo: Databases with files in Azure Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
30
Creating a database with data files in Azure
11/19/2018 4:09 PM Creating a database with data files in Azure CREATE DATABASE YourDBName ON ( NAME = YourDBName_dat, FILENAME = ' ) LOG ON ( NAME = YourDBName_log, FILENAME = ' © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
31
11/19/2018 4:09 PM Summary © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
32
11/19/2018 4:09 PM Resources Workgroup and Non-Domain Joined Clusters - Rolling Cluster Upgrades - SQL Server Data Files in Azure - SQL Server Data Files in Azure Tutorial - © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
33
Other SQL Server Sessions
11/19/2018 4:09 PM Other SQL Server Sessions Session Speaker Time Room Build modern Enterprise BI Solutions using SSRS 2016 [M238] Anupama Natarajan Thur 27 Oct, 1:40pm Ballroom Two (Crowne Plaza) Boom! Compelling visualisations with SQL Server [M374] Rob Hawthorne Thur 27 Oct, 4:15pm Enhancements in SQL Server Management Studio (SSMS) in SQL Server 2016 [M381] Lonnye Bower Fri 28 Oct, 9:00am NZ Room 3 Beyond T-SQL: non-relational features in SQL Server 2016 [M384] David Lyth Fri 28 Oct, 10:30am © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
34
11/19/2018 4:09 PM Q&A Questions after the session? Thank you for your time today! ~LB © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
35
11/19/2018 4:09 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.