26
Microsoft Azure SQL Database – SQL Azure : The Good, The Bad and the Ugly. Pini Krisher DBA TL at etoro (www.etoro.com ) @krisherpi [email protected]

SQL Azure - the good, the bad and the ugly

Embed Size (px)

DESCRIPTION

SQL Azure - the good, the bad and the ugly.

Citation preview

Page 1: SQL Azure - the good, the bad and the ugly

Microsoft Azure SQL Database –SQL Azure : The Good,

The Bad and the Ugly.

Pini Krisher DBA TL at etoro (www.etoro.com)@krisherpi

[email protected]

Page 2: SQL Azure - the good, the bad and the ugly

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

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

• 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

Cloud is not 1 huge machine

Page 6: SQL Azure - the good, the bad and the ugly

• Vendors

• AWS-Amazon Web Services

• Rackspace

• Google

• HP Cloud

• Dell

• Microsoft Azure

• Ect….

Page 7: SQL Azure - the good, the bad and the ugly

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

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

PAAS Microsoft Azure SQL Databases =

SQL Azure

Page 10: SQL Azure - the good, the bad and the ugly

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

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

• Monitoring

• Tools

• Portals

Page 13: SQL Azure - the good, the bad and the ugly

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

SSMSAll actions but backup

Page 15: SQL Azure - the good, the bad and the ugly

PS

All actions

Page 16: SQL Azure - the good, the bad and the ugly

The Good

Page 17: SQL Azure - the good, the bad and the ugly

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
Page 19: SQL Azure - the good, the bad and the ugly

The bad

Page 20: SQL Azure - the good, the bad and the ugly

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

And The Ugly

Page 22: SQL Azure - the good, the bad and the ugly

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

conclusions

Page 24: SQL Azure - the good, the bad and the ugly

• 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

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

Price ???

Pricing calculator