0
SQL Azure<br />Where We Are Today, and Microsoft's Cloud Data Strategy<br />Lynn Langit: Senior Developer Evangelist, Micr...
Session Objectives and Takeaways<br />Session Objective(s): <br />See and understand the breadth of DBA tools for SQL Azur...
SQL Server Management Studio
Visual Studio (Juneau –or SSDT)/ LightSwitch
OData, WCF Data Services</li></ul>Session Takeaway:<br />SQL Azure has a variety of tools for DBAs and Developers<br />Use...
Extending SQL Server to the Cloud<br />Distributed “scale-out” database service<br />Abstracts OS and hardware management<...
SQL Azure Database<br />Single Logical<br />Database<br />Multiple PhysicalReplicas<br />Replica 1<br />Single Primary<br ...
SQL Azure Futures<br />New announcements tomorrow at 8:15 AM<br />Stay tuned to tomorrow’s keynote for new SQL Azure Annou...
SQL Azure Portal<br />
Portal for Database Management<br />
SQL Azure Portal<br />Silverlight-based tools<br />demo <br />
SQL Azure Data Sync<br />On-Premises<br />Cloud<br />Application<br />Application<br />SQL Azure<br />SQL Server<br />Appl...
Use with Windows Azure Traffic Manager
Hybrid applications;  one-way publish or two-way sharing</li></ul>SQL Azure<br />SQL Azure<br /><ul><li>Multiple locations...
E.g. Separate reporting & OLTP workloads; multiple Web sites</li></ul>Application<br />SQL Azure<br />SQL Server<br />
SQL Azure Reporting and Data Sync Previews<br />
SQL Azure Data Sync (CTP)<br />No-Code Sync Configuration<br />Configure and manage using Windows Azure Portal<br />Define...
SQL Azure Data Sync<br />demo <br />
End users<br />End Users<br />SQL Azure Reporting and Cloud BIExtending reporting services to the cloud<br />Windows Azure...
Cloud BI Value Scenarios<br />QuickStart, Departmental,             Sandbox BI<br />Seasonal processing<br />Hybrid deploy...
About SQL Azure & SSMS 2008 R2 SP1<br />Be sure to update to SP1 - here<br />
SQL Server Management Studio<br />demo <br />SQL Server 2012 CTP 3<br />--Connection Info<br />--UAC <br />--DACPAC<br />
About SQL Azure, SQL Server 2012 & SSMS <br />
3rd Party Tools<br />Download Migration Tools – here<br />Download Migration Wizard - here<br />
SQL Server Data Tools Preview Release<br />demo <br />Visual Studio Shell<br />SQL Server Data Tools<br />Formerly codenam...
New! SQL Server Data Tools in Visual Studio<br />Can target SQL Azure (version targeting)<br />Server Explorer<br />Can Sn...
SSDT<br />Server Explorer<br />Data Connections<br />New Node – SQL Server<br /><ul><li>Connect to SQL Azure
Connect to SQL Server
LocalDB
Can work online or offline</li></li></ul><li>SSDT Architecture<br />
New – Table Designer in Visual Studio<br />
Offline Projects – Visual Studio<br />New Project Type <br />--Set Source connection<br />--Set Target project<br />--Set ...
SSDT Schema Compare<br />
Refactoring<br /><ul><li>Find All Dependencies
Rename with Preview
Intellisense</li></li></ul><li>Version Targeting & Publishing<br />
Visual Studio 2010 SP1<br />demo <br />With SQL Server Data Tools <br />--Server Explorer<br />--Entity Framework<br />--D...
SQL Server Data Tools…<br /><ul><li>Table Designer
Schema Compare
Snapshots
Refactoring (find all references & go to definition)
Upcoming SlideShare
Loading in...5
×

SQL Azure at SQL Pass Summit

1,602

Published on

deck from SQL Pass Summit

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • http://www.dbmanagement.info/Tutorials/SQL.htm
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
1,602
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
43
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide
  • Session AbstractDEVCT308 - Developing with SQL Azure: Tools &amp; Frameworks In ActionThis session will be jam-packed with hands-on demonstrations lighting up SQL Azure with new and existing applications. We&apos;ll start with the steps to creating a SQL Azure account and database, then walk through the tools to connect to it. Then we&apos;ll open Visual Studio to connect to .NET applications with Entity Framework, OData, and SQL Server Tools Codename &quot;Juneau&quot;.Track Name, Acronym and Track PMBusiness Intelligence (BIN) – Peter SpragueBusiness Solutions (MSDY) - Pattie Grimm, Scarlet LeungDatabase (DB) –Dandy Weyn, Kevin Ashby, Maxine CooDevelopment Tools &amp; Technologies (DEV) – Bijan JavidiCross Track CoverageApplication Platform – APS/DB/AZR/ARC Solution Accelerators – Michelle Arney, Michelle Walls Compete – Mike Brevard Trustworthy Computing – Christopher Pelletier Next Web – Olga Londer User Experience – Alison ClarkPrivate Cloud – Aurora Santiago Windows Embedded – Olivier Bloch
  • Connection failures…#1 cause of incidents Intermittent and difficult to diagnoseMany reasons for connection, network issuesRequirement:Implement connection re-try logicCapture and log details about returned error codes, connection specific detailsResources:SQL Azure: Connection Management in SQL Azure: http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connection-management-in-sql-azure.aspxConnections and SQL Azure: http://blogs.msdn.com/b/sqlazure/archive/2010/05/11/10011247.aspxBest Practices for Handling Transient Conditions in SQL Azure Client : http://blogs.msdn.com/b/appfabriccat/archive/2010/10/28/best-practices-for-handling-transient-conditions-in-sql-azure-client-applications.aspx
  • SQL authenticationFeatures being added to this portal, will ‘appear’ when enabled.
  • Server management optionsCreate database optionsThen over to the database management portal andDatabase management optionsAlso show SQLAzureLabs portal
  • Limited, invite-only beta at this time.
  • Also show SQLAzureLabs portalEF 4.1 - http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=8363
  • Those scenarios can be addressed using Microsoft SQL Azure reporting to extend BI reporting services to the cloud. Here you can see that report developers can use familiar reporting tools such as BIDS and Report Builder to create reports and publish them through the firewall to a SQL Azure Reporting repository in the cloud. The data in the reports could reside either in SQL Azure, Windows Azure Marketplace DataMarket or come via an OData data feed. End users from outside and within the firewall can then access these reports either through a line-of-business application or through their web browser.Reports can be consumed via the SQL Azure Reporting Portal or they can be embedded in LOB Applications hosted on premises or on the Windows Azure PlatformLet’s now revisit those key scenarios to show how SQL Azure Reporting can address them.
  • Open up new possibilities and opportunities for your business with SARQuickstart: Gain rapid time-to-market and minimize risk by enabling rapid start departmental or sandbox reporting solutions using SAR. Get up and running a days versus months.Seasonal: Cost effectively handle seasonal reporting needs. No need to over-invest in excess IT capacity on premises. Use what capacity you need when you need it to optimize your costsExtended: Increase collaboration and share insights with suppliers by sharing relevant information in the cloud that suppliers can report againstHybrid: Put some of your data in the cloud while keeping other information on-premises, and report against both
  • Per the SQL Azure team blog“We will be making updates to SQL Azure over the next few months, to ensure uninterrupted connectivity to SQL Azure using SQL Server Management Studio 2008 R2 please install SP1”
  • From MSDN documentation – also ‘supported’ objects (http://msdn.microsoft.com/en-us/library/ee210549(v=SQL.110).aspx)The following changes have been made for data-tier applications (DACs) in CTP3:The data-tier application (DAC) upgrade has been changed to an in-place process that alters the existing database to match the schema defined in the new version of the DAC. This replaces the side-by-side upgrade process, which created a new database with the new schema definitions. The Upgrade a Data-Tier Application wizard has been updated to perform an in-place upgrade. The Upgrade method of the DacStore type is now deprecated, and replaced with a new IncrementalUpgrademethod. Upgrades are also supported for DACs deployed to SQL Azure. For more information, see Upgrade a Data-tier Application.In addition to just extracting a schema definition as a new DAC package file, you can now export both the schema definition and data from a database as a DAC export file. You can then import the file to create a new database with the same schema and data. For more information, see Export a Data-tier Application and Import a Data-tier Application.Data-tier applications now support many more objects than in SQL Server 2008 R2. For more information, see DAC Support For SQL Server Objects and Versions.
  • Intellisense for SQL Server 2012 databases in CTP 3MSDN ‘unsupported T-SQL’ http://msdn.microsoft.com/en-us/library/ee336253.aspx
  • July 2011 versions of these tools work with SQL Server 2012 (Denali) CTP 3
  • More info - http://msdn.microsoft.com/en-us/data/tools.aspxConnected DevelopmentOffline DevelopmentPublish to SQL AzureDrift Detection and Snapshots· Develop SQL Server tables using SSDT’s new Table Designer. · Safely update the structure (i.e., schema) of SQL Server databases using SSDT. (add FK)· Develop SQL Server views and other database objects using T-SQL code. · Synchronize a SQL Server database project with a SQL Server database using SSDT’s Schema Compare feature. Leverage SSDT’s code productivity features for refactoring, Find All References, and Go To Definition. · Use a SSDT project to create SQL Server database objects. · Debug/test database projects using SSDT’s Local DB feature. Synchronize a SQL Server database with a SQL Server database project using SSDT’s Publish feature. To generate incremental T-SQL update scripts from an database project using SSDT’s Publish feature.
  • http://msdn.microsoft.com/en-us/data/tools.aspxSome notable new features:¦The Server Explorer in Juneau now provides you with an SSMS-like view of your database objects¦The ability to analyze a set of changes and generate a script that will then update the database based on those changes in the development environment¦Preview database updates – The commit operation will provide a deployment report, which contains a preview of all the actions it is going to take, together with potential issues it has identified¦Improved intellisense¦Ships with a single-user lightweight SQL Server version to help with debugging¦Refactor table names, field names, etc, without losing data¦Debug stored procedures¦Can target different versions of SQL Server, including Azure¦Can take a snapshot of the project. Allows you to have versions of your database. Can track history of changes over time¦Can compare your project to the current state of the database. So you can see, for example, indexes added to the live database and add those index changes to your project. Can do things like a schema compare between two versions: a developer can start with a snapshot, make changes, then send the differences to the dba to implement; ISV’s can track databases it has sent to customers and send them scripts to update their database¦On the horizon: reference data support (storing data with the schema), database diagrams, query designer¦Any errors caused by editing in either the TSQL Editor or Table Designer immediately show up in the Error List pane, and are platform specific¦You can now add SQLCLR objects directly to the same database project that is opened, without resorting to opening a specific SQLCLR project. Your TSQL stored procedures can interact with your SQLCLR objects within the same project. Debugging and deployment can also happen seamlessly¦Coding support that includes: Go To Definition and Find All References; the Refactor contextual menu which enables you to rename or move an object and do a preview of all affected areas before committing to the change¦You can create an ADO.NET Entity Data Model and choose to have the model contents generated from an existing database project. Fine-grained synchronization control settings are provided to enable you to specify how changes are propagated between the entity data model and the database project
  • Diagram credit - http://www.jamesserra.com/wp-content/uploads/2011/05/Untitled-picture2.png
  • Read the FAQ – particularly good for comparision of features to ‘Data Dude’http://msdn.microsoft.com/en-us/data/hh322942
  • http://www.microsoft.com/visualstudio/en-us/lightswitch
  • Tools overview from Buck Woody’s blog - http://www.informit.com/guides/content.aspx?g=sqlserver&amp;seqNum=389No r&gt;start powerShell – ratherInvoke-Sqlcmd -Query &quot;SELECT * FROM sys.databases;&quot; -ServerInstance &quot;MySQLAzureServerName.database.windows.net&quot; -Username &quot;YouUserNameIncludeTheQuotes&quot; -Password &quot; YourPasswordncludeTheQuotes “--OR—# Connect and run a command using SQL Native Client, Returns a recordset# Create and open a database connection $sqlConnection = new-object System.Data.SqlClient.SqlConnection &quot;Server=tcp:YourServerName.database.windows.net;Database=master;User ID=YourUserName;Password=YourPasswordName;Trusted_Connection=False;&quot; $sqlConnection.Open() # Create a command object $sqlCommand = $sqlConnection.CreateCommand() $sqlCommand.CommandText = &quot;SELECT @@VERSION&quot; # Execute the Command $sqlReader = $sqlCommand.ExecuteReader() # Parse the records while ($sqlReader.Read()) { write-host $sqlReader[0] $intRow = $intRow + 1 } # Close the database connection $sqlConnection.Close()
  • Beth Massi – TechEd 2011 North America talk on OData - http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV308
  • More info - http://msdn.microsoft.com/en-us/data/tools.aspx
  • Transcript of "SQL Azure at SQL Pass Summit"

    1. 1. SQL Azure<br />Where We Are Today, and Microsoft's Cloud Data Strategy<br />Lynn Langit: Senior Developer Evangelist, Microsoft<br />Gregory Leake: Director SQL Azure Technical Marketing, Microsoft<br />
    2. 2. Session Objectives and Takeaways<br />Session Objective(s): <br />See and understand the breadth of DBA tools for SQL Azure<br />These tools include the following:<br /><ul><li>Windows Azure Portal
    3. 3. SQL Server Management Studio
    4. 4. Visual Studio (Juneau –or SSDT)/ LightSwitch
    5. 5. OData, WCF Data Services</li></ul>Session Takeaway:<br />SQL Azure has a variety of tools for DBAs and Developers<br />Use the right tool for the task(s) <br />Note: we are covering RELATIONAL cloud database options here only. For information about non-relational (i.e. NoSQL, etc…) see this link http://code.msdn.microsoft.com/windowsazure/CSAzureTableStorageWCFDS-2355159b<br />
    6. 6. Extending SQL Server to the Cloud<br />Distributed “scale-out” database service<br />Abstracts OS and hardware management<br />Low-friction provisioning, multi-tenant<br />Automatic high-availability and data replication<br />Pay-as-you-go and commitment offers<br />Enterprise-class “scale-up” data platform<br />Multiple hardware platforms and deployment options<br />Deploy as dedicated server in customer datacenter, VM or 3rd party<br />Typically licensed per-server or per processor<br />Symmetry with Traditional RDBMS<br />Familiar T-SQL relational model<br />Support existing code libraries and protocols<br />Ecosystem of familiar development and management tools<br />
    7. 7. SQL Azure Database<br />Single Logical<br />Database<br />Multiple PhysicalReplicas<br />Replica 1<br />Single Primary<br />Cloud relational database based on SQL Server engine<br />Use same tools, data access frameworks, T-SQL based language<br />Global datacenters<br />High Availability & Redundancy<br />Reads are completed at the primary<br />Writes are replicated to a quorum of secondaries<br />DB<br />Replica 2<br />Multiple<br />Secondaries<br />Replica 3<br />
    8. 8. SQL Azure Futures<br />New announcements tomorrow at 8:15 AM<br />Stay tuned to tomorrow’s keynote for new SQL Azure Announcements, demonstrations<br />http://blogs.msdn.com/b/windowsazure/<br />SQL Azure Reporting Final CTP<br />Open to all via Windows Azure Management Portal<br />Commercial Release Q1 2012<br />SQL Azure Data Sync Final CTP<br />Open to all via Windows Azure Management Portal<br />Commercial Release Q1 2012<br />Refresh of SQL Server Data Tools (formerly “Juneau”): Q4 2011<br />Commercial Release with SQL Server 2012, also on Web for download<br />Refresh of SQL Server Management Studio: Q1 2012<br />Commercial Release with SQL Server 2012, also on Web for download Q1 2012 with SSMS Express<br />
    9. 9. SQL Azure Portal<br />
    10. 10. Portal for Database Management<br />
    11. 11. SQL Azure Portal<br />Silverlight-based tools<br />demo <br />
    12. 12. SQL Azure Data Sync<br />On-Premises<br />Cloud<br />Application<br />Application<br />SQL Azure<br />SQL Server<br />Application<br />Application<br /><ul><li>Geo-located web applications
    13. 13. Use with Windows Azure Traffic Manager
    14. 14. Hybrid applications; one-way publish or two-way sharing</li></ul>SQL Azure<br />SQL Azure<br /><ul><li>Multiple locations (e.g. branch office, retail offices); share data between locations and/or aggregate data in cloud</li></ul>Application<br /><ul><li>Scale-out via multiple copies of data
    15. 15. E.g. Separate reporting & OLTP workloads; multiple Web sites</li></ul>Application<br />SQL Azure<br />SQL Server<br />
    16. 16. SQL Azure Reporting and Data Sync Previews<br />
    17. 17. SQL Azure Data Sync (CTP)<br />No-Code Sync Configuration<br />Configure and manage using Windows Azure Portal<br />Define data to be synchronized and locations<br />Choose how often data is synchronized<br />Specify optional filters<br />Full Data Synchronization Capabilities<br />Two-way sync of same data, as well as one-way sync<br />Conflict Handling<br />Detect and resolve conflicts caused by the same data being changed in multiple locations<br />
    18. 18. SQL Azure Data Sync<br />demo <br />
    19. 19. End users<br />End Users<br />SQL Azure Reporting and Cloud BIExtending reporting services to the cloud<br />Windows Azure LOB Application<br />URL access to reports or LOB application<br />Report Developers<br />Publish Reports to SQL Azure Reporting<br />Reporting Tools<br />
    20. 20. Cloud BI Value Scenarios<br />QuickStart, Departmental, Sandbox BI<br />Seasonal processing<br />Hybrid deployments<br />Extended Enterprise<br />Compute <br />Average Usage <br />Time <br />Businesses need to share insights from data generated by internal systems with external partners including supply chain partners<br />Departments, groups or small businesses need reporting but don’t have the resources for procuring hardware and software licenses, installing, configuring and managing the system<br />Businesses need the flexibility to pick the right deployment option to address specific requirements including maintaining sensitive data on premises while extending access. <br />Businesses with seasonality or fluctuating capacity over time cannot easily plan for maximum capacity – which will be idle a large % of the time. <br />
    21. 21. About SQL Azure & SSMS 2008 R2 SP1<br />Be sure to update to SP1 - here<br />
    22. 22. SQL Server Management Studio<br />demo <br />SQL Server 2012 CTP 3<br />--Connection Info<br />--UAC <br />--DACPAC<br />
    23. 23. About SQL Azure, SQL Server 2012 & SSMS <br />
    24. 24. 3rd Party Tools<br />Download Migration Tools – here<br />Download Migration Wizard - here<br />
    25. 25. SQL Server Data Tools Preview Release<br />demo <br />Visual Studio Shell<br />SQL Server Data Tools<br />Formerly codename “Juneau”<br />
    26. 26. New! SQL Server Data Tools in Visual Studio<br />Can target SQL Azure (version targeting)<br />Server Explorer<br />Can Snapshot project (database)<br />Can Schema compare<br />Supports entity framework<br />Improved Intellisense<br />Error syntax highlighting<br />Easier refactoring<br />Easier debugging (including stored procs)<br />
    27. 27. SSDT<br />Server Explorer<br />Data Connections<br />New Node – SQL Server<br /><ul><li>Connect to SQL Azure
    28. 28. Connect to SQL Server
    29. 29. LocalDB
    30. 30. Can work online or offline</li></li></ul><li>SSDT Architecture<br />
    31. 31. New – Table Designer in Visual Studio<br />
    32. 32. Offline Projects – Visual Studio<br />New Project Type <br />--Set Source connection<br />--Set Target project<br />--Set Import settings<br />--Creates Off-line Project<br />
    33. 33. SSDT Schema Compare<br />
    34. 34. Refactoring<br /><ul><li>Find All Dependencies
    35. 35. Rename with Preview
    36. 36. Intellisense</li></li></ul><li>Version Targeting & Publishing<br />
    37. 37. Visual Studio 2010 SP1<br />demo <br />With SQL Server Data Tools <br />--Server Explorer<br />--Entity Framework<br />--DACPAC<br />--Refactoring<br />--Intellisense<br />
    38. 38. SQL Server Data Tools…<br /><ul><li>Table Designer
    39. 39. Schema Compare
    40. 40. Snapshots
    41. 41. Refactoring (find all references & go to definition)
    42. 42. SSDT project (to create local objects)
    43. 43. Debug/test w/local DB
    44. 44. Publish (sync and/or apply incremental updates)</li></li></ul><li>LightSwitch<br />demo <br />
    45. 45. Visual Studio Light Switch<br />Beth Massi blog <br />Azure and Light Switch – here <br />
    46. 46. Other tools<br /><ul><li>SDKs for Mobile Development on Windows Azure
    47. 47. http://www.microsoft.com/windowsazure/scenarios/mobile-applications/
    48. 48. PowerShell
    49. 49. Command-line
    50. 50. SQLCMD
    51. 51. bcp
    52. 52. CodePlex tools
    53. 53. SQL Azure Migration Wizard
    54. 54. 3rd party tools
    55. 55. Cerebrata, RedGate, Quest</li></li></ul><li>About OData<br />Portal Location for CTP of ODATAService:http://www.sqlazurelabs.com<br />
    56. 56. About SQL Azure & OData<br />
    57. 57. SQL Azure, OData and WCF Data Services<br />demo <br />
    58. 58. 36<br />Session Code | Session Title<br />Hands-on Labs<br />Get experienced through self-paced & instructor-led labs on our cloud based lab platform - bring your laptop or use HP provided hardware<br />Microsoft SQL Server Clinic<br />Work through your technical issues with SQL Server CSS & get architectural guidance from SQLCAT<br />Expert Pods <br />Meet Microsoft SQL Server Engineering team members & <br />SQL MVPs<br />Microsoft Product Pavilion <br />Talk with Microsoft SQL Server & BI experts to learn about the next version of SQL Server and check out the new Database Consolidation Appliance<br />Room611<br />ExpoHall<br />6th Floor Lobby <br />Room 618-620<br />
    59. 59. SQL Azure Related SQL Pass Content<br />Core SQL Azure<br />Thursday 10:15 Room 602 (Hybrid)<br />Thursday 3:00 Room 401 (SSDT)<br />Friday 1:00 Room 609<br />Reporting in SQL Azure<br />Thursday 10:15 Room 612<br />Scaling SQL Azure<br />Thursday 5:00 Room 609 (Sharding)<br />Friday 4:15 Room 401 (SQLCat)<br />Migrate to SQL Azure <br />Friday 10:15 Room 606<br />Friday 1:00 Room 401 (Federations)<br />
    60. 60. SQL Azure Team Content <br /><ul><li>Windows Azure Platform Blog - here
    61. 61. MSDN SSDT section
    62. 62. MSDN Forum – here
    63. 63. SSDT Team Blog - here </li></li></ul><li>Lynn’s Content<br />Resources<br />http://www.lynnlangit.com<br />Twitter - @lynnlangit<br />http://www.slideshare.net/lynnlangit<br />
    64. 64. Complete the Evaluation Form to Win!<br />Win a Dell Mini Netbook – every day – just for submitting your completed form. Each session evaluation form represents a chance to win.<br />Pick up your evaluation form:<br />In each presentation room<br />Online on the PASS Summit website<br />Drop off your completed form:<br />Near the exit of each presentation room<br />At the Registration desk<br />Online on the PASS Summit website<br />Sponsored by Dell<br />40<br />Session Code | Session Title<br />
    65. 65. Thank you<br />for attending this session and the 2011 PASS Summit in Seattle<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×