Stretch Database & Managed Backups

Slides:



Advertisements
Similar presentations
Low Control | Low Maintenance Shared Lower cost Dedicated Higher cost High Control | High Maintenance Hybrid On premises Off premises SQL Server Physical.
Advertisements

Barracuda Networks Confidential1 Barracuda Backup Service Integrated Local & Offsite Data Backup.
Module 8 Implementing Backup and Recovery. Module Overview Planning Backup and Recovery Backing Up Exchange Server 2010 Restoring Exchange Server 2010.
Module 18 Monitoring SQL Server 2008 R2. Module Overview Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
Make VMs Resilient to Failures with Availability Sets.
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Aaron Stanley King. What is SQL Azure? “SQL Azure is a scalable and cost-effective on- demand data storage and query processing service. SQL Azure is.
SQL Server as a Cloud Service April 15th 2016 Warner Chaves Data Platform MVP/SQL Server MCM.
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Stretch Database & Managed Backups Cloud Services for your SQL Servers Andrew Loree – Solution Architect.
Managing a database environment in the cloud
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
DBMS Programs MS SQL Server & MySQL
Stretch Database & Managed Backups
IT06 – HAVE YOUR OWN DYNAMICS NAV TEST ENVIRONMENT IN 90 MINUTES
WorkDiff Mobile, Scenario-Based Collaboration Solution WorkDiff Allows Users to Work Differently While Using Familiar Functions of Microsoft Office 365.
SQLIntersection May 24rd, 2017
Business Continuity & Disaster Recovery
Why are you still taking backups?
On-premise database. Files in the cloud.
Azure SQL Databases - Introduction and Migration
Lead SQL BankofAmerica Blog: SQLHarry.com
Antonio Abalos Castillo
Example of a page header
Preparing for a Hybrid SharePoint World
Letsignit, an Automated Signature Solution for Microsoft Office 365 and Microsoft Exchange, Provides Efficiency in Branding and Customization OFFICE.
Exam in just 24 hours!!! Pass your exam in first attempt by the help of our latest braindumps
Server & Tools Business
Design and Implement Cloud Data Platform Solutions
Business Continuity & Disaster Recovery
Upgrading to Microsoft SQL Server 2014
Azure and SQL Server: Getting the best out of the cloud
Storage & Digital Asset Management CIO Council Update
Microsoft Azure P wer Lunch
Dev Test on Windows Azure Solution in a Box
Stretch Database & Managed Backups
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Get Enterprise-Grade Call Handling and Control for Microsoft Office 365 and Skype for Business with the Bridge Boss-Admin Executive Console OFFICE 365.
Microsoft Virtual Academy
Migrating your SQL Server Instance
TechEd /23/ :44 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /28/ :51 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
BluVault Provides Secure and Cost-Effective Cloud Endpoint Backup and Recovery Using Power of Microsoft OneDrive Business and Microsoft Azure OFFICE 365.
Microsoft Virtual Academy
Vembu ImageBackup - Free edition
VMware Backup - Standard edition
Stretch Database - Historical data storage in SQL Server 2016
Microsoft Virtual Academy
Letsignit, an Automated Signature Solution for Microsoft Office 365 and Microsoft Exchange, Provides Efficiency in Branding and Customization OFFICE.
Unleashing Stretched Databases
VMware Backup - Free edition
MS AZURE By Sauras Pandey.
Using the Cloud for Backup, Archiving & Disaster Recovery
AWS S3 Cloud Backup Licensing per system Starting at $79 per year.
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
Microsoft Virtual Academy
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
Microsoft Virtual Academy
Hyper-V backup -Free Edition
06 | SQL Server and the Cloud
Microsoft Virtual Academy
The Database World of Azure
Presentation transcript:

Stretch Database & Managed Backups Cloud Services for your SQL Servers Andrew Loree – Solution Architect Northwest Arkansas SQL Server Users Group November 9th, 2016

Goals Learn about Stretch Database & Managed Backups Two Azure service supported features for on-premises SQL Servers Understand related Azure services, how to setup and capacity/cost Demo configuration and examples of using feature Cover practical use-cases that make sense today and limitations for future versions to possibly resolve

Got a question? Andrew Loree andyloree.com andy@andyloree.com @LowOnDiskSpace

Agenda Managed Backups Stretch Database Azure Storage Overview & Benefits Demo Use-cases & Limitations Stretch Database Azure SQL Server & Database

Help!!! Patience! Azure and SSMS have fast paced release cycles Fast releases == unclear & out-of-date documentation Where to look Slack SQL Community https://sqlcommunity.slack.com/ Twitter #sqlhelp Search Connect https://connect.microsoft.com/ These slides are July 2016

Azure Storage Terminology Azure Storage Account – single point of billing and rollup of invoicing for all associated storage containers Two “kinds” of accounts: Classic - 2014 Resource Manager - 2016 Azure Storage Container – security and access control point, within an associated storage account Shared Access Signature – delegated access (key) for an application to have limited access to a container (like a SQL Server credential) Resource Groups – grouping of associated services (not just storage accounts or SQL Databases) Classic vs resource manager is for “deployment” of solutions Storage container – think of a root “share” folder Shared Access Signature, used with 2016, is a more delegated way to allow access to Azure storage – think delegated or app key

Managed Backups Overview & Benefits Manages and automates SQL Server backups to Azure Blob Storage Why? Simplified backup process, so one less thing to manage & maintain When? Fixed or custom schedules, transaction log size awareness How? Database or instance-wide configuration, just set a retention duration Where? SQL Server 2014+, standard or enterprise Edition, on-premises or IaaS What? Any recovery model, Availability Group-aware, encryption of backup You can opt-in or opt-out models

Managed Backups Requirements Azure Storage Account SQL Server Agent required & must be running - Poor SQL Express Implementation Details New schema(s) in msdb – managed_backup, smart_admin Everything is an internal job – Not visible thru SQL Agent jobs

Managed Backups Demo!

Managed Backups Email Notifications Frequency of health check email is controlled via SQL Agent Job, default is every 15 minutes

Managed Backups Limitations 1 to 12 TB size backup size - based upon Storage Account Maximum 30 days retention, no separate log retention No differentials or complex backup strategies After database drop/deletion, backups retained according to the retention period Ad-hoc backups and any other tooling MUST use COPY_ONLY option – don’t break the log chain No option to keep local copy – longer recovery time No differentials or complex backup strategies – e.g. Filegroup level and backup configurations for very large databases, this isn’t going to be extensible enough If you need long-term retention after deletion, or even desire longer retention/copies to be retained than current configuration limits, you have to copy the backup elsewhere If you break the log chain, you have broken the ability to recover Recovery time objectives (RTO) will be impacted due to the bandwidth of network versus almost any disk subsystem What about the most common cause for needing a recovery, user-error?

Managed Backups Use-Cases Limited infrastructure locations Remote offices and closet data centers No offsite solution for disaster recovery Azure hosted virtual machines running SQL Server IaaS database migrations Others? Limited infrastructure locations Backup storage options are limited to direct attached, USB drives, or worse…manually swapping tapes Hand-in-hand with storage limitations, if you need offsite backup storage, this fits to the tee Network limitations: perhaps you have limited connectivity to locations (e.g. point-to-point VPN), but remote locations have separate Internet connectivity/routing Divide and conquer your bandwidth problems Azure hosted virtual machines running SQL Server You already have an Azure blob storage, setup managed backups, and “Opt-out” for more complex backup configurations IaaS database migration methods Planning migration to Azure hosted services, might as well leverage the backup blob storage now Simplified file transfer problems (e.g. ftp, CIFS/SMB)

Azure SQL DB/Server Terminology Database Transaction Unit (DTU) – performance scaling unit Azure SQL Database Tiers – Service-level groupings, with multiple performance levels within each increasing in DTU’s Basic – think SQL Express Standard – Go-to option for most cloud applications Premium – High transactional volume databases Azure SQL Server – Hosts one or more Azure SQL Database

Azure SQL DB/Server Database Transaction Unit (DTU) Blended measure of CPU, memory, reads/writes Different “tiers” and levels within DTU “Calculator” using perf counter data http://dtucalculator.azurewebsites.net/ Abstract unit

Azure SQL DB/Server Database Transfer Unit Basic is not supported/available for use with stretch database Updated 7/5/2016 - https://azure.microsoft.com/en-us/documentation/articles/sql-database-service-tiers/

But wait… Azure SQL Stretch Database != Azure SQL Database With RTM release, new resource type: SQL Stretch Database Database Stretch Units (DSU) Roughly like DTU, but there is no tier levels Storage and snapshot pricing separate

Azure SQL Stretch Database Pricing These are your maximums amounts based upon constant DSU level/usage Updated 9/30/2016 - https://azure.microsoft.com/en-us/pricing/details/sql-server-stretch-database/

Stretch Database Overview & Benefits Lower cost “cold” storage Transparent to queries/applications* Streamlines on-premises data maintenance Faster backups Divide and conquer indexes * Assumes your tables are candidates for the limitations imposed

Stretch Database Demo

Stretch Database Gotchas! – August 2016 – SQL 2016 CU1 + SSMS July If you get the error: “The subscription is not registered to use namespace 'Microsoft.Sql‘” from the Wizard, run Azure PowerShell commandlet: Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Sql

Orders -> Order_Detail Stretch Database Limitations You cannot UPDATE or DELETE rows already migrated* Default and check constraints Blob data types – text, ntext, image, xml,… Foreign key constraints as the parent Orders -> Order_Detail Full text or indexed views * Only on Azure side Order_Details as child reference is fine, Orders, nope https://msdn.microsoft.com/en-us/library/mt605114.aspx Updated 6/14/2016 - https://msdn.microsoft.com/en-us/library/mt605114.aspx

Stretch Database Limitations – part 2 Unique constraints not enforced Cannot INSERT rows in Azure-side No indexed views or filtered indexes No memory optimized and replicated tables No CDC or Change Tracking https://msdn.microsoft.com/en-us/library/mt605114.aspx Updated 6/14/2016 - https://msdn.microsoft.com/en-us/library/mt605114.aspx

Stretch Database Use-Cases Offloading log or event type data from more expensive storage Long-term compliance retention scenarios TDE is supported on the Azure Stretch Database Others?

Got a question? Andrew Loree andyloree.com andy@andyloree.com @LowOnDiskSpace