sql azure tools
DESCRIPTION
Deck from TechEd Africa 2011 - SQL Azure Tools -- includes updates from SQL Pass Summit 2011TRANSCRIPT
![Page 1: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/1.jpg)
17-20 OCTOBER 2011
DURBAN ICC
![Page 2: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/2.jpg)
SQL Azure ToolsFor Developers and DBAs@LlewellynFalco & @LynnLangit
Session: DAT311
![Page 3: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/3.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/5.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/6.jpg)
SQL Azure PortalSilverlight-based tools
demo
![Page 7: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/7.jpg)
SQL Azure Portal
![Page 8: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/8.jpg)
Database Management Portal• Logon
![Page 9: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/9.jpg)
Database information
![Page 10: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/10.jpg)
Database Schema Management
![Page 11: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/11.jpg)
Manage Server
![Page 12: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/12.jpg)
Import / Export
![Page 13: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/13.jpg)
Import/Export Concepts
![Page 14: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/14.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/15.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/16.jpg)
SQL Azure Reporting & Data Sync Previews
![Page 17: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/17.jpg)
Data Sync in Action
![Page 18: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/18.jpg)
SQL Azure Data Sync
demo
![Page 19: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/19.jpg)
SQL Azure Reporting Beta
![Page 20: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/20.jpg)
SQL Server Management Studio
SQL Server --Connection Info--Query Execution--DACPAC
demo
![Page 21: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/21.jpg)
About SQL Azure & SSMS 2008 R2 SP1
Be sure to update to SP1 - here
![Page 22: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/22.jpg)
Visual Studio 2010 SP1Included tools--Server Explorer--Entity Framework--DACPAC--Refactoring--Intellisense
demo
![Page 23: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/23.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/24.jpg)
SSDT Architecture
![Page 25: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/25.jpg)
SQL Server Data Tools Preview Release
demo
SQL Server Data ToolsFormerly codename “Juneau”
![Page 26: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/26.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/27.jpg)
Table Designer
![Page 28: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/28.jpg)
Offline ProjectsNew Project Type
--Set Source connection--Set Target project--Set Import settings--Creates Off-line Project
![Page 29: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/29.jpg)
SSDT Schema Compare
![Page 30: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/30.jpg)
Refactoring• Find All Dependencies• Rename with Preview• Intellisense
![Page 31: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/31.jpg)
Version Targeting & Publishing
![Page 32: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/32.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/33.jpg)
Visual Studio Light Switch
demo
![Page 34: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/34.jpg)
Visual Studio Light Switch• Beth Massi blog
– Azure and Light Switch – here
![Page 35: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/35.jpg)
Other tools• PowerShell• Command-line
• SQLCMD• bcp
• CodePlex tools• SQL Azure Migration Wizard
• 3rd party tools• Cerebrata, RedGate (www.queryanywhere.com), Quest
![Page 36: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/36.jpg)
3rd Party Tools
Download Migration Tools – hereDownload Migration Wizard - here
![Page 37: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/37.jpg)
• 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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/38.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/39.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/40.jpg)
Resources
• Intro To TDD Class (4 Day)• Legacy Code• SQL Server (Dev, BI)• SQL Azure
www.Develop.com
![Page 41: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/41.jpg)
TeachingKidsProgramming.org• Do a Recipe Teach a Kid (Ages 10 ++)• Microsoft SmallBasic Free Courseware (recipes)
![Page 42: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/42.jpg)
Contact Information
@LlewellynFalcohttp://LlewellynFalco.Blogspot.comhttp://www.approvaltests.com
@LynnLangithttp://www.LynnLangit.com
![Page 43: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/43.jpg)
Submit your session evaluation for a chance to win!
Sponsored by MVA
http://microsoftvirtualacademy.com
![Page 44: SQL Azure Tools](https://reader033.vdocuments.site/reader033/viewer/2022061208/548b8152b479591a5b8b457c/html5/thumbnails/44.jpg)
Creating
the futuretogether