SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Windows Azure Platform

Training Workshop
Building Applications using SQL
    Azure

    Name
    Title
    Organization
    Email


3
Reporting       Business Analytics     Data Sync




 The Power of the SQL Data Platform in the cloud

 Leverages existing skills and rich tooling ecosystem

 Enables database applications with new, “cloud” capabilities
SQL Azure Database
                      Highly scaled out relational database as a service


                                                                               Relational database service
          Browser
                                                                   • SQL Server technology foundation
                                                                   • Highly symmetrical
SOAP/REST         ADO.NET/REST - EDM
  HTTP/S               HTTP/S                                      • Highly scaled
                                                                   • Highly secure
          App Code
          (ASP.NET)
                                                                         Database “as a Service” – beyond hosting
                                        SQL Server Report Server
                  Windows Azure              (on-premises)
                                                                                 Customer Value Props
                    Compute
                                                                    Self-provisioning and capacity on demand
T-SQL (TDS)           T-SQL (TDS)
                                                                    Symmetry w/ on-premises database platform
      SQL Azure                                                     Automatic high-availability and fault-tolerance
      Database             MS
                                                                    Automated DB maintenance (infrastructure)
                        Datacenter
                                                                    Simple, flexible pricing – “pay as you grow”

                          - AD Federation (LiveId /AppFabric AC)
SQL Azure Network Topology
                                                                         Applications use standard SQL client
                                                      Application        libraries: ODBC, ADO.Net, …




                                         TDS (tcp:1433)

                                                                        Load balancer forwards ‘sticky’
                                                     Load Balancer      sessions to TDS protocol tier

TDS (tcp: 1433)



          Gateway            Gateway         Gateway          Gateway        Gateway          Gateway

TDS (tcp: 1433)


    Data Node             Data Node         Data Node          Data Node        Data Node         Data Node


                  Scalability and Availability: Fabric, Failover, Replication and Load balancing
6
Performance Considerations
     The distance your application travels to perform data
     access will affect performance




7
V1 Application Topologies
    SQL Azure access from within MS Datacenter         SQL Azure access from outside MS Datacenter
          (Azure compute – ADO.NET)                           (On-premises – ADO.NET)
                  Application/
                   Browser                                                 App Code
                                                                            / Tools


            SOAP/REST    ADO.NET Data Svcs/REST - EF
              HTTP/S              HTTP/S


                   App Code
                   (ASP.NET)

                               Windows Azure
                                                                   T-SQL (TDS)
           T-SQL (TDS)



                   SQL Data                                                SQL Data
                                         MS                                              MS
                   Services                                                Services   Datacenter
                                      Datacenter


               Code Near                                                Code Far

8
Data Hub                            “An aggregation of
                                        Enterprise, Partner, Desktop, and Device data
                                        within SQL Azure”


                  Windows Azure                                    Enterprise
                       Azure App                                   On-premises
                                                                       App




                                              SQL Azure



      Enterprise
          User
       Management

         Device
       Management                   Desktop                    Device
                          Sync                  Client App               Client App
         Business
       Logic / Rules      Gateway              Sync Client              Sync Client




9
Service Provisioning Model
                  Each account has zero or more servers
        Account     Azure wide, provisioned in a common portal
                    Billing instrument
                  Each server has one or more databases
                    Contains metadata about the databases and usage
                    Unit of authentication
        Server      Unit of Geo-location
                    Generated DNS based name
                  Each database has standard SQL objects
                    Unit of consistency
       Database     Unit of multi-tenancy
                    Contains Users, Tables, Views, Indices, etc.
                    Most granular unit of billing


10
Setting Up SQL Azure Account
      Request token for SQL Azure at
      http://www.azure.com/

      Tokens will generally be provisioned within a
      couple days

      Redeeming tokens
        Setup administrative user
        Specify geo-location

11
Preparing your SQL Azure
     Account
                (click-through & portal)




12
SQL Azure
     Deployment




      DB
                   SQL Azure
     Script
                  TDS Gateway




13
SQL Azure
     Accessing databases

         Change Connection String



       Your            SQL Azure
                      TDS Gateway
       App




14
Connecting to SQL Azure
      Connect via ADO.NET, ODBC, etc.
      OLE DB is NOT supported
      May need to include <login>@<server>
      USE statement is NOT currently supported
      Use familiar tools (sqlcmd, osql, SSMS, etc)
      Current version of SSMS is not fully supported
      but it works (demo to come)
      Tools will evolve before PDC for increased
      support

15
Connecting to SQL Azure




16
SQL Azure Security
      Supports SQL Server Security

      On-premise SQL Server security concepts still
      apply
        Server-level: sds_dbcreator, sds_securityadmin roles
        Database-level: same as on-premise SQL Server

      SSMS Object Explorer is NOT currently
      supported

      Administrative user is equivalent to sa
17
Managing Logins & Security
     in SQL Azure




18
T-SQL Support (full or partial)
      Constants                Tables, joins, and table
      Constraints              variables
      Cursors                  Transact-SQL language
      Index management and     elements such as
      rebuilding indexes         Create/drop databases
                                 Create/alter/drop tables
      Local temporary tables
                                 Create/alter/drop users
      Reserved keywords          and logins
      Stored procedures          …
      Statistics management    User-defined functions
      Transactions             Views
      Triggers
19
T-SQL Not Supported (v1)
      Common Language            SQL Server configuration
      Runtime (CLR)              options
      Database file placement    SQL Server Service Broker
      Database mirroring         System tables
      Distributed queries        Trace Flags
      Distributed transactions
      Filegroup management
      Full Text Search
      Global temporary tables
      Spatial data and indexes

20
Creating Objects in SQL Azure




21
Migrating Databases
      “Just change the connection string”
      * once database is migrated

      Generate script wizard from SSMS currently
      creates unsupported DDL

      SQL Server Management Studio 2008 R2 has
      increased support for SQL Azure

      Migrating Databases to SQL Azure HOL in the
      Windows Azure Platform Training Kit
22
Migrating Database Schemas
     to SQL Azure




23
Moving data
      Scripted INSERT statements

      SQL Server Integration Services
        Available in Developer and Trial editions
        Use ADO.NET endpoint

      BCP (bulk copy) is supported

      DataSync will enable Microsoft Sync Framework

24
Moving Data into SQL Azure
     with SSIS




25
Special Considerations: Database
     Size
      Maximum single database size is currently 10GB
      Database size calculation
        Includes: primary replica data, objects and indexes
        Does NOT include: logs, master database, system
        tables, server catalogs or additional replicas
      V1 does not support auto-partitioning or fan-out
      queries
      Must handle partitioning logic within the application
      See scale out SQL Azure content within the Windows
      Azure Platform Training Kit for additional guidance

26
Special Considerations: Throttling
     MSDN




     • Use traditional SQL Server best practices
     • CTP cluster has throttling limits turned up to allow for building
       logic into apps for handling this case
     • Build in retry logic especially if you expect very high throughput
       demands
     • Consider scaling out for high throughput scenarios
27
Special Considerations: PHP
      SQL Azure does NOT support Multiple Active
      Result Sets (MARS)

      Must use the SQL Server for PHP v1.1 or newer
      with MARS connection option set to FALSE




28
Building a Windows Azure
     App Connected to SQL Azure




29
Learning SQL Azure
      www.azure.com

      Hands on Labs in Windows Azure Platform
      Training Kit

      Follow the team bloggers




30
Want to Know More?
      Windows Azure Platform
      http://www.azure.com/


      Windows Azure Platform Training Kit
      http://www.microsoft.com/downloads/details.aspx?FamilyID=4
      13E88F8-5966-4A83-B309-53B7B77EDF78&displaylang=en


      MSDN Development Center
      http://msdn.microsoft.com/en-us/sqlserver/dataservices


      Team Blog
      http://blogs.msdn.com/ssds
31
32
© 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.




33

Weitere ähnliche Inhalte

Was ist angesagt?

6.Live Framework 和Mesh Services
6.Live Framework 和Mesh Services6.Live Framework 和Mesh Services
6.Live Framework 和Mesh ServicesGaryYoung
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudTobias Koprowski
 
Understanding The Azure Platform March 2010
Understanding The Azure Platform   March 2010Understanding The Azure Platform   March 2010
Understanding The Azure Platform March 2010DavidGristwood
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010DavidGristwood
 
Understanding The Azure Platform Jan
Understanding The Azure Platform   JanUnderstanding The Azure Platform   Jan
Understanding The Azure Platform JanDavidGristwood
 
SQL Server 2008 Highlights
SQL Server 2008 HighlightsSQL Server 2008 Highlights
SQL Server 2008 HighlightsIntergen
 
Mesh-Enabled Web Applications
Mesh-Enabled Web ApplicationsMesh-Enabled Web Applications
Mesh-Enabled Web Applicationsgoodfriday
 
3. Sql Services 概览
3. Sql Services 概览3. Sql Services 概览
3. Sql Services 概览GaryYoung
 
Windows Azure Platform
Windows Azure PlatformWindows Azure Platform
Windows Azure PlatformDavid Chou
 
Dale Brooks Resume D
Dale Brooks Resume DDale Brooks Resume D
Dale Brooks Resume DDale Brooks
 
ZK MVVM, Spring & JPA On Two PaaS Clouds
ZK MVVM, Spring & JPA On Two PaaS CloudsZK MVVM, Spring & JPA On Two PaaS Clouds
ZK MVVM, Spring & JPA On Two PaaS CloudsSimon Massey
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Miningllangit
 

Was ist angesagt? (18)

Azure diario de abordo
Azure diario de abordoAzure diario de abordo
Azure diario de abordo
 
Sql Server 2012
Sql Server 2012Sql Server 2012
Sql Server 2012
 
6.Live Framework 和Mesh Services
6.Live Framework 和Mesh Services6.Live Framework 和Mesh Services
6.Live Framework 和Mesh Services
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
 
Sql Azure Pass
Sql Azure PassSql Azure Pass
Sql Azure Pass
 
Understanding The Azure Platform March 2010
Understanding The Azure Platform   March 2010Understanding The Azure Platform   March 2010
Understanding The Azure Platform March 2010
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
 
Understanding The Azure Platform Jan
Understanding The Azure Platform   JanUnderstanding The Azure Platform   Jan
Understanding The Azure Platform Jan
 
SQL Server 2008 Highlights
SQL Server 2008 HighlightsSQL Server 2008 Highlights
SQL Server 2008 Highlights
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
A Lap Around Azure
A Lap Around AzureA Lap Around Azure
A Lap Around Azure
 
Mesh-Enabled Web Applications
Mesh-Enabled Web ApplicationsMesh-Enabled Web Applications
Mesh-Enabled Web Applications
 
3. Sql Services 概览
3. Sql Services 概览3. Sql Services 概览
3. Sql Services 概览
 
Windows Azure Platform
Windows Azure PlatformWindows Azure Platform
Windows Azure Platform
 
Dale Brooks Resume D
Dale Brooks Resume DDale Brooks Resume D
Dale Brooks Resume D
 
ZK MVVM, Spring & JPA On Two PaaS Clouds
ZK MVVM, Spring & JPA On Two PaaS CloudsZK MVVM, Spring & JPA On Two PaaS Clouds
ZK MVVM, Spring & JPA On Two PaaS Clouds
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
Patel v res_(1)
Patel v res_(1)Patel v res_(1)
Patel v res_(1)
 

Andere mochten auch

GEIL2012 Iチーム最終プレゼン
GEIL2012 Iチーム最終プレゼンGEIL2012 Iチーム最終プレゼン
GEIL2012 Iチーム最終プレゼンKazumasa Suzuki
 
Social Mission Consulting
Social Mission ConsultingSocial Mission Consulting
Social Mission ConsultingMelGray
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewRichard Giles
 

Andere mochten auch (6)

GEIL2012 Iチーム最終プレゼン
GEIL2012 Iチーム最終プレゼンGEIL2012 Iチーム最終プレゼン
GEIL2012 Iチーム最終プレゼン
 
Presentation 5-jan 1213
Presentation 5-jan 1213Presentation 5-jan 1213
Presentation 5-jan 1213
 
Throw of Fury
Throw of FuryThrow of Fury
Throw of Fury
 
Social Mission Consulting
Social Mission ConsultingSocial Mission Consulting
Social Mission Consulting
 
Howtospend.com
Howtospend.comHowtospend.com
Howtospend.com
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 Overview
 

Ähnlich wie Build Apps using SQL Azure Platform

Sql azure introduction
Sql azure introductionSql azure introduction
Sql azure introductionSuherman .
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud Eduardo Castro
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Servicesllangit
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft Private Cloud
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developersllangit
 
Sql azure database under the hood
Sql azure database under the hoodSql azure database under the hood
Sql azure database under the hoodEduardo Castro
 
SQL Server Data Services
SQL Server Data ServicesSQL Server Data Services
SQL Server Data ServicesEduardo Castro
 
Day Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure PlatformDay Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure PlatformWade Wegner
 
Introducing SQL Server Data Services
Introducing SQL Server Data ServicesIntroducing SQL Server Data Services
Introducing SQL Server Data Servicesgoodfriday
 
SQL Azure Dec 2010 Update
SQL Azure Dec 2010 UpdateSQL Azure Dec 2010 Update
SQL Azure Dec 2010 UpdateEric Nelson
 
SQL Azure Dec Update
SQL Azure Dec UpdateSQL Azure Dec Update
SQL Azure Dec UpdateEric Nelson
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWade Wegner
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StAllyWick
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersTobias Koprowski
 
Data Migration and Data-Tier Applications with SQL Azure
Data Migration and Data-Tier Applications with SQL AzureData Migration and Data-Tier Applications with SQL Azure
Data Migration and Data-Tier Applications with SQL AzureMark Kromer
 

Ähnlich wie Build Apps using SQL Azure Platform (20)

Sql azure introduction
Sql azure introductionSql azure introduction
Sql azure introduction
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developers
 
Sql azure database under the hood
Sql azure database under the hoodSql azure database under the hood
Sql azure database under the hood
 
SQL Azure Overview
SQL Azure OverviewSQL Azure Overview
SQL Azure Overview
 
SQL Server Data Services
SQL Server Data ServicesSQL Server Data Services
SQL Server Data Services
 
Day Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure PlatformDay Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure Platform
 
SQL under the hood
SQL under the hoodSQL under the hood
SQL under the hood
 
Introducing SQL Server Data Services
Introducing SQL Server Data ServicesIntroducing SQL Server Data Services
Introducing SQL Server Data Services
 
SQL Azure Dec 2010 Update
SQL Azure Dec 2010 UpdateSQL Azure Dec 2010 Update
SQL Azure Dec 2010 Update
 
SQL Azure Dec Update
SQL Azure Dec UpdateSQL Azure Dec Update
SQL Azure Dec Update
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
 
Why you should(n't) run your databases in the cloud
Why you should(n't) run your databases in the cloudWhy you should(n't) run your databases in the cloud
Why you should(n't) run your databases in the cloud
 
Sql Azure
Sql AzureSql Azure
Sql Azure
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 St
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
 
Data Migration and Data-Tier Applications with SQL Azure
Data Migration and Data-Tier Applications with SQL AzureData Migration and Data-Tier Applications with SQL Azure
Data Migration and Data-Tier Applications with SQL Azure
 
Sql Azure Pass
Sql Azure PassSql Azure Pass
Sql Azure Pass
 

Kürzlich hochgeladen

Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 

Kürzlich hochgeladen (20)

Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 

Build Apps using SQL Azure Platform

  • 2. Building Applications using SQL Azure Name Title Organization Email 3
  • 3. Reporting Business Analytics Data Sync  The Power of the SQL Data Platform in the cloud  Leverages existing skills and rich tooling ecosystem  Enables database applications with new, “cloud” capabilities
  • 4. SQL Azure Database Highly scaled out relational database as a service Relational database service Browser • SQL Server technology foundation • Highly symmetrical SOAP/REST ADO.NET/REST - EDM HTTP/S HTTP/S • Highly scaled • Highly secure App Code (ASP.NET) Database “as a Service” – beyond hosting SQL Server Report Server Windows Azure (on-premises) Customer Value Props Compute  Self-provisioning and capacity on demand T-SQL (TDS) T-SQL (TDS)  Symmetry w/ on-premises database platform SQL Azure  Automatic high-availability and fault-tolerance Database MS  Automated DB maintenance (infrastructure) Datacenter  Simple, flexible pricing – “pay as you grow” - AD Federation (LiveId /AppFabric AC)
  • 5. SQL Azure Network Topology Applications use standard SQL client Application libraries: ODBC, ADO.Net, … TDS (tcp:1433) Load balancer forwards ‘sticky’ Load Balancer sessions to TDS protocol tier TDS (tcp: 1433) Gateway Gateway Gateway Gateway Gateway Gateway TDS (tcp: 1433) Data Node Data Node Data Node Data Node Data Node Data Node Scalability and Availability: Fabric, Failover, Replication and Load balancing 6
  • 6. Performance Considerations The distance your application travels to perform data access will affect performance 7
  • 7. V1 Application Topologies SQL Azure access from within MS Datacenter SQL Azure access from outside MS Datacenter (Azure compute – ADO.NET) (On-premises – ADO.NET) Application/ Browser App Code / Tools SOAP/REST ADO.NET Data Svcs/REST - EF HTTP/S HTTP/S App Code (ASP.NET) Windows Azure T-SQL (TDS) T-SQL (TDS) SQL Data SQL Data MS MS Services Services Datacenter Datacenter Code Near Code Far 8
  • 8. Data Hub “An aggregation of Enterprise, Partner, Desktop, and Device data within SQL Azure” Windows Azure Enterprise Azure App On-premises App SQL Azure Enterprise User Management Device Management Desktop Device Sync Client App Client App Business Logic / Rules Gateway Sync Client Sync Client 9
  • 9. Service Provisioning Model Each account has zero or more servers Account Azure wide, provisioned in a common portal Billing instrument Each server has one or more databases Contains metadata about the databases and usage Unit of authentication Server Unit of Geo-location Generated DNS based name Each database has standard SQL objects Unit of consistency Database Unit of multi-tenancy Contains Users, Tables, Views, Indices, etc. Most granular unit of billing 10
  • 10. Setting Up SQL Azure Account Request token for SQL Azure at http://www.azure.com/ Tokens will generally be provisioned within a couple days Redeeming tokens Setup administrative user Specify geo-location 11
  • 11. Preparing your SQL Azure Account (click-through & portal) 12
  • 12. SQL Azure Deployment DB SQL Azure Script TDS Gateway 13
  • 13. SQL Azure Accessing databases Change Connection String Your SQL Azure TDS Gateway App 14
  • 14. Connecting to SQL Azure Connect via ADO.NET, ODBC, etc. OLE DB is NOT supported May need to include <login>@<server> USE statement is NOT currently supported Use familiar tools (sqlcmd, osql, SSMS, etc) Current version of SSMS is not fully supported but it works (demo to come) Tools will evolve before PDC for increased support 15
  • 15. Connecting to SQL Azure 16
  • 16. SQL Azure Security Supports SQL Server Security On-premise SQL Server security concepts still apply Server-level: sds_dbcreator, sds_securityadmin roles Database-level: same as on-premise SQL Server SSMS Object Explorer is NOT currently supported Administrative user is equivalent to sa 17
  • 17. Managing Logins & Security in SQL Azure 18
  • 18. T-SQL Support (full or partial) Constants Tables, joins, and table Constraints variables Cursors Transact-SQL language Index management and elements such as rebuilding indexes Create/drop databases Create/alter/drop tables Local temporary tables Create/alter/drop users Reserved keywords and logins Stored procedures … Statistics management User-defined functions Transactions Views Triggers 19
  • 19. T-SQL Not Supported (v1) Common Language SQL Server configuration Runtime (CLR) options Database file placement SQL Server Service Broker Database mirroring System tables Distributed queries Trace Flags Distributed transactions Filegroup management Full Text Search Global temporary tables Spatial data and indexes 20
  • 20. Creating Objects in SQL Azure 21
  • 21. Migrating Databases “Just change the connection string” * once database is migrated Generate script wizard from SSMS currently creates unsupported DDL SQL Server Management Studio 2008 R2 has increased support for SQL Azure Migrating Databases to SQL Azure HOL in the Windows Azure Platform Training Kit 22
  • 22. Migrating Database Schemas to SQL Azure 23
  • 23. Moving data Scripted INSERT statements SQL Server Integration Services Available in Developer and Trial editions Use ADO.NET endpoint BCP (bulk copy) is supported DataSync will enable Microsoft Sync Framework 24
  • 24. Moving Data into SQL Azure with SSIS 25
  • 25. Special Considerations: Database Size Maximum single database size is currently 10GB Database size calculation Includes: primary replica data, objects and indexes Does NOT include: logs, master database, system tables, server catalogs or additional replicas V1 does not support auto-partitioning or fan-out queries Must handle partitioning logic within the application See scale out SQL Azure content within the Windows Azure Platform Training Kit for additional guidance 26
  • 26. Special Considerations: Throttling MSDN • Use traditional SQL Server best practices • CTP cluster has throttling limits turned up to allow for building logic into apps for handling this case • Build in retry logic especially if you expect very high throughput demands • Consider scaling out for high throughput scenarios 27
  • 27. Special Considerations: PHP SQL Azure does NOT support Multiple Active Result Sets (MARS) Must use the SQL Server for PHP v1.1 or newer with MARS connection option set to FALSE 28
  • 28. Building a Windows Azure App Connected to SQL Azure 29
  • 29. Learning SQL Azure www.azure.com Hands on Labs in Windows Azure Platform Training Kit Follow the team bloggers 30
  • 30. Want to Know More? Windows Azure Platform http://www.azure.com/ Windows Azure Platform Training Kit http://www.microsoft.com/downloads/details.aspx?FamilyID=4 13E88F8-5966-4A83-B309-53B7B77EDF78&displaylang=en MSDN Development Center http://msdn.microsoft.com/en-us/sqlserver/dataservices Team Blog http://blogs.msdn.com/ssds 31
  • 31. 32
  • 32. © 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. 33

Hinweis der Redaktion

  1. For updates to this content please download the latest Azure Services Platform Training Kit from: http://www.azure.com
  2. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Preparing Your SQL Azure Account
  3. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Connecting to SQL Azure
  4. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Managing Logins &amp; Security in SQL Azure
  5. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Creating Objects in SQL Azure
  6. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Migrating Database Schemas to SQL Azure
  7. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Moving Data into SQL Azure with SSIS
  8. Excessive resource usageExecute transaction in the while loop Catch throttling errors that result in connection closedPause for a few seconds and reconnectContinue to execute transactions in the loop
  9. The step-by-step demo script for this demo is included in the Azure Services Training Kit. DEMO SCRIPT: Building a Simple SQL Azure App