Storing bits and bytes in the cloud

Slides:



Advertisements
Similar presentations
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Advertisements

Eric Nelson Application Architect, Microsoft |
Application Internet Azure Cloud Internet Azure Cloud LB TDS (tcp) Applications use standard SQL client libraries: ODBC, ADO.Net, PHP, … Load balancer.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Subtitle color From Windows Azure From Outside Microsoft Datacenter From Outside Microsoft Datacenter & Windows Azure Application / Browser Windows.
XVII Encontro – 29/11/2011. Virgílio Esteves ID&T – Research & Founder of NetPonto Coimbra C# / WPF / Silverlight / XNA / Azure.
PlacePlace TypeType ServiceService Analysis Caching Integration Sync Search Relational BLOB Query BackupLoad Multi Dim In Memory File XML Reporting.
Eric Nelson Developer Evangelist Microsoft UK | Lap around.
Subtitle color From Windows Azure From Outside Microsoft Datacenter From Windows Azure & Outside Microsoft Datacenter Application / Browser Windows.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Migrating to Windows Azure SQL Database Name Title Microsoft Corporation.
Getting Started with Windows Azure Name Title Microsoft Corporation.
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
Application Internet Azure Cloud Internet Azure Cloud LB TDS (tcp) Applications use standard SQL client libraries: ODBC, ADO.Net, PHP, … Load balancer.
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
Migrating an Enterprise Microsoft Product (TFS) on to Windows Azure Sriram Dhanasekaran SDE II, Microsoft.
Text Microsoft to Or Tweet #uktechdays Questions?
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
Migrate SQL Server Apps to SQL Azure Cloud DB
Windows Azure SQL Database - Basic
Use relational database as a service
Introduction to SQL Azure
Dev and Test Solution reference architecture.
How to tune your applications before moving your database to Microsoft Azure SQL Database (MASD) OK, you've jumped into your Azure journey by creating.
Data Platform and Analytics Foundational Training
Introduction to Windows Azure AppFabric
Dev and Test Solution reference architecture.
System Center Marketing
Dev and Test Solution reference architecture.
Delivering enterprise BI with Azure Analysis Services
System Center Marketing
Lead SQL BankofAmerica Blog: SQLHarry.com
Tech·Ed North America /9/2018 6:56 PM
Data Platform and Analytics Foundational Training
Dev and Test Solution reference architecture.
Dev and Test Solution reference architecture.
Introduction to windows azure: windows azure, sql azure and app fabric
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Building Applications with Windows Azure and SQL Azure
Developing an app for SharePoint autohosted in Azure
9/13/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Exceedra + Azure Mark Rendle Principal Software Architect
Cloud Database Based on SQL Server 2012 Technologies
SharePoint Online Management and Control
9/23/2018 1:04 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Power Apps & Flow for Microsoft Dynamics SL
Overview of Azure Data Lake Store
Introduction to Windows Azure Web Sites
11/16/ :06 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Microsoft Virtual Academy
SPC2012 – IT-Pro 11/30/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Power-up NoSQL with Azure Cosmos DB
Microsoft Virtual Academy
microsoft cloud platform: enterprise-class architecture
Dev and Test Solution reference architecture.
Jim Nakashima Program Manager Cloud Tools
Migrating your applications to Azure
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Developing for Windows Azure
Microsoft Corporation
Service Template Creation from the Ground Up
Building global and highly-available services using Windows Azure
Windows Azure Hybrid Architectures and Patterns
Service Template Creation from the Ground Up
A - E Cloud Enterprise Symbols
Day 2, Session 2 Connecting System Center to the Public Cloud
New, Old or Pink - it is all good
Presentation transcript:

Storing bits and bytes in the cloud Keith Burns Data Platform Architect Microsoft UK keith.burns@microsoft.com

SQL Azure Database Sync Service Reporting Extending SQL Server to the Cloud Database Sync Service Reporting SQL Azure Database Familiar SQL Server relational database model Support for existing APIs & tools Built for the cloud with high availability & fault tolerance Easily provision and manage databases across multiple datacenters Data Sync Service (CTP) Provides two-way sync of SQL Azure Databases across datacenters Example service available in the SQL Azure Labs environment SQL Azure Reporting (CTP) Reporting Services running on the Windows Azure Platform

SQL Azure Database

SQL Azure database service SQL Azure provides logical SQL Server Looks like SQL Server to TDS Client Actual data stored on multiple backend data nodes Logical optimisations supported Indexes, Query plans etc.. Physical optimisations not supported File Groups, Partitions etc… Transparently manages physical storage

Working with SQL Azure Databases Your App SQL Azure TDS Change Connection String Primary SQL Azure database Secondary database copies

Behind the Scenes of SQL Azure Apps use standard SQL client libraries: ODBC, ADO.Net, PHP, … Application Internet Load balancer forwards ‘sticky’ sessions to TDS protocol tier TDS (tcp) LB Security Boundary TDS (tcp) Gateway Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQL TDS (tcp) SQL SQL SQL SQL SQL SQL Scalability and Availability: Fabric, Failover, Replication, and Load balancing

Application Topologies From Windows Azure From Outside Microsoft Datacenter From Windows Azure & Outside Microsoft Datacenter SQL Server App Code / Tools Application / Browser App Code / Tools SQL Azure Data Sync Microsoft Datacenter Microsoft Datacenter Microsoft Datacenter Windows Azure Windows Azure SQL Azure SQL Azure SQL Azure Code Near Code Far Hybrid

SQL Azure Compatibility http://bit.ly/9fgzue Currently Supported Not Currently Supported Tables, indexes and views Data types XML, Hierarchyid, Spatial Stored Procedures Triggers Constraints Table variables, session temp tables (#t) Column & expression collation MARS Data Types Sparse Columns, Filestream Partitions Full-text indexes, indexed views SQL-CLR (MS use only) SQL Agent Global temp tables Server or database collations Distributed txns TDE, Compression, Auditing Tables require clustered indexes

Database Editions 1 GB 5 GB 10GB, 20GB, 30GB, 40GB, 50GB Web Edition Business Edition This is the maximum size we will not let you grow beyond You will only be charged for the actual peak size rounded up in any one day For example, a 3.4 GB Web Edition will be charged 5GB rate. CREATE DATABASE foo (EDITION=‘web’, MAXSIZE=1GB); ALTER DATABASE foo MODIFY (EDITION=‘business', MAXSIZE=50GB);

Database Editions Subscription & Pay as you go pricing Web Edition: 1 GB @ £6.06/month (ie ~ £72 / year) 5 GB @ £30.28/month Business Edition: 10 GB /20GB / 30GB /40GB / 50GB @ £60.60 / 10GB / month Data Transfer Cost £0.06 / GB in and £0.09 / GB out NO cost for intra-datacentre data transfer Business Edition Up to 50 GB 10 GB increments Web Edition 1 GB or 5 GB

Demo

Few other things to consider Latency Connection throttling Reasons include Lock Consumption: Sessions using over 1million locks Excessive Log usage: Single txn consuming >1Gb txn Uncommitted Transactions: Single txn consuming > 20% of the log Excessive Tempdb usage: Session using > 5Gb of TempDB … range of error codes returned See http://bit.ly/cCWmEd

“Backup” Database Copy (Available NOW!) Copies asynchronously ie control returns before copy completes View copy status: “Select * from sys.dm_database_copies” http://bit.ly/cwquUe DACPAC (see http://www.sqlazurelabs.com) SQL Azure Restore (CTP Soon) Point in time database restore CREATE DATABASE database_destination_name AS COPY OF [source_server_name.]database_source_name DacImportExportCli.exe -s myserver.database.windows.net -d northwind -f C:\northwind.bacpac -x -u username -p password

SQL Azure Data Sync

SQL Azure Data Sync Scenario Overview One-Off txfr. Scenarios Tools Migration to/from SQL Server Transfer between SQL Azure servers/databases BCP SSMS Generate script wizard SQL Server Import & Export Data SSIS SQL Azure Database Copy SQL Azure Migration Wizard DAC DAC Logical Import/Export (see SQLAzureLabs) On-Going sync. Publish to cloud Share between on-prem and cloud apps Some SQL Azure scale-out cases Geo-locality One-way or two-way SQL Azure Data Sync Sync Framework

SQL Azure Data Sync Sync Powers movement of data Cloud  cloud On-premises  cloud Getting data where you need it Sync SQL Azure instances Sync SQL Server to SQL Azure Sync offline apps to SQL Azure Enable geo-replication of data SQL Azure Sync

Top Features Service scales as resources requirements grow (Windows Azure service) No-Code Sync Configuration (use Sync Framework if you wish to code). Schedule Sync Conflict Handling Logging and Monitoring Data sub-setting (@table in CTP2)

SQL Azure Reporting

SQL Azure Reporting Currently CTP – you can register Based on SQL Server Reporting Services 2008 R2 Exactly same report formats (no custom extensions yet) Use BI Development Studio No subscriptions Reports run on Windows Azure Platform Report Viewer control using remote processing mode V1 only reports against SQL Azure Database

SQL Azure Reporting vs SSRS Reporting Services SQL Azure Reporting Design Tool Business Intelligence Design Studio (BIDS) Report Builder Business Intelligence Design Studio (BIDS) SQL Server + others .e.g. Oracle, Teradata, PDW, etc. SQL Azure databases Data Sources Report Manager or SharePoint Display reports Render to multiple formats Subscriptions Scheduled delivery Embed reports into applications SQL Azure Development Portal Display reports Render to multiple formats Embed reports into applications Management & Delivery Developer Extensibility Custom data sources, assemblies, report items, authentication, etc. Extensibility not enabled. Security Model Supports Windows Authentication SQL Azure username/password

Demo

Futures

Scaling Database Applications Scale up Buy large-enough server for the job But big servers are expensive! Try to load it as much as you can But what if the load changes? Provisioning for peaks is expensive! Scale-out Partition data and load across many servers Small servers are cheap! Scale linearly Bring computational resources of many to bear Cluster of 100’s of little servers is very fast Load spikes not as problematic Load balancing across the entire cluster

SQL Azure Federations http://blogs.msdn.com/b/cbiyikoglu/ CREATE DATABASE SalesDB go CREATE FEDERATION CustFed (cid BIGINT RANGE) USE FEDERATION CustFed(cid=0) WITH FILTERING=OFF, RESET CREATE TABLE Customer( CustomerID bigint Primary Key, …) FEDERATED ON (cid = CustomerID) Go USE FEDERATION ROOT WITH RESET ALTER FEDERATION CustFed SPLIT AT (cid = 100) USE FEDERATION CustFed(cid=105) WITH FILTERING=ON, RESET Select * from customer Azure DB with Federation Root Federation Directory, Federation Users, Federation Scheme, … Federation “CustFed” (Federation Key: CustomerID) Member: PK [min, 100) AU PK=5 AU PK=25 AU PK=35 Member: PK [100, 488) AU PK=105 AU PK=235 AU PK=365 Connection Gateway Member: PK [488, max) AU PK=555 AU PK=2545 AU PK=3565 Sharded Application http://blogs.msdn.com/b/cbiyikoglu/ 25

Summary SQL Azure Database SQL Azure Data Sync SQL Azure Reporting hassle free fault tolerance with little to learn SQL Azure Data Sync Helping build geographically disperse or hybrid applications SQL Azure Reporting Reporting Services in the Cloud SQL Azure Federation Massive Scalability (Futures)

© 2008 Microsoft Corporation. All rights reserved © 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.