SQL Azure - the good, the bad and the ugly.
-
Upload
pini-krisher -
Category
Technology
-
view
324 -
download
2
description
Transcript of SQL Azure - the good, the bad and the ugly.
![Page 1: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/1.jpg)
Microsoft Azure SQL Database –SQL Azure : The Good,
The Bad and the Ugly.
Pini Krisher DBA TL at etoro (www.etoro.com)@krisherpi
![Page 2: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/2.jpg)
Agenda:• 10 minutes of basic introduction.
• 10 minutes of ways to work with SQL Azure
• 10 minutes of good
• 10 minutes of bad
• 10 minutes of Ugly
• 10 minutes of some conclusions.
![Page 3: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/3.jpg)
Basic Introduction
• What is Cloud Computing.
• Types of Cloud Computing.
• Vendors
• DataBases on AZURE
![Page 4: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/4.jpg)
• What is the Cloud Computing?• Pay as you go• Scale – UP/DOWN/IN/OUT• Backups• Upgrades• Access from any ware• SLA• Storage
• Types• SAAS• IAAS• PAAS
![Page 5: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/5.jpg)
Cloud is not 1 huge machine
![Page 6: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/6.jpg)
• Vendors
• AWS-Amazon Web Services
• Rackspace
• HP Cloud
• Dell
• Microsoft Azure
• Ect….
![Page 7: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/7.jpg)
DATABASES on AZURE
Windows Azure SQL Databases - PAAS
SQL Server on VM - IAAS
Windows Azure Storage\ DocumentDB - NoSQL
![Page 8: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/8.jpg)
Ways to work with SQL Azure• SQL Azure is PAAS!
• What is PAAS in DB world?
• Azure Portal * 2
• Web portal
• SSMS
• PS
![Page 9: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/9.jpg)
PAAS Microsoft Azure SQL Databases =
SQL Azure
![Page 10: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/10.jpg)
What is PAAS in DB worldYou can not connect to the serverYou can not manage hardwareYou can not control hardwareNo clusters etc.…So… what DBA’s can do?
Nothing in infrastructure - there are 3 replicas…Applicative work: adding Indexes, short transaction etc.…Performance tuningHigh queries by CPU ,IO etc.…
![Page 11: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/11.jpg)
Azure PortalCreate ServerCreate DB – 3 ways (from portal, ssms, vs2012)LocationTier Size – 1-500 GBSecurityBasic monitoring (monitoring in other tools like Quest)Connection strings from the portalBackups to BLOB
![Page 12: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/12.jpg)
• Monitoring
• Tools
• Portals
![Page 13: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/13.jpg)
Web protalConnect – silver light – to 1 DB or to serverRun T-sqlBasic monitoringQuery plansAdd indexesSee DATAChange schema
![Page 14: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/14.jpg)
SSMSAll actions but backup
![Page 15: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/15.jpg)
PS
All actions
![Page 16: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/16.jpg)
The Good
![Page 17: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/17.jpg)
The GoodNo OSNo UpgradesAny One, Anywhere can query DBFrom Smartphone you can monitorScale-UpDRVM - templatesNew features – looks at the blog (Auditing, Automation) …. Or not
http://azure.Microsoft.com/blog/
![Page 18: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/18.jpg)
![Page 19: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/19.jpg)
The bad
![Page 20: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/20.jpg)
The badNo regular backupsNo read replica within the data centerFeatures that are not supportedCo administrator in Azure can change lots of things.Changes in Azure can bring your bill up –without changing anything.Fair share policy.Scale out only via code
![Page 21: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/21.jpg)
And The Ugly
![Page 22: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/22.jpg)
And The UglyFederations is retired Not all T-sql supported (sequence)New feathers are slow - for example EE or backups only via PS.SLA – good but when you need Restart –you can not do it.Many small DB’s with better DTU – cost as 500 GB DB’s
![Page 23: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/23.jpg)
conclusions
![Page 24: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/24.jpg)
• SO… When should we use SQL AS PAAS ?
• Simple and small DB’s
• The high point after IPO or Elections
• Reduce storage costs/IT costs
• No MSFT agreements
• When we need Unlimited resources
• Easy to manage (But risky)
• Hybrid – some on privet cloud and some on public.
• No Bottlenecks at IT, Finance ect..
conclusions
![Page 25: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/25.jpg)
Usegelogs
Regular DB
Lots of small DB’s
Scale up – increase DB size
Scale out – Shard
Devops
![Page 26: SQL Azure - the good, the bad and the ugly.](https://reader033.fdocuments.in/reader033/viewer/2022042816/559b09181a28ab81758b4803/html5/thumbnails/26.jpg)
Price ???
Pricing calculator