sql azure tools

44
17-20 OCTOBER 2011 DURBAN ICC

Upload: lynn-langit

Post on 13-Dec-2014

2.123 views

Category:

Technology


2 download

DESCRIPTION

Deck from TechEd Africa 2011 - SQL Azure Tools -- includes updates from SQL Pass Summit 2011

TRANSCRIPT

Page 1: SQL Azure Tools

17-20 OCTOBER 2011

DURBAN ICC

Page 2: SQL Azure Tools

SQL Azure ToolsFor Developers and DBAs@LlewellynFalco & @LynnLangit

Session: DAT311

Page 3: SQL Azure Tools

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (also SQL Server Data Tools)/ LightSwitch• OData, WCF Data Services

• Session Takeaway:– SQL Azure has a variety of tools – Use the right tool for the task(s)

Note: we are covering RELATIONAL cloud database options here only. For information about non-relational cloud data structures - (i.e. NoSQL, etc…) see this link

Page 4: SQL Azure Tools

Extending SQL Server to the Cloud

Symmetry with Traditional RDBMS

Enterprise-class “scale-up” data platform

Multiple hardware platforms and deployment options

Deploy as dedicated server in customer datacenter, VM or 3rd party

Typically licensed per-server or per processor

Distributed “scale-out” database service

Abstracts OS and hardware management

Low-friction provisioning, multi-tenant

Automatic high-availability and data replication

Pay-as-you-go and commitment offers

Familiar T-SQL relational modelSupport existing code libraries and protocolsEcosystem of familiar development and management tools

Page 5: SQL Azure Tools

SQL Azure Database

Cloud relational database based on SQL Server engine

Use same tools, data access frameworks, T-SQL based language

Global datacenters

High Availability & Redundancy

– Reads are completed at the primary– Writes are replicated to a quorum of secondaries

Single LogicalDatabase

Multiple PhysicalReplicas

Single Primary

MultipleSecondaries

Repl

ica

1Re

plic

a 2

Repl

ica

3

DB

Page 6: SQL Azure Tools

SQL Azure PortalSilverlight-based tools

demo

Page 7: SQL Azure Tools

SQL Azure Portal

Page 8: SQL Azure Tools

Database Management Portal• Logon

Page 9: SQL Azure Tools

Database information

Page 10: SQL Azure Tools

Database Schema Management

Page 11: SQL Azure Tools

Manage Server

Page 12: SQL Azure Tools

Import / Export

Page 13: SQL Azure Tools

Import/Export Concepts

Page 14: SQL Azure Tools

SQL Azure Data Sync

SQL Server

Application

SQL Azure

Application

SQL Server

Application

On-Premises

SQL Azure

Application

SQL Azure

Application

SQL Azure

ApplicationCloud

• Scale-out via multiple copies of data

• E.g. Separate reporting & OLTP workloads; multiple Web sites

• Geo-located web applications• Use with Windows Azure Traffic

Manager• Hybrid applications; one-way publish or

two-way sharing• Multiple locations (e.g. branch office, retail

offices); share data between locations and/or aggregate data in cloud

Page 15: SQL Azure Tools

SQL Azure Data Sync (CTP)• No-Code Sync Configuration

– Configure and manage using Windows Azure Portal– Define data to be synchronized and locations– Choose how often data is synchronized– Specify optional filters

• Full Data Synchronization Capabilities– Two-way sync of same data, as well as one-way sync

• Conflict Handling– Detect and resolve conflicts caused by the same data being changed in multiple

locations

Page 16: SQL Azure Tools

SQL Azure Reporting & Data Sync Previews

Page 17: SQL Azure Tools

Data Sync in Action

Page 18: SQL Azure Tools

SQL Azure Data Sync

demo

Page 19: SQL Azure Tools

SQL Azure Reporting Beta

Page 20: SQL Azure Tools

SQL Server Management Studio

SQL Server --Connection Info--Query Execution--DACPAC

demo

Page 21: SQL Azure Tools

About SQL Azure & SSMS 2008 R2 SP1

Be sure to update to SP1 - here

Page 22: SQL Azure Tools

Visual Studio 2010 SP1Included tools--Server Explorer--Entity Framework--DACPAC--Refactoring--Intellisense

demo

Page 23: SQL Azure Tools

SQL Server Data Tools in Visual Studio• Can target SQL Azure (version targeting)• Server Explorer

– Can Snapshot project (database)– Can Schema compare– Supports entity framework

• Improved Intellisense– Error syntax highlighting– Easier refactoring– Easier debugging (including stored procs)

Page 24: SQL Azure Tools

SSDT Architecture

Page 25: SQL Azure Tools

SQL Server Data Tools Preview Release

demo

SQL Server Data ToolsFormerly codename “Juneau”

Page 26: SQL Azure Tools

SSDT in Visual Studio• Server Explorer

– New Node –> SQL Server• Connect to SQL

Azure• Connect to SQL

Server• LocalDB

• Can work online or offline

Page 27: SQL Azure Tools

Table Designer

Page 28: SQL Azure Tools

Offline ProjectsNew Project Type

--Set Source connection--Set Target project--Set Import settings--Creates Off-line Project

Page 29: SQL Azure Tools

SSDT Schema Compare

Page 30: SQL Azure Tools

Refactoring• Find All Dependencies• Rename with Preview• Intellisense

Page 31: SQL Azure Tools

Version Targeting & Publishing

Page 32: SQL Azure Tools

More About SSDT• Table Designer• Schema Compare• Refactoring (find all references & go to definition)• SSDT project (to create objects)• Debug/test w/local DB• Publish (sync and/or apply incremental updates)

Page 33: SQL Azure Tools

Visual Studio Light Switch

demo

Page 34: SQL Azure Tools

Visual Studio Light Switch• Beth Massi blog

– Azure and Light Switch – here

Page 35: SQL Azure Tools

Other tools• PowerShell• Command-line

• SQLCMD• bcp

• CodePlex tools• SQL Azure Migration Wizard

• 3rd party tools• Cerebrata, RedGate (www.queryanywhere.com), Quest

Page 37: SQL Azure Tools

• Oct 2011– SQL Azure Reporting Final CTP– SQL Azure Data Sync Final CTP

• Open to all via Windows Azure Management Portal• Commercial Release Q1 2012

• Q4 2011– Max database size increased to 150 GB– Updated Azure Management Portal– SQL Azure Federations– Refresh of SQL Server Data Tools – Refresh of SQL Server Management Studio

SQL Azure Futures

Page 38: SQL Azure Tools

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (SQL Server Data Tools)/ LightSwitch• PowerShell, Command-Line, Open Source, 3rd Party

• Session Takeaway:– SQL Azure has a variety of tools – Use the right tool for the task(s)

Page 39: SQL Azure Tools

Team Resources• Windows Azure Platform Blog - here• MSDN SSDT section• MSDN Forum – here• SSDT Team Blog - here • Tip: Watch information from SQLPass – here • Oct 11-14, 2011 in Seattle

Page 40: SQL Azure Tools

Resources

• Intro To TDD Class (4 Day)• Legacy Code• SQL Server (Dev, BI)• SQL Azure

www.Develop.com

Page 41: SQL Azure Tools

TeachingKidsProgramming.org• Do a Recipe Teach a Kid (Ages 10 ++)• Microsoft SmallBasic Free Courseware (recipes)

Page 42: SQL Azure Tools

Contact Information

@LlewellynFalcohttp://LlewellynFalco.Blogspot.comhttp://www.approvaltests.com

@LynnLangithttp://www.LynnLangit.com

Page 43: SQL Azure Tools

Submit your session evaluation for a chance to win!

Sponsored by MVA

http://microsoftvirtualacademy.com

Page 44: SQL Azure Tools

Creating

the futuretogether