SlideShare une entreprise Scribd logo
1  sur  43
The database in the cloud forAzure Services Platform, SQL Azure Ing. Eduardo Castro, PhD Comunidad Windows ecastro@grupoasesor.net http://ecastrom.blogspot.com
Session Objectives And Takeaways Session Objectives:   Provide “why”, “what”, and “how” around SQL Azure Help you to answer your customer’s Cloud questions Key Takeaways Microsoft will have a strong position in Cloud business software SQL Azure is different than SQL Server and hosted SQL Server SQL Azure will open up new scenarios and opportunities
Session Structure
What’s up with the Cloud?
What’s going on out there? Cloud perception… Costs? New capabilities? Massively scalable computing? IaaS, PaaS, SaaS ???  Value chains being remade Private clouds? Interop & standards…
A Working Definition of Cloud Computing Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.  This cloud model promotes availability and is composed of five essential characteristics, three service models, and four deployment models. NIST, Information Technology Laboratory 6
7 5 Essential Cloud Characteristics On-demand self-service  Broad network access Resource pooling Location independence Rapid elasticity Measured service NIST, Information Technology Laboratory
Business View New Capabilities Reducing Costs Opportunities Risks Remaking value, decision & influence chains…
Microsoft, Cloud & 	“business software”…
Platform dimensions Relationship Productivity Friction Velocity Facilities Focus Viability Trust Scale Characteristics of Software Platforms Platform vendors succeed when the platform helps others succeed
Cloud Success Factors Utility Computing Capability Technical capability Datacenter Innovation capability Application Pattern Capability Not just about the browser Multi-screen experience Platform, delivery & tooling Platform Ecosystem Work with ISVs, SIs, VARs & Businesses to get to Cloud
Challenges Identity and Access Management Composition / Workflow 2PL  OCC  Sync  Workflow Trust Availability Performance Information protection Latency It matters Separating logical / physical administration
Microsoft Value Proposition Provide “Multi-screen”Experience Provider Of Choice Provider w/ Choice Customers Hosters ISVs SIs VARs Existing BusinessProcesses Partners Billing as a Service ServiceComposition Internal Processes & Capabilities SaaS influencing OPS & Services PaaSBuildout Extreme Scale Data Centers MSR PartnerEcosystem Learning & Growth SaaS Experience (BPOS) IaaS Experience (Live) On-premises Software (OPS)  to  Services Learning w/ Partners
What is “SQL Azure”?
The Azure Services PlaformAn illustration .NET Services SQL Azure Applications Windows Azure Applications Windows Mobile Windows Vista/XP Windows Server Others
Microsoft Azure Services Azure™ Services Platform 16
SQL AzureA relational DB in the cloud SQL Azure Database Data Hub Others (Future) Relational database as a service Highly available, automatically maintained Extension of the SQL Server Data Platform .NET Services SQL Services Applications Live Services Windows Azure Applications Windows Mobile Windows Vista/XP Windows Server Others
Extending SQL Server Data Platform to the Cloud Data Sync Reference Data Reporting Business Intelligence Database Symmetric Programming Model Data Hub Aggregation ,[object Object]
Future Offerings
Additional data platform capabilities: Reporting, BI
New services: Reference Data,[object Object]
The Evolution of SDS Evolves BrowserApplication Application Application BrowserApplication Application ODBC, OLEDB, ADO.Net PHP, Ruby, … REST Client SQL Client* REST Client Cloud Cloud Windows Azure REST (Astoria) Web App ADO.Net + EF REST Client HTTP+REST HTTP+REST HTTP TDS HTTP Windows Azure Web App SQL Client* Data Center Data Center TDS + TSQL Model REST/SOAP + ACE Model SDS Next SDS Current * Client access enabled using TDS for ODBC,    ADO.Net, OLEDB, PHP-SQL, Ruby, …
Database Relational database, provided as a service Highly symmetrical development and tooling experience (use TDS protocol and T-SQL) Highly scaled out, on commodity hardware Built on the SQL Server technology foundation Beyond “hosted database” High availability, DB provisioning, and DB management are provided by the service Pay for what you use
Customer Scenarios Enterprise Departmental Applications Web Applications Departmental workgroup applications with low concurrency and cyclical usage patterns Small customers or start ups with Web applications of all scale that have simple RDBMS needs Data Hubs ISV LOB Applications Data hubs that consolidate multiple data sources and enable access from multiple locations and devices Traditional ISVs extending offering or selling software hosted in the cloud
Service Provisioning Model Each account has  a billing relationship with Microsoft owns one or more virtual servers Each server has  one or more databases including virtual master each database limited in size  one or more logins Each database has  one or more SQL users Account Server Database Server=server1.data.database.windows.net Database=testDB Login=nigele[@server1] (maps to testuser)
Logical Databases (LDB) Shared infrastructure at SQL database and below Request routing, security and isolation Scalable HA technology provides the glue Automatic replication and failover Provisioning, metering and billing infrastructure Machine 5 Machine 6 Machine 4 Machine 7 SQL Instance SQL Instance SQL Instance SQL Instance SQL DB SQL DB SQL DB SQL DB Provisioning (databases, accounts, roles…), Metering, and Billing DB5 DB1 DB3 DB2 DB1 DB6 DB2 DB3 DB1 DB2 DB3 DB4 DB4 DB5 DB1 DB7 Scalability and Availability: Fabric, Failover, Replication, and Load Balancing
Computing EvolutionTowards Shared Resources Learning to share more resources over time. Owned Isolated Shared Pooled Things we used to want Exclusively are now a burden… Disk Disk Computer Disk Disk Computer Memory Disk Memory Time 
SQL Azure Compared To… Hosted SQL Server SQL Azure further separates physical and logical administration SQL Azure includes HA/DR SQL Azure will include other high level services in the future – e.g. BI, “Data Hub”, etc. SQL Server On Premises Separates logical/physical administration Provide DBMS “Utility” Ultimately  Write your app and deploy to: SQL Server, SQL Server Utility, SQL Azure, etc.
Sample of SQL Compatibility Included in v1 Tables, indexes and views Stored Procedures Triggers Constraints Table variables, session temp tables (#t) … Out of Scope for v1 Distributed Transactions Distributed Query CLR Service Broker Spatial	 Physical server or catalog DDL and views
High Level Architecture SQL Data Services Gateway Tier Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Management Services Management Services Management Services Management Services Management Services Management Services Management Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services SQL Data Services Back End SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services
SQL Azure Network Topology Application Applications use standard SQL client libraries: ODBC, ADO.Net, … TDS (tcp:1433) Load balancer forwards ‘sticky’ sessions to TDS protocol tier Load Balancer TDS (tcp: 1433) Gateway Gateway Gateway Gateway Gateway Gateway Data Node Data Node Data Node Data Node Data Node Data Node TDS (tcp: 1433) Scalability and Availability: Fabric, Failover, Replication and Load balancing
SQL Azure Application Architectures SQL Azure access from outside MS Datacenter  (On-premises – ADO.NET) SQL Azure access from within MS Datacenter  (Azure compute – ADO.NET) App Code / Tools Application/ Browser SOAP/REST HTTP/S ADO.NET Data Svcs/REST - EF HTTP/S App Code (ASP.NET) Windows Azure T-SQL (TDS) T-SQL (TDS) SQL Azure SQL Azure Code Far Code Near
SQL AzureUsing one or multiple databases SQL Data Services Database Application Database Database Application Database
Scalability Database max size 1 GB (Web Edition)  10 GB (Business Edition) 50 GB (Beta) SQL Azure scalability Application must build custom partition logic
Sharding Scaling data between different databases SQL Azure dynamic database creation Partitioning schemas Vertical Horizontal Dynamic Random Based on ranges
Sharding ASP.Net Application Customer 123 Partition Aware App Tier Data Partitions “Shards”
Sharding Schema
SQL Azure - Pros Transactions within the platform are not charged  Supports relational data & stored procedures etc. Supports ACID characteristics of transaction across multiple entities/tables (but not across databases)
SQL Azure - Considerations Doesn’t provide scalability out of the box and there is a hard limit of 50 GB per database instance. Application need to handle the partition logic  Since application has to build custom partition logic might incur sizable efforts to build such functionality
SQL Azure Improvements  MARS (Multiple Active Results Sets), which simplifies the application design process  ALTER rename process for symmetry in renaming databases  Application and Multi-server management for Data-tier Applications which further streamlines application design and enables deployments of database applications directly from SQL Server 2008 R2 and Visual Studio 2010 to SQL Azure for database deployment flexibility  SQL Azure implements Open Data Protocol
The Future Ultimately not about “here or there” Hybrid applications & scenarios Major scenario & application evolution over next 3-5 years Constrained by: Trust & Capabilities Policy based management & execution crucial Lot of noise/confusion over interop
Summary Key Takeaways Microsoft will have a strong position in Cloud business software SQL Azure is different than SQL Server and hosted SQL Server SQL Azure will open up new scenarios and opportunities Think about services / scenarios that have no “on-premises” equivalent
Links http://comunidadwindows.org http://ecastrom.blogspot.com http://www.sqlazurelabs.com http://www.microsoft.com/windowsazure/ http://sql.azure.com/

Contenu connexe

Tendances

Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
Edureka!
 
Data Warehouse Modeling
Data Warehouse ModelingData Warehouse Modeling
Data Warehouse Modeling
vivekjv
 

Tendances (20)

Azure Data Factory presentation with links
Azure Data Factory presentation with linksAzure Data Factory presentation with links
Azure Data Factory presentation with links
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
GPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveGPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep dive
 
Intro to Azure Data Factory v1
Intro to Azure Data Factory v1Intro to Azure Data Factory v1
Intro to Azure Data Factory v1
 
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
 
Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4
 
Databricks Delta Lake and Its Benefits
Databricks Delta Lake and Its BenefitsDatabricks Delta Lake and Its Benefits
Databricks Delta Lake and Its Benefits
 
Data Warehouse Modeling
Data Warehouse ModelingData Warehouse Modeling
Data Warehouse Modeling
 
Azure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekAzure Data Factory for Azure Data Week
Azure Data Factory for Azure Data Week
 
Big data architectures and the data lake
Big data architectures and the data lakeBig data architectures and the data lake
Big data architectures and the data lake
 
Data Quality & Data Governance
Data Quality & Data GovernanceData Quality & Data Governance
Data Quality & Data Governance
 
Azure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the CloudAzure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the Cloud
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks Delta
 
Azure Data Factory v2
Azure Data Factory v2Azure Data Factory v2
Azure Data Factory v2
 
Introduction to Azure Data Factory
Introduction to Azure Data FactoryIntroduction to Azure Data Factory
Introduction to Azure Data Factory
 
Keeping the Pulse of Your Data – Why You Need Data Observability to Improve D...
Keeping the Pulse of Your Data – Why You Need Data Observability to Improve D...Keeping the Pulse of Your Data – Why You Need Data Observability to Improve D...
Keeping the Pulse of Your Data – Why You Need Data Observability to Improve D...
 
Azure datafactory
Azure datafactoryAzure datafactory
Azure datafactory
 
Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)
 

En vedette

En vedette (6)

SQL Database on Azure
SQL Database on AzureSQL Database on Azure
SQL Database on Azure
 
Extending your data to the cloud
Extending your data to the cloudExtending your data to the cloud
Extending your data to the cloud
 
Semantic web on Cloud Infrastructure
Semantic web on Cloud InfrastructureSemantic web on Cloud Infrastructure
Semantic web on Cloud Infrastructure
 
Implement SQL Server on an Azure VM
Implement SQL Server on an Azure VMImplement SQL Server on an Azure VM
Implement SQL Server on an Azure VM
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 
Azure sql database escalabilidad
Azure sql database escalabilidadAzure sql database escalabilidad
Azure sql database escalabilidad
 

Similaire à SQL Azure the database in the cloud

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
Microsoft Private Cloud
 
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
AllyWick
 
Building applications using sql azure
Building applications using sql azureBuilding applications using sql azure
Building applications using sql azure
pedrojcj
 

Similaire à SQL Azure the database in the cloud (20)

SQL Azure
SQL AzureSQL Azure
SQL Azure
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developers
 
SQL Server Data Services
SQL Server Data ServicesSQL Server Data Services
SQL Server Data Services
 
Sql Azure Pass
Sql Azure PassSql Azure Pass
Sql Azure Pass
 
Sql Azure Pass
Sql Azure PassSql Azure Pass
Sql Azure Pass
 
Microsoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMicrosoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BI
 
Day Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure PlatformDay Of Cloud - Windows Azure Platform
Day Of Cloud - Windows Azure Platform
 
Azure Data.pptx
Azure Data.pptxAzure Data.pptx
Azure Data.pptx
 
Sql Azure
Sql AzureSql Azure
Sql Azure
 
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
 
Benefits of the Azure cloud
Benefits of the Azure cloudBenefits of the Azure cloud
Benefits of the Azure cloud
 
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
 
Building applications using sql azure
Building applications using sql azureBuilding applications using sql azure
Building applications using sql azure
 
Azure for ug
Azure for ugAzure for ug
Azure for ug
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Roles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL AzureRoles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL Azure
 
Microsoft cloud 101
Microsoft cloud 101Microsoft cloud 101
Microsoft cloud 101
 
Benefits of the Azure Cloud
Benefits of the Azure CloudBenefits of the Azure Cloud
Benefits of the Azure Cloud
 

Plus de Eduardo Castro

Plus de Eduardo Castro (20)

Introducción a polybase en SQL Server
Introducción a polybase en SQL ServerIntroducción a polybase en SQL Server
Introducción a polybase en SQL Server
 
Creando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerCreando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL Server
 
Seguridad en SQL Azure
Seguridad en SQL AzureSeguridad en SQL Azure
Seguridad en SQL Azure
 
Azure Synapse Analytics MLflow
Azure Synapse Analytics MLflowAzure Synapse Analytics MLflow
Azure Synapse Analytics MLflow
 
SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022
 
Novedades en SQL Server 2022
Novedades en SQL Server 2022Novedades en SQL Server 2022
Novedades en SQL Server 2022
 
Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Introduccion a SQL Server 2022
Introduccion a SQL Server 2022
 
Machine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceMachine Learning con Azure Managed Instance
Machine Learning con Azure Managed Instance
 
Novedades en sql server 2022
Novedades en sql server 2022Novedades en sql server 2022
Novedades en sql server 2022
 
Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022
 
Introduccion a databricks
Introduccion a databricksIntroduccion a databricks
Introduccion a databricks
 
Pronosticos con sql server
Pronosticos con sql serverPronosticos con sql server
Pronosticos con sql server
 
Data warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsData warehouse con azure synapse analytics
Data warehouse con azure synapse analytics
 
Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2
 
Introduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsIntroduccion a Azure Synapse Analytics
Introduccion a Azure Synapse Analytics
 
Seguridad de SQL Database en Azure
Seguridad de SQL Database en AzureSeguridad de SQL Database en Azure
Seguridad de SQL Database en Azure
 
Python dentro de SQL Server
Python dentro de SQL ServerPython dentro de SQL Server
Python dentro de SQL Server
 
Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft
 
Script de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesScript de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure Enclaves
 
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesIntroducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure Enclaves
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

SQL Azure the database in the cloud

  • 1. The database in the cloud forAzure Services Platform, SQL Azure Ing. Eduardo Castro, PhD Comunidad Windows ecastro@grupoasesor.net http://ecastrom.blogspot.com
  • 2. Session Objectives And Takeaways Session Objectives: Provide “why”, “what”, and “how” around SQL Azure Help you to answer your customer’s Cloud questions Key Takeaways Microsoft will have a strong position in Cloud business software SQL Azure is different than SQL Server and hosted SQL Server SQL Azure will open up new scenarios and opportunities
  • 4. What’s up with the Cloud?
  • 5. What’s going on out there? Cloud perception… Costs? New capabilities? Massively scalable computing? IaaS, PaaS, SaaS ??? Value chains being remade Private clouds? Interop & standards…
  • 6. A Working Definition of Cloud Computing Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. This cloud model promotes availability and is composed of five essential characteristics, three service models, and four deployment models. NIST, Information Technology Laboratory 6
  • 7. 7 5 Essential Cloud Characteristics On-demand self-service Broad network access Resource pooling Location independence Rapid elasticity Measured service NIST, Information Technology Laboratory
  • 8. Business View New Capabilities Reducing Costs Opportunities Risks Remaking value, decision & influence chains…
  • 9. Microsoft, Cloud & “business software”…
  • 10. Platform dimensions Relationship Productivity Friction Velocity Facilities Focus Viability Trust Scale Characteristics of Software Platforms Platform vendors succeed when the platform helps others succeed
  • 11. Cloud Success Factors Utility Computing Capability Technical capability Datacenter Innovation capability Application Pattern Capability Not just about the browser Multi-screen experience Platform, delivery & tooling Platform Ecosystem Work with ISVs, SIs, VARs & Businesses to get to Cloud
  • 12. Challenges Identity and Access Management Composition / Workflow 2PL  OCC  Sync  Workflow Trust Availability Performance Information protection Latency It matters Separating logical / physical administration
  • 13. Microsoft Value Proposition Provide “Multi-screen”Experience Provider Of Choice Provider w/ Choice Customers Hosters ISVs SIs VARs Existing BusinessProcesses Partners Billing as a Service ServiceComposition Internal Processes & Capabilities SaaS influencing OPS & Services PaaSBuildout Extreme Scale Data Centers MSR PartnerEcosystem Learning & Growth SaaS Experience (BPOS) IaaS Experience (Live) On-premises Software (OPS) to Services Learning w/ Partners
  • 14. What is “SQL Azure”?
  • 15. The Azure Services PlaformAn illustration .NET Services SQL Azure Applications Windows Azure Applications Windows Mobile Windows Vista/XP Windows Server Others
  • 16. Microsoft Azure Services Azure™ Services Platform 16
  • 17. SQL AzureA relational DB in the cloud SQL Azure Database Data Hub Others (Future) Relational database as a service Highly available, automatically maintained Extension of the SQL Server Data Platform .NET Services SQL Services Applications Live Services Windows Azure Applications Windows Mobile Windows Vista/XP Windows Server Others
  • 18.
  • 20. Additional data platform capabilities: Reporting, BI
  • 21.
  • 22. The Evolution of SDS Evolves BrowserApplication Application Application BrowserApplication Application ODBC, OLEDB, ADO.Net PHP, Ruby, … REST Client SQL Client* REST Client Cloud Cloud Windows Azure REST (Astoria) Web App ADO.Net + EF REST Client HTTP+REST HTTP+REST HTTP TDS HTTP Windows Azure Web App SQL Client* Data Center Data Center TDS + TSQL Model REST/SOAP + ACE Model SDS Next SDS Current * Client access enabled using TDS for ODBC, ADO.Net, OLEDB, PHP-SQL, Ruby, …
  • 23. Database Relational database, provided as a service Highly symmetrical development and tooling experience (use TDS protocol and T-SQL) Highly scaled out, on commodity hardware Built on the SQL Server technology foundation Beyond “hosted database” High availability, DB provisioning, and DB management are provided by the service Pay for what you use
  • 24. Customer Scenarios Enterprise Departmental Applications Web Applications Departmental workgroup applications with low concurrency and cyclical usage patterns Small customers or start ups with Web applications of all scale that have simple RDBMS needs Data Hubs ISV LOB Applications Data hubs that consolidate multiple data sources and enable access from multiple locations and devices Traditional ISVs extending offering or selling software hosted in the cloud
  • 25. Service Provisioning Model Each account has a billing relationship with Microsoft owns one or more virtual servers Each server has one or more databases including virtual master each database limited in size one or more logins Each database has one or more SQL users Account Server Database Server=server1.data.database.windows.net Database=testDB Login=nigele[@server1] (maps to testuser)
  • 26. Logical Databases (LDB) Shared infrastructure at SQL database and below Request routing, security and isolation Scalable HA technology provides the glue Automatic replication and failover Provisioning, metering and billing infrastructure Machine 5 Machine 6 Machine 4 Machine 7 SQL Instance SQL Instance SQL Instance SQL Instance SQL DB SQL DB SQL DB SQL DB Provisioning (databases, accounts, roles…), Metering, and Billing DB5 DB1 DB3 DB2 DB1 DB6 DB2 DB3 DB1 DB2 DB3 DB4 DB4 DB5 DB1 DB7 Scalability and Availability: Fabric, Failover, Replication, and Load Balancing
  • 27. Computing EvolutionTowards Shared Resources Learning to share more resources over time. Owned Isolated Shared Pooled Things we used to want Exclusively are now a burden… Disk Disk Computer Disk Disk Computer Memory Disk Memory Time 
  • 28. SQL Azure Compared To… Hosted SQL Server SQL Azure further separates physical and logical administration SQL Azure includes HA/DR SQL Azure will include other high level services in the future – e.g. BI, “Data Hub”, etc. SQL Server On Premises Separates logical/physical administration Provide DBMS “Utility” Ultimately  Write your app and deploy to: SQL Server, SQL Server Utility, SQL Azure, etc.
  • 29. Sample of SQL Compatibility Included in v1 Tables, indexes and views Stored Procedures Triggers Constraints Table variables, session temp tables (#t) … Out of Scope for v1 Distributed Transactions Distributed Query CLR Service Broker Spatial Physical server or catalog DDL and views
  • 30. High Level Architecture SQL Data Services Gateway Tier Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Management Services Management Services Management Services Management Services Management Services Management Services Management Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services SQL Data Services Back End SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services
  • 31. SQL Azure Network Topology Application Applications use standard SQL client libraries: ODBC, ADO.Net, … TDS (tcp:1433) Load balancer forwards ‘sticky’ sessions to TDS protocol tier Load Balancer TDS (tcp: 1433) Gateway Gateway Gateway Gateway Gateway Gateway Data Node Data Node Data Node Data Node Data Node Data Node TDS (tcp: 1433) Scalability and Availability: Fabric, Failover, Replication and Load balancing
  • 32. SQL Azure Application Architectures SQL Azure access from outside MS Datacenter (On-premises – ADO.NET) SQL Azure access from within MS Datacenter (Azure compute – ADO.NET) App Code / Tools Application/ Browser SOAP/REST HTTP/S ADO.NET Data Svcs/REST - EF HTTP/S App Code (ASP.NET) Windows Azure T-SQL (TDS) T-SQL (TDS) SQL Azure SQL Azure Code Far Code Near
  • 33. SQL AzureUsing one or multiple databases SQL Data Services Database Application Database Database Application Database
  • 34. Scalability Database max size 1 GB (Web Edition) 10 GB (Business Edition) 50 GB (Beta) SQL Azure scalability Application must build custom partition logic
  • 35. Sharding Scaling data between different databases SQL Azure dynamic database creation Partitioning schemas Vertical Horizontal Dynamic Random Based on ranges
  • 36. Sharding ASP.Net Application Customer 123 Partition Aware App Tier Data Partitions “Shards”
  • 38. SQL Azure - Pros Transactions within the platform are not charged Supports relational data & stored procedures etc. Supports ACID characteristics of transaction across multiple entities/tables (but not across databases)
  • 39. SQL Azure - Considerations Doesn’t provide scalability out of the box and there is a hard limit of 50 GB per database instance. Application need to handle the partition logic Since application has to build custom partition logic might incur sizable efforts to build such functionality
  • 40. SQL Azure Improvements MARS (Multiple Active Results Sets), which simplifies the application design process ALTER rename process for symmetry in renaming databases Application and Multi-server management for Data-tier Applications which further streamlines application design and enables deployments of database applications directly from SQL Server 2008 R2 and Visual Studio 2010 to SQL Azure for database deployment flexibility SQL Azure implements Open Data Protocol
  • 41. The Future Ultimately not about “here or there” Hybrid applications & scenarios Major scenario & application evolution over next 3-5 years Constrained by: Trust & Capabilities Policy based management & execution crucial Lot of noise/confusion over interop
  • 42. Summary Key Takeaways Microsoft will have a strong position in Cloud business software SQL Azure is different than SQL Server and hosted SQL Server SQL Azure will open up new scenarios and opportunities Think about services / scenarios that have no “on-premises” equivalent
  • 43. Links http://comunidadwindows.org http://ecastrom.blogspot.com http://www.sqlazurelabs.com http://www.microsoft.com/windowsazure/ http://sql.azure.com/
  • 44. Q&A
  • 45. © 2009 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.