cloud data dave campbell technical fellow, microsoft

33
Cloud Data Dave Campbell Technical Fellow, Microsoft

Upload: preston-horn

Post on 21-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cloud Data Dave Campbell Technical Fellow, Microsoft

Cloud DataDave CampbellTechnical Fellow, Microsoft

Page 2: Cloud Data Dave Campbell Technical Fellow, Microsoft

Agenda

Starting with the basics

Build and deploy

Community led data topics

Page 3: Cloud Data Dave Campbell Technical Fellow, Microsoft

Starting with the basics

Page 4: Cloud Data Dave Campbell Technical Fellow, Microsoft

Storage options

Blob StorageSQL Azure DatabaseTable Storage

Page 5: Cloud Data Dave Campbell Technical Fellow, Microsoft

Historical storage options

Available in most operating systems:Files (BLOBs)Indexed Record StorageRDBMSQueues

Page 6: Cloud Data Dave Campbell Technical Fellow, Microsoft

Azure Storage Options

Page 7: Cloud Data Dave Campbell Technical Fellow, Microsoft

Everything is Available at the Portal

Page 8: Cloud Data Dave Campbell Technical Fellow, Microsoft

Storage options

Blob StorageSQL Azure DatabaseTable Storage

Page 9: Cloud Data Dave Campbell Technical Fellow, Microsoft

What is the BLOB service?

Contained within Storage AccountNamespaceRESTful InterfaceGET/PUT BLOBs

Page & Block BLOBs

Page 10: Cloud Data Dave Campbell Technical Fellow, Microsoft

Storage options

Blob StorageSQL Azure DatabaseTable Storage

Page 11: Cloud Data Dave Campbell Technical Fellow, Microsoft

What is the Table Service?

SimpleREST accessibleHighly scalableCost effectiveNon-relationalHierarchical

Tables store entitiesEntity schema can vary in the same table

Storage Account: MovieData

Star WarsMatrixFan Boys

Table Name: Movies

Mike CollierMr. AndersonBill Gates

Table Name: Actors

Entity

Table Account

Page 12: Cloud Data Dave Campbell Technical Fellow, Microsoft

Using Azure Tables

demo

Page 13: Cloud Data Dave Campbell Technical Fellow, Microsoft

Storage options

SQL Azure DatabaseBlob Storage Table Storage

Page 14: Cloud Data Dave Campbell Technical Fellow, Microsoft

What is SQL Azure Database?

SQL Azure Database isSQL Server database technology delivered as a service on the Windows Azure PlatformIdeal for both simple and complex applicationsEnterprise-ready with automatic support for HADesigned to scale out elastically with demand

Page 15: Cloud Data Dave Campbell Technical Fellow, Microsoft

Provision your server

Server definedService head that contains databases

Connect via automatically generated FQDN (xxx.database.windows.net)

Initially contains only a master database

Provision servers interactively

Log on to Windows Azure Management Portal

Create a SQL Azure server

Specify admin login credentials

Add firewall rules and enable service access

Automate server provisioning

Use Windows Azure Platform PowerShell cmdlets (or use REST API directly)

wappowershell.codeplex.com

Page 16: Cloud Data Dave Campbell Technical Fellow, Microsoft

SQL Azure pay as you go pricing

Standard pay-as-you-go pricing

$9.99 per 1 GB of database per month

Business Edition (up to 150 GB)

$99.99 per 10 GB of database per month (Maximum charge of $499.95 per database)*

Database

Web Edition (up to 5 GB)

Page 17: Cloud Data Dave Campbell Technical Fellow, Microsoft

Build and Deploy your database

Page 18: Cloud Data Dave Campbell Technical Fellow, Microsoft

Build your databaseUse familiar technologies

Supports Transact-SQLSupports popular languages

.NET Framework (C#, Visual Basic, F#) via ADO.NETC / C++ via ODBCJava via Microsoft JDBC providerPHP via Microsoft PHP provider

Supports popular frameworksOData (REST data access)Entity FrameworkWCF Data ServicesNHibernate

Supports popular toolsSQL Server Management Studio (2008 R2 and later)SQL Server command-line utilities (SQLCMD, BCP)CA Erwin® Data ModelerEmbarcadero Technologies DBArtisan®

Differences in comparison to SQL Server Focus on logical vs. physical administrationDatabase and log files automatically placedThree high-availability replicas maintained for every databaseDatabases are fully containedTables require a clustered indexMaximum database size is 150 Gb

Unsupported SQL Server featuresBACKUP / RESTOREUSE command, linked servers, distributed transactions, distributed views, distributed queries, four-part namesService BrokerCommon Language Runtime (CLR)SQL Agent

Page 19: Cloud Data Dave Campbell Technical Fellow, Microsoft

Build your databaseThin client database development

Introducing the SQL Azure management portal

Web designers for tables, views, stored procs

Interactive query editing and execution

Rich client database development

Introducing SQL Server Data Tools (SSDT)

Visual Studio IDE for database development

Includes modern designers and projects with declarative, model-driven development

Develop and test in both connected and disconnected states

Platform targeting for both SQL Server (2005 and above) and SQL Azure

Get it free with Web PI, with SQL Server 2012 and with Visual Studio 11

Page 20: Cloud Data Dave Campbell Technical Fellow, Microsoft

Creating a SQL Azure DB

demo

Page 21: Cloud Data Dave Campbell Technical Fellow, Microsoft

Moving data to your database with DAC Data-tier Application Framework

(DAC Fx)Alternative to traditional script based approach

Dramatically simplifies deployment, migration and versioning of databases

Provides a single unit of deployment for schema (dacpac) or for schema + data (bacpac)

Supports automatic versioning of database schemas

Supports platform targeting for both SQL Server (2005 and above) and SQL Azure

Build from scratch or extract from existing db

How to get the latest DAC FxWith SQL Server Data Tools

With SQL Server 2012 Management Studio

With SQL Azure Import/Export Service

Via sqldacexamples.codeplex.com

Page 22: Cloud Data Dave Campbell Technical Fellow, Microsoft

Deploy your databaseInteractive approach for dacpac v1 and v2

Manage your server with SQL Azure Management Portal

Deploy dacpac

Load data (scripts, bulk copy, SSIS)

Also supported in SQL Server 2012 Management Studio

Interactive approach for bacpac v2Upload bacpac to blob storage

Log into Windows Azure Management Portal

Import bacpac, table data automatically loaded

Also supports export to blob storage

Upgrading a dacpac or bacpacNot supported in portals yet

Use SQL Server 2012 Management Studio

Page 23: Cloud Data Dave Campbell Technical Fellow, Microsoft

Scale out your data

SQL Azure Federations provides

Integrated database sharding that can scale to hundreds of nodes

Multi-tenancy via flexible repartitioning

Online split operations to minimize downtime

Automatic data discovery regardless of changes in how data is partitioned

Special considerationsA logical database can contain multiple federations

Distribution scheme supports int, bigint, guid, and varbinary types

Filtering routes connection to appropriate shard regardless of changes in partitions

Merge, fan-out queries and automatic distribution of schema changes not supported in initial release

Multi-Tenant Db

Tenant 1

Tenant 2

Tenant 3 Db Tenant 4

Tenant 4 Db 1

Tenant 4 Db 2

Federation Root

Page 24: Cloud Data Dave Campbell Technical Fellow, Microsoft

SQL Azure Federations

demo

Page 25: Cloud Data Dave Campbell Technical Fellow, Microsoft

Community led data topics

Page 26: Cloud Data Dave Campbell Technical Fellow, Microsoft

What About noSQL?

Entity Model

Horizontal Scalability

Simple Availability

Dynamic SchemaFlexible Schema

Simple “sharding”Manage as one

Trade consistency for availabilityHA that “just works”

Page 27: Cloud Data Dave Campbell Technical Fellow, Microsoft

What About “Big Data”

“Big” is a misnomerVolume, Variety, Velocity, Complexity

DriversCost of data acquisition $0Cost of data storage dramatically reduced“Save everything” tipping point

About turning ambient data into value

Signal Data Information

Knowledge

Insight

Action

Page 28: Cloud Data Dave Campbell Technical Fellow, Microsoft

Characteristics of Big Data

Page 29: Cloud Data Dave Campbell Technical Fellow, Microsoft

Hadoop

Hadoop for MicrosoftMany wanted to get from Hadoop into Microsoft Information PlatformExamples:• Yahoo – Populating 20+ TB Analysis Services cube from Hadoop• Klout – Creating social relevance scoring with Hadoop and SQL Analysis Services [1]Data warehousing market demanded a Hadoop solutionWanted a great port of Hadoop for Windows

The goal?Work closely with Apache community and key vendorsCreate great Hadoop experience on WindowsContribute to Hadoop ecosystem – e.g. JavaScript Map/Reduce

[1] http://corp.klout.com/blog/2011/11/big-data-bigger-brains/

Page 30: Cloud Data Dave Campbell Technical Fellow, Microsoft

Hadoop Architecture

Page 31: Cloud Data Dave Campbell Technical Fellow, Microsoft

Hadoop

demo

Page 32: Cloud Data Dave Campbell Technical Fellow, Microsoft

New data and experiencesData

Creation/Consumpti

on

DataSources

Blob Storage

SQL Azure Database

Table Storage

PC Phone Tablet Search

Page 33: Cloud Data Dave Campbell Technical Fellow, Microsoft

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.