leveraging cloud for the modern sql developer

Post on 22-Jun-2015

420 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

In the past, developing a database was a simple affair where you built and deployed the database for a server down the hall in your datacenter, or in some cases to a server under someone's desk. While those good ole days were a much more simple time, they were quite limiting in how a database could be deployed and there were much fewer options for ensuring stability and performance. Today, SQL Developers have many more options for deployment including the services provided through Windows Azure. In this session, we'll dive into what you need to know to start developing databases with Windows Azure and discuss the value that cloud delivery can provide to your database development. http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/PastWebinars.aspx?ResourceId=640

TRANSCRIPT

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Leveraging Cloud for the Modern SQL Developer

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM2

Introduction

Jason

Strate

e: jstrate@pragmaticworks.com

e: jasonstrate@gmail.com

b: www.jasonstrate.com

t: StrateSQL

Resources pragmaticworks.com/Services/CloudSolutions

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM3

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM4

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM5

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM6

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM7

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM8

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM9

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM10

Agenda

Why SQL

Database?

Designing

Databases

Deploying

Databases

Cloud

Performance

Scaling

Databases

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Why SQL Database?

Why

SQ

L D

ata

base

?

Desi

gnin

g D

ata

base

s

Dep

loyi

ng

Data

base

s

Clo

ud

Perf

orm

ance

Sca

ling

Data

base

s

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM12

Modern Data Platform

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM13

SQL Database

Managed relational database platformPlatform as a Service (PaaS)

Basically SQL Server database online

New features introduced on updates

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM14

SQL Database benefits

Built-in high availability

Automatic disaster recovery

Performance governance

Minimal maintenance

Scale-out growth

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Designing Databases

Why

SQ

L D

ata

base

?

Desi

gnin

g D

ata

base

s

Dep

loyi

ng

Data

base

s

Clo

ud

Perf

orm

ance

Sca

ling

Data

base

s

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM16

SQL Server Data Tools

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM17

SQL Server Data Tools

Full fledged database development tool

Designed for database developers

Incorporates common development needs:Database projects

Source code control

Offline code management

Schema comparison

Development independent of production

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM18

Database Design

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Designing Databases

Demo

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Deploying Databases

Why

SQ

L D

ata

base

?

Desi

gnin

g D

ata

base

s

Dep

loyi

ng

Data

base

s

Clo

ud

Perf

orm

ance

Sca

ling

Data

base

s

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM21

Database Deployment

Migrate from on-premise to cloudAnd cloud to on-premise

Integrate changes with minimal effort

Build database before deployment

Schema compare on deployment

Refactoring within project

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM22

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM23

Deployment Models

DACPACDatabase schema

Schema compare at deployment

BACPACDatabase schema

Data from database

Deployment replaces database

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Deploying Databases

Demo

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Cloud Performance

Why

SQ

L D

ata

base

?

Desi

gnin

g D

ata

base

s

Dep

loyi

ng

Data

base

s

Clo

ud

Perf

orm

ance

Sca

ling

Data

base

s

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM26

Performance Considerations

Engine throttling

Performance thresholdsPartition sizeDatabase space usedData write IOsLog space usedLog write IOsNumber of busy worker

Internet connectivity

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM27

Is This An Azure Problem?

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM28

Noisy Neighbor Affects All

1. Ignore the problem

2. Kill some spids

3. Complain about it

4. Wait, wait, wait

5. Get yelled at

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM29

Performance Levels

Basic

WebPremium

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM30

New Service Tiers

Basic

StandardPremium

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM31

SQL Database Service Tiers

Service Tier Database Size Limit DTU per DatabaseMax Worker

ThreadsMax Sessions

ASDB Transactions

per Minute

Basic 2 GB 1 20 100 58

Standard S1 250 GB 5 50 200 283

Standard S2 250 GB 25 100 500 1,470

Premium P1 500 GB 100 200 2,000 5,880

Premium P2 500 GB 200 400 4,000 11,520

Premium P3 500 GB 800 1,600 16,000 43,800

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM32

Key Performance Terms

Database Throughput Unit (DTU)The resources powering each performance level are represented in DTUs. It combines CPU, memory, physical reads, and transaction log writes into a single unit.

Azure SQL Database Benchmark (ASDB)ASDB measures the actual throughput of a performance level by using a mix of database operations which occur most frequently in online transaction processing (OLTP) workloads.

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM33

Business Continuity

Self-service restoreRestore service offers self-service control over data restoration from available backup data, putting the power to restore in your hands in case of “oops recovery”.

Active geo-replicationPremium offers active geo-replication, which allows you to create up to 4 readable secondaries in any Azure datacenter and control when and where to failover

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Scaling Databases

Why

SQ

L D

ata

base

?

Desi

gnin

g D

ata

base

s

Dep

loyi

ng

Data

base

s

Clo

ud

Perf

orm

ance

Sca

ling

Data

base

s

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM35

Move between service levels

Pay for use based on need

Elastic performance database

Scaling Up SQL Database

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM36

Typical Architecture

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM37

Scale Out Architecture

Central Node

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM38

Database Sharding

Partition workload

Logical units of work

Focus on application logic

Scale design up and down

Similar concept to Parallel Data Warehouse scale growth

INTELLIGENT DATA SOLUTIONS WWW.PRAGMATICWORKS.COM

Leveraging Cloud for the Modern SQL Developer

Questions?

ProductsImprove the quality,

productivity, and performance

of your SQL Server and BI

solutions.

ServicesSpeed development through

training and rapid

development services from

Pragmatic Works.

FoundationHelping those who don’t have

the means to get into

information technology and to

achieve their dreams.

Name: Jason Strate

Email: jstrate@pragmaticworks.com

Blog: www.jasonstrate.com

Resource: pragmaticworks.com/Services/CloudSolutions

Need Help? jasonstrate.com/go/vmdba

top related