SQL AZURE Eric Nelson Application Architect, Microsoft |

Slides:



Advertisements
Similar presentations
Jim ONeil Microsoft Developer Evangelist
Advertisements

Hello i am so and so, title/role and a little background on myself (i.e. former microsoft employee or anything interesting) set context for what going.
Connecting Windows Azure to Your Enterprise Network & Applications
Windows Azure for SharePoint people Dennis – Solution Architect Microsoft Windows Azure.
Módulo 6. Um banco de dados relacional na nuvem.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
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.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
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.
Fraser Technical Solutions, LLC
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
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.
Cross Platform Mobile Backend with Mobile Services James
Windows Azure SQL Database and Storage Name Title Organization.
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.
Components of Windows Azure - more detail. Windows Azure Components Windows Azure PaaS ApplicationsWindows Azure Service Model Runtimes.NET 3.5/4, ASP.NET,
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
WINDOWS AZURE STORAGE SERVICES A brief comparison and overview of storage services offered by Microsoft.
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
Tony Petrossian Microsoft Corporation An Introduction.
Text Microsoft to Or Tweet #uktechdays Questions?
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
Your Data Any Place, Any Time Beyond Relational. Overview of Beyond Relational Applications Today Beyond Relational Feature Overview Whirlwind Feature.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Page 1 Overview of SQL Azure Jeff Chu |
Page 1 Programming SQL Azure Database Jeff Chu |
Windows Azure Boot CampWindowsAzureBootCamp.com. Windows Azure Boot CampWindowsAzureBootCamp.com.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
Migrate SQL Server Apps to SQL Azure Cloud DB
Windows Azure SQL Database - Basic
Introduction to SQL Azure
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.
Design considerations for storing data in the Cloud
Module Overview Installing and Configuring a Network Policy Server
Nicho Joins Microsoft Azure Certified Program to Transform Brand Engagement, Boost Customer Acquisition and Conversions with Scalable Ease MICROSOFT AZURE.
Lead SQL BankofAmerica Blog: SQLHarry.com
Couchbase Server is a NoSQL Database with a SQL-Based Query Language
Windows Azure Migrating SQL Server Workloads
Extensible Platform Microsoft Dynamics 365
Introduction to windows azure: windows azure, sql azure and app fabric
Building Applications with Windows Azure and SQL Azure
Running on the Powerful Microsoft Azure Platform,
Designed for Big Data Visual Analytics, Zoomdata Allows Business Users to Quickly Connect, Stream, and Visualize Data in the Microsoft Azure Platform MICROSOFT.
Data Security for Microsoft Azure
CloneManager® Helps Users Harness the Power of Microsoft Azure to Clone and Migrate Systems into the Cloud Cost-Effectively and Securely MICROSOFT AZURE.
Storing bits and bytes in the cloud
Saranya Sriram Developer Evangelist | Microsoft
Developing for Windows Azure
Building global and highly-available services using Windows Azure
New, Old or Pink - it is all good
Microsoft Azure Services Platform
Presentation transcript:

SQL AZURE Eric Nelson Application Architect, Microsoft |

SQL AZURE Extending SQL Server to the Cloud Database Sync Service Reporting

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 SQL Azure TDS SQL Azure TDS Your App Change Connection String

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

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

DEMO

CONNECTING TO SQL AZURE SQL Azure connection strings follow normal SQL syntax Applications connect directly to a database “Initial Catalog = ” in connection string No support for context switching (no USE ) Encryption security Set Encrypt = True, only SSL connections are supported TrustServerCertificate = False, avoid Man-In-The-Middle-Attack! Format of username for authentication: ADO.Net: Data Source=server.database.windows.net; User Setup your firewall rules first!

SQL AZURE COMPATIBILITY Currently Supported Tables, indexes and views Stored Procedures Triggers Constraints Table variables, session temp tables (#t) Spatial types Not Currently Supported Data Types XML, HierarchyId, Sparse Columns, Filestream Partitions Full-text indexes SQL-CLR Tables require clustered indexes

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

DATABASE EDITIONS Two SQL Azure Database SKUs: Web & Business Web Edition: 1 £6.055/month 5 £30.275/month Business Edition: 10 £ £ £ £ £303.20

DEMO

SQL AZURE DATA 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 Sync SQL Azure

SQL AZURE DATA SYNC – ROADMAP On-Premises (Headquarters) Sync Remote Offices Data Sync Service For SQL Azure Retail Stores Sync SQL Azure Database Sync CTP1 CTP2

TOP FEATURES Service scales as resources requirements grow No-Code Sync Configuration Schedule Sync Conflict Handling Logging and Monitoring Data sub-setting

DEMO

SQL AZURE REPORTING

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

SUMMARY SQL Azure Database: 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

APPENDIX

LATENCY AND TIMEOUTS

LATENCY Service Request App Data App Consistent and accepted latencies On premises application Files Service Request App Data Latency App Increases in quantity and variability of latencies Cloud based application Latency Blob TIP: Expect Web Role to SQL Azure to take about twice as long

TIMEOUT Service Request App Data Timeouts? App Increased likelihood of timeouts Cloud based application Service Request App Data App Consistent, reliable connectivity and access On premises application Yes No Yes No Tried 5 times? Connection Successful? Try to connect Continue doing work Fail

TIMEOUT RETRY CODE EXAMPLE

TIP: There is a new code library for all this!

DATA SENSITIVITY

Purchasing Database Product catalogue Secure Transaction (Service Bus) Segmentation Online Shop Product catalogue

Contact ID Social Security # Customer Credit Card # Other Information Shipping Information Last Name First Name Contact ID On Premises Cloud Sharding Customer Credit Card # Shipping Information Last Name First Name Contact ID Social Security # Billing Data Other Information On Premises

Customer Credit Card # Shipping Information Last Name First Name Contact ID Social Security # Billing Data Other Information On Premises £!”$&$%!&£% £”$&!%*^(& !£$&!%£&%* ^$”$&%$”& Shipping Information Last Name First Name Contact ID On Premises Cloud Encryption

DATA CHOICES

YOU HAVE MANY CHOICES FOR DATA Relational Database Structured Storage Unstructured Storage NTFS Drive Service Communication

SIDE BY SIDE EVALUATION Single BlobDriveQueueTable Single SQL Azure Database Structured DataYY Relational DatabaseY Server Side ProcessingY Direct Access from outside Azure YYYY Messaging InfrastructureY Persistent StorageYY1 weekYY Size Limit 200 GB/ 1 TB 1 TB100 TB 50 GB (*)

AZURE TABLE AND SQL AZURE TABLE FeatureAzure TableSQL Azure Table Partitioning & Scale Implicit based on Partition KeyExplicitly managed by the Application (Sharding – future feature) Index Capabilities Table indexed on Partition Key + Row Key 0 Secondary Indexes 1 Clustered Index on any column 999 Secondary Indexes Table Limits Row Size – 1 MB Column Limit – 255 Table Limit – 100TB Row Size – 8MB Column Limit – 1024 Table Limit - ~50GB Transactions Transactions on entities within partition No Transactions across tables or partitions Up to 100 operations in a Transaction Payload upto 4MB per Transaction Fully compatible transactional semantics with SQL Server. No cross Database transactions Consistency Model Transactionally Consistent ConcurrencySingle Optimistic Concurrency Strategy Full range of isolation and concurrency models as supported by RDBMS

AZURE TABLE AND SQL AZURE TABLE FeatureAzure TableSQL Azure Data Access REST API, ADO.NET, Client Library SDK Standard tools and APIs apply SSMS, Visual Studio, ADO.NET, ODBC Column Types Basic TypesUsual SQL Server Data Types Portability Data portability coming with Windows Azure Appliance Data in SQL Azure similar to SQL Server -Easy migration in and out of the cloud -Use multi stream transfer to mitigate network latency. Queries Upto 1000 entities [token pagination] Beyond 5 sec – return continuation token Queries by partition & row key are fast No Custom Indexes Today Non key queries are scans Query capabilities as per standard SQL Server database expectations Offer Server Side Processing through Stored Procedures and Complex Queries (Aggregation, Joins, Sorts, Filters, etc.)

EXAMPLE: REGISTRY/CONFIGURATION/USER SETTINGS A traditional set of data that is traditionally stored on the local environment is configuration and user settings. Commonly this is stored in the registry, xml or ini files. OptionsBest Case Usage Blob storageConfiguration file that is read only once during app load SQL databaseUsed in environments where a SQL database already exists Windows Azure tableUser settings that may be changed externally from the environment

REPORTING

SERVER: NETWORK ACCESS CONTROL Each server defines a set of firewall rules Determines access policy based on client IP By default, there is NO ACCESS to server Controlled using Firewall API (masterDB) sys.firewall_rules, sys.sp_merge_firewall_rule and sys.sp_delete_firewall_rule

SERVER: BILLING AND REPORTING Usage metrics from views: sys.bandwidth_usage sys.database_usage Bandwidth shows ingress/egress/type in KB Database shows number/type