sql azure - the good, the bad and the ugly

Post on 07-Jul-2015

324 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

Microsoft Azure SQL Database –SQL Azure : The Good,

The Bad and the Ugly.

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

pinik@naya-tech.co.il

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.

Basic Introduction

• What is Cloud Computing.

• Types of Cloud Computing.

• Vendors

• DataBases on AZURE

• 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

Cloud is not 1 huge machine

• Vendors

• AWS-Amazon Web Services

• Rackspace

• Google

• HP Cloud

• Dell

• Microsoft Azure

• Ect….

DATABASES on AZURE

Windows Azure SQL Databases - PAAS

SQL Server on VM - IAAS

Windows Azure Storage\ DocumentDB - NoSQL

Ways to work with SQL Azure• SQL Azure is PAAS!

• What is PAAS in DB world?

• Azure Portal * 2

• Web portal

• SSMS

• PS

PAAS Microsoft Azure SQL Databases =

SQL Azure

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.…

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

• Monitoring

• Tools

• Portals

Web protalConnect – silver light – to 1 DB or to serverRun T-sqlBasic monitoringQuery plansAdd indexesSee DATAChange schema

SSMSAll actions but backup

PS

All actions

The Good

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/

The bad

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

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

conclusions

• 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

Usegelogs

Regular DB

Lots of small DB’s

Scale up – increase DB size

Scale out – Shard

Devops

Price ???

Pricing calculator

top related