Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction To Sql Services


Published on

slides for talk delivered Feb 23, 2009 in SFO

Published in: Technology
  • Be the first to comment

Introduction To Sql Services

  1. 1. Introduction to SQL Services Lynn Langit Developer Evangelist - Microsoft
  2. 2. Microsoft Cloud Services Database Data Sync Reference Data ETL Data Mining Reporting
  3. 3. SQL Data Services <ul><li>Virtualized Database in cloud </li></ul><ul><ul><li>NOT hosted databases </li></ul></ul><ul><li>Based on SQL Server technology </li></ul><ul><ul><li>Distributed fabric of SQL Server nodes </li></ul></ul><ul><ul><li>Process queries, store & index data </li></ul></ul><ul><ul><li>Highly available / scalable infrastructure </li></ul></ul><ul><ul><ul><li>Based on partitioning </li></ul></ul></ul><ul><ul><ul><li>Uses replication between nodes </li></ul></ul></ul><ul><li>Early relational capabilities today </li></ul><ul><ul><li>moving to expose more in future </li></ul></ul><ul><ul><li>Current restriction details here </li></ul></ul>
  4. 4. Cloud Data Services Data Spectrum Data Capability File System Rich Data Services Blobs, Queues, Tables Relational Data & BI capabilities SDS Windows Azure
  5. 5. What does SDS Provide ? <ul><li>Availability and Agility </li></ul><ul><li>Instant Scale </li></ul><ul><li>Reliability </li></ul><ul><li>Security </li></ul><ul><li>Cost Effectiveness </li></ul>Save time…
  6. 6. What does SDS Eliminate ? <ul><li>Configure Database Servers </li></ul><ul><ul><li>Configure physical / logical storage </li></ul></ul><ul><li>Managing Hardware </li></ul><ul><ul><li>Size DB server (memory, CPU, …) </li></ul></ul><ul><ul><li>Install / patch DB software </li></ul></ul><ul><ul><li>Diagnose / resolve hardware failures </li></ul></ul>
  7. 7. The ACE Model <ul><li>A uthority </li></ul><ul><ul><li>Unit of geo-location and billing </li></ul></ul><ul><ul><li>Tied to DNS name </li></ul></ul><ul><li>C ontainer </li></ul><ul><ul><li>Partition of Data </li></ul></ul><ul><ul><li>Widest domain of Query </li></ul></ul><ul><ul><li>Collection of HeterogeneousEntities </li></ul></ul><ul><li>E ntity </li></ul><ul><ul><li>Property bag of name/value pairs </li></ul></ul><ul><ul><li>Lightly-typed </li></ul></ul><ul><ul><li>Unit of update/retrieval </li></ul></ul><ul><ul><li>Schema-less, Flexible </li></ul></ul>
  8. 8. Architecture Fabric Replication Client Tier Mgmt. Services Data Node SQL Server Fabric Mgmt. Services Data Node SQL Server Fabric Mgmt. Services Data Node SQL Server Fabric Mgmt. Services Data Node SQL Server Fabric Distributed SQL Data Cluster Mgmt. Services Data Node SQL Server Fabric Mgmt. Services SQL Server Fabric Data Node Data Node SDS Service Tier Storage Tier Microsoft Global Foundation Services [ADO.Net client] REST SOAP SDS Runtime
  9. 9. Data & Operational Model Data Model Operational Model
  10. 10. Getting Started <ul><li>Request an account - here </li></ul><ul><li>Manage your account - here </li></ul>
  11. 12. Reading Data https:// myauthority mycontainer / myentity
  12. 13. Writing Data https:// myauthority mycontainer / myentity
  13. 14. Query Model <ul><li>Text query language via web-service header ( as literal text string) </li></ul><ul><li>Language patterned after C # LINQ syntax from e in entities.OfKind(“ BlogEntry ”) where e[“ Tag ”] == “ SDS ” && e[“ Posted ”] >= DateTime(“ 2008-10-18 ”) && e[“ IsPublic ”] == true select e </li></ul><ul><li>Operator semantics handles variant values </li></ul><ul><ul><li>e[“ Posted ”]could be DateTime in one entity and string in another </li></ul></ul><ul><ul><li>e[“ Tag ”] == “CUSTOMER” means look for instances where Tag is a string and has value “CUSTOMER”. i.e. type inference using literal syntax </li></ul></ul><ul><li>Query supported over metadata and data properties </li></ul><ul><ul><li>e.Id vs. e[“ EntryId ”] </li></ul></ul>
  14. 15. Query Operations <ul><li>Projection of full entity </li></ul><ul><ul><li>no shaping or construction </li></ul></ul><ul><ul><li>Simple boolean operators (<, >, <=, >=, !=, ==, …) </li></ul></ul><ul><ul><li>Simple Join within Container </li></ul></ul><ul><ul><li>OrderBy and TOP operations </li></ul></ul><ul><li>Future Enhancements: </li></ul><ul><ul><li>Aggregates (Count, Sum, GroupBy) </li></ul></ul><ul><ul><li>Skip, robust paging </li></ul></ul><ul><ul><li>Starts-With, Ends-With() </li></ul></ul><ul><ul><li>More SQL-like features </li></ul></ul>
  15. 16. Security Model <ul><li>Basic Authentication in CTP today </li></ul><ul><ul><li>Username, password </li></ul></ul><ul><ul><li>Simple Authorization ( per Authority ) </li></ul></ul><ul><li>Integration with Azure Access Control </li></ul><ul><ul><li>Supports all Access Control authentication </li></ul></ul><ul><ul><li>Work underway to provide rich, granular authorization </li></ul></ul>
  16. 17. SQL Data Services Data model
  17. 18. Database Reference Data ETL Data Mining Reporting Data Sync
  18. 19. Data Sync <ul><li>Consolidates data from multiple sources </li></ul><ul><li>Enables data sharing between mobile users, remote offices and business partners </li></ul><ul><li>Allows leveraging cloud-computing for BI, ETL, Reporting </li></ul><ul><li>Is an available, highly scalable endpoint </li></ul>Public App On Premises Assets and Data Mobile Users
  19. 20. &quot;Huron&quot; + MS Sync Framework <ul><ul><li>Scale via SQL Data Services </li></ul></ul><ul><li>Consolidate business data in cloud & enable sharing </li></ul><ul><ul><li>to other desktops & mobile users </li></ul></ul><ul><li>Synchronize (network available) </li></ul><ul><li>Each user does not have to be connected to a single database </li></ul><ul><li>Out-of-the-box publication of Microsoft databases </li></ul><ul><li>Solves the rendezvous problem </li></ul><ul><li>More detail here </li></ul>Mobile Clients Rich Clients “ Huron” Sync Service SDS Direct Clients sync subset
  20. 21. Database Reference Data ETL Data Mining Reporting Data Sync
  21. 22. Business Intelligence at a Glance SQL Server Analysis Server (SSAS) SQL Server Integration Server (SSIS) SSIS source component for SSDS Data Provider SQL Server Report Server (SSRS) Investments to enable you to leverage cloud data in existing data processes – e.g. Reporting, Data Mining and ETL
  22. 23. Reporting <ul><li>On-premises provider </li></ul><ul><ul><li>Can pull from SDS & on-premises data </li></ul></ul><ul><li>Leverage existing processes & assets </li></ul><ul><ul><li>Uses existing tools & run-time </li></ul></ul><ul><ul><li>Flexible Report Builder </li></ul></ul><ul><ul><li>Rich Visualizations </li></ul></ul>
  23. 24. Report Designer: SSDS data sources
  24. 25. Report Designer: Query against SSDS
  25. 26. BIDS Report Designer SSRS and SQL Data Services
  26. 27. Data Mining <ul><li>Extension of SSAS Table Analysis Tools </li></ul><ul><li>Leverage data from SSDS or load data from Excel </li></ul><ul><li>Benefits </li></ul><ul><ul><li>Rich “attached service” for use in building sophisticated apps </li></ul></ul><ul><ul><li>Zero setup/admin </li></ul></ul><ul><ul><li>Friction free capacity (multiple users) </li></ul></ul>Excel add-in Analyze your spreadsheet data <ul><li>Thin Client </li></ul><ul><li>Pull data directly from SQL Server Data Services </li></ul><ul><li>Upload your CSV files </li></ul>
  27. 28. DM in the Cloud <ul><li>Test Data Types </li></ul><ul><li>Relational </li></ul><ul><li>CSV </li></ul><ul><li>SQL Services </li></ul>
  28. 29. Try it in the cloud…
  29. 30. Data Mining and Excel integration
  30. 31. Calling the Cloud…(from Excel 2007)
  31. 32. Data Mining
  32. 33. Resources <ul><li>Azure Services Platform - here </li></ul><ul><li>Ryan Dunn blog – here </li></ul><ul><li>Sync Blog – here </li></ul><ul><li>SQL Labs Incubation Projects – here </li></ul><ul><li>SDS Provisioning Client – here </li></ul><ul><li>My Blog (SoCalDevGal) - here </li></ul>
  33. 34. © 2008 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.