2015 User Conference Care Plan SQL April 25, 2015 Presented by: Greg Anderson CEO EHR Workshop 491.
Dr Greg Low CEO and Principal Mentor SQL Down Under.
-
Upload
suzanna-mclaughlin -
Category
Documents
-
view
220 -
download
1
Transcript of Dr Greg Low CEO and Principal Mentor SQL Down Under.
![Page 1: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/1.jpg)
Windows Azure SQL Database and Windows Azure SQL VM Concepts for DBAs
Dr Greg Low
CEO and Principal Mentor SQL Down Under
AZR221
![Page 2: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/2.jpg)
Topics for todayIs Azure important to me?What does Azure offer for SQL?What needs to be done differently?What should I do to prepare?
![Page 3: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/3.jpg)
Is Azure important to me?
![Page 4: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/4.jpg)
It's partly about costOn-premises management is expensiveCapital equipmentRack spacePowerBandwidthScale up / scale down challengesStaff training and retentionSeasonal variationsOn-demand provisioning (systems and storage)
![Page 5: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/5.jpg)
It's partly about predictable managementOn-premises management is hardMost systems aren't managed consistentlyGood management requires advanced skillsets
Azure offersLarge-scale predictable management processesPredictable SLAsRolling upgrades
![Page 6: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/6.jpg)
But it's mostly about agilityOn-premises management is slowSlow to provisionSlow to adapt to changeBusiness opportunities are often missedPAYG
![Page 7: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/7.jpg)
What's in Azure?
virtual network
traffic managerHDInsight tables
blob storage
SQL database
mobile services
caching media cdn hpcintegratio
n
virtual machines web sites
service busidentity
cloud services
app services
networksdata servicescompute
![Page 8: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/8.jpg)
What's in Azure?
virtual network
traffic managerHDInsight tables
blob storage
SQL database
mobile services
caching media cdn hpcintegratio
n
virtual machines web sites
service busidentity
cloud services
app services
networksdata servicescompute
![Page 9: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/9.jpg)
What's in Azure?
virtual network
traffic managerHDInsight tables
blob storage
SQL database
mobile services
caching media cdn hpcintegratio
n
virtual machines web sites
service busidentity
cloud services
app services
networksdata servicescompute
![Page 10: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/10.jpg)
What's in Azure?
virtual network
traffic managerHDInsight tables
blob storage
SQL database
mobile services
caching media cdn hpcintegratio
n
virtual machines web sites
service busidentity
cloud services
app services
networksdata servicescompute
![Page 11: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/11.jpg)
What's in Azure?
virtual network
traffic managerHDInsight tables
blob storage
SQL database
mobile services
caching media cdn hpcintegratio
n
virtual machines web sites
service busidentity
cloud services
app services
networksdata servicescompute
![Page 12: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/12.jpg)
Non-relational offerings
In this session, we're mostly discussing SQL and relational
![Page 13: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/13.jpg)
What does Azure offer for SQL?
![Page 14: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/14.jpg)
SQL Server VM
![Page 15: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/15.jpg)
Infrastructure as a service (IaaS)SQL Server installed in an Azure VMCan join corporate domain via Azure Virtual NetworksFull control and flexibilityHighly customizableNo hardware costsHigh availability optionsAdvanced securitySupports full BI stackNeeds to be managed
![Page 16: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/16.jpg)
Windows Azure VM size & bandwidthVirtual
Machine Size
CPU Cores Memory Allocated
Bandwidth (Mbps)
Maximum data disks (each up to
1 TB)
ExtraSmall Shared 768 MB 5 1
Small 1 1.75 GB 100 2
Medium 2 3.5 GB 200 4
Large 4 7 GB 400 8
ExtraLarge 8 14 GB 800 16
A6 4 28 GB 1,000 8
A7 8 56 GB 2,000 16
Come to AZR-323 on Friday to cover configuration and performance
![Page 17: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/17.jpg)
SQL Server in a VM
Dr Greg Low
![Page 18: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/18.jpg)
SQL Database
![Page 19: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/19.jpg)
Platform as a service (PaaS)Windows Azure SQL Database (was SQL Azure)SQL as a fully managed serviceMassively distributed clusterBased on commodity hardwareFocus on logical vs physical design
HA built-inPrimary plus two replicasNear-instant failoverRolling upgrades only when all availableRead -> PrimaryWrite -> Quorum
![Page 20: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/20.jpg)
Multi-tenant architectureLogical servers assigned to subscriptionsServer = TDS endpoint at gateway
master databaseDifferent to on-premises versionView for firewall rules
Security built-inLogical firewallDOS attack detectionSSL connectivity
![Page 21: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/21.jpg)
Database editionsShared infrastructureWeb up to 5GBBusiness up to 150GBPricing encourages multi-tenantCould be on different physical servers
Reserved infrastructurePremium edition
![Page 22: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/22.jpg)
SQL compatibilityLarge subset of T-SQL supportedTables must have a clustered index
Not all components supportedAgent, Full-Text, Service BrokerDependencies, CLRContinuous improvements
![Page 23: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/23.jpg)
Backup and restoreCREATE DATABASE AS COPY OFTransactionally-consistent duplicate databaseAsync operation
Database import/exportUses Azure StorageNot transactionally-consistentQuiesce database first or use copy database
Automated exportRecently introduced
![Page 24: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/24.jpg)
SQL Database
Dr Greg Low
![Page 25: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/25.jpg)
FederationsSupport scale-out by shardingSimplify multi-tenancy supportOnline split operation (merge coming)Distribution based on single column
USE FEDERATION Queries can be filtered/non-filteredDesign for performance via parallelism
![Page 26: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/26.jpg)
Table types in federated systems
Table Type Details
Federated Distributed by keyContains data that is the reason for federation
Reference Cloned to each federation memberTypically small lookup tables
Central Created in federation rootTypically low-traffic objects eg metadata
![Page 27: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/27.jpg)
Federations
Dr Greg Low
![Page 28: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/28.jpg)
SQL Reporting
![Page 29: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/29.jpg)
SQL Reporting (also PaaS)SSRS delivered as a managed servicePrimary target is embedded reporting in web appsRapid provisioningBest provisioned in same DC as SQL Database
![Page 30: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/30.jpg)
Compatibility with SSRSHigh degree of compatibility
Same Report designer and RDL
Deployment mechanisms
Web services and URL access
Report viewer control
Item level permissions
Different SQL authentication only
SSL only
WASD data sources only
Extra Built-in HA
Elastic scale-out
Less Report Builder
Schedules, subscriptions
Custom extensions, external images
![Page 31: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/31.jpg)
SQL Reporting
Dr Greg Low
![Page 32: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/32.jpg)
Data Sync
![Page 33: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/33.jpg)
Data Sync (also PaaS)Based on Sync FrameworkDelivered as a managed Azure serviceHub and spoke topology Conflict resolution policy (client or hub wins)Sync directions (to hub, from hub, bi-directional)Sync schedule (manual or 5 mins to 1 month)Based on change trackingDatasets can be filtered
Windows Azure SQL Database
SQL Azure Database
Hub
On-premises
SQL Server
![Page 34: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/34.jpg)
Sync With On-Premises SQL ServerAgent service based solutionShared key to connect with hubClient -> Client sync requires two hops
Windows Azure SQL Database
SQL Azure Database
Hub
On-premises
SQL Server
Agent Service
![Page 35: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/35.jpg)
Hybrid Solutions
![Page 36: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/36.jpg)
Hybrid HA
On Premise Domain Controller/AD
![Page 37: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/37.jpg)
Hybrid filegroupsComing in SQL 2014
On Premise Domain Controller/AD
![Page 38: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/38.jpg)
Hybrid backup/restoreAlready availableSQL Server 2012 SP1BACKUP TO URLRESTORE FROM URLUses Azure storage account
On Premise Domain Controller/AD
![Page 39: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/39.jpg)
BACKUP TO URL
Dr Greg Low
![Page 40: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/40.jpg)
What needs to be done differently?
![Page 41: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/41.jpg)
Latency
Sydney / Melbourne data centres are coming!
![Page 42: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/42.jpg)
Avoid latency issuesNeed toAvoid chatty interfacesMinimize round tripsChoose appropriate data centre (via testing not geography)Co-locate applications and data within DC
![Page 43: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/43.jpg)
Latency
Dr Greg Low
![Page 44: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/44.jpg)
Architect for scale-out vs scale-upDatabase needs appropriate design (no magic fix)IndexingQueriesProgramming library choice
Scale-out vs scale-upOn-premises => buy enough hardwareAzure SQL Database => design for multi-DB, enough DBsUse async (non-blocking) design patterns
ReliabilityConnection managementTransaction management
![Page 45: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/45.jpg)
What should I do to prepare?
![Page 46: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/46.jpg)
ExperimentAzure offers low cost easy trials and experimentationSQL DatabaseSQL ReportingSQL Server VMsAzure TablesHDInsightVirtual NetworksIdentity Management
![Page 47: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/47.jpg)
Investigate new areasBe ready to provide advice within your organizationSQL Server 2014 CTP image availablePowerShell skills will be very useful
![Page 48: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/48.jpg)
MSDN Subscribers: you’ve got it, now use it
Redeem your benefit today!http://bit.ly/140upRt
*No purchase necessary. Open to eligible Visual Studio Professional, Premium or Ultimate with MSDN subscribers as of June 1, 2013. Ends 11:59 p.m. PT on September 30, 2013. For full official rules including odds, eligibility and prize restrictions see website. Sponsor: Microsoft Corporation. Aston Martin is a trademark owned and licensed by Aston Martin Lagonda Limited.
Develop & Test on cloud VMs at no additional cost!Activate your MSDN Benefit & try it by 9/30You could win* an Aston Martin V8 Vantage!
YOUR OWNQR CODEGOES HERE
![Page 49: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/49.jpg)
Developer Network
Resources for Developers
http://msdn.microsoft.com/en-au/
Learning
Virtual Academy
http://www.microsoftvirtualacademy.com/
TechNet
Resources
Sessions on Demand
http://channel9.msdn.com/Events/TechEd/Australia/2013
Resources for IT Professionals
http://technet.microsoft.com/en-au/
![Page 50: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/50.jpg)
Track Resources• Sign up for a Free Azure Trial:
http://www.windowsazure.com/en-us/pricing/free-trial/
• Activate your Azure MSDN Benefits: http://msdn.microsoft.com/dn369243
![Page 51: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/51.jpg)
Related contentAZR-323 SQL Server Performance Tuning for Windows Azure Virtual Machines
Thursday 11:30 Arena 1A
Product Demo Stations
Find Me Later At MVP tables in community area
![Page 52: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/52.jpg)
Thanks!Email: [email protected]: http://sqlblog.com/blogs/greg_lowWeb/podcasts: http://www.sqldownunder.com Twitter: greglow
![Page 53: Dr Greg Low CEO and Principal Mentor SQL Down Under.](https://reader035.fdocuments.net/reader035/viewer/2022062801/56649e535503460f94b48b43/html5/thumbnails/53.jpg)
© 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.