Windows Azure SQL Database and SQL Reporting for Developers Dr Greg Low Principal Mentor – SQL Down Under AZR221.

Slides:



Advertisements
Similar presentations
Tableau Software Australia
Advertisements

SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
27. to 28. March 2007 | Geneva, Switzerland. Fabrice Romelard ilem SA Level 200.
Low Control | Low Maintenance Shared Lower cost Dedicated Higher cost High Control | High Maintenance Hybrid On premises Off premises SQL Server Physical.
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
Virtual techdays INDIA │ November 2010 SQL Azure Data Sync Shilpa Nirmale │ Associate Manager, Accenture.
National Manager Database Services
Passage Three Introduction to Microsoft SQL Server 2000.
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.
MICROSOFT CONFIDENTIAL Sept 2009 | Page 1 | BDM Presentation.
Cost Effort Complexity Benefit Cloud Hosted Low Cost Agile Integrated Fully Supported.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
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.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Module 10: Designing an AD RMS Infrastructure in Windows Server 2008.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
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,
Introduction To Windows Azure Cloud
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Module 8 Configuring and Securing SharePoint Services and Service Applications.
Dr Greg Low CEO and Principal Mentor SQL Down Under.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
Windows Azure Conference 2014 Lessons Learned From Large Scale Migrations to Windows Azure IaaS.
Module 19 Managing Multiple Servers. Module Overview Working with Multiple Servers Virtualizing SQL Server Deploying and Upgrading Data-Tier Applications.
R2 Automation IT service management Windows Azure Pack App Controller Self-service Service Manager Service model Orchestrator Service Manager.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
Electronic Records Management: A Checklist for Success Jesse Wilkins April 15, 2009.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Text Microsoft to Or Tweet #uktechdays Questions?
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
DenyAll Delivering Next-Generation Application Security to the Microsoft Azure Platform to Secure Cloud-Based and Hybrid Application Deployments MICROSOFT.
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 Programming SQL Azure Database Jeff Chu |
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
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.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
Aaron Stanley King. What is SQL Azure? “SQL Azure is a scalable and cost-effective on- demand data storage and query processing service. SQL Azure is.
Self Service Service Delivery & Automation Deploy Configure Service Model DC Admin Operate Monitor Virtual Physical Public Cloud Private Cloud Virtual.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Lead SQL BankofAmerica Blog: SQLHarry.com
AlwaysOn Mirroring, Clustering
Securing the Network Perimeter with ISA 2004
Maximum Availability Architecture Enterprise Technology Centre.
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
Software Architecture in Practice
Exploring Azure Event Grid
Introduction of Week 3 Assignment Discussion
Solving ETL Bottlenecks with SSIS Scale Out
Dev Test on Windows Azure Solution in a Box
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Storing bits and bytes in the cloud
Technical Capabilities
06 | SQL Server and the Cloud
Designing Database Solutions for SQL Server
Presentation transcript:

Windows Azure SQL Database and SQL Reporting for Developers Dr Greg Low Principal Mentor – SQL Down Under AZR221

Working with Windows Azure SQL Database Scaling out using Federations Scaling out using Data Sync Reporting

Isn't this just a hosted SQL database? Windows Azure SQL Database (was SQL Azure) SQL as a service Massively distributed cluster Based on commodity hardware Focus on logical vs physical design

Is my data secure? Security built-in Logical firewall DOS attack detection SSL connectivity Not yet available Encryption

Can I rely on my data being available? HA built-in Primary plus two replicas Near-instant failover Rolling upgrades only when all available Read -> Primary Write -> Quorum

Do I get my own SQL Server? Logical servers assigned to subscriptions Server = TDS endpoint at gateway Can be programmatically provisioned master database Different to on-premises version View for firewall rules

How big can my databases be? Web up to 5GB, Business up to 150GB Main difference is growth limit Pricing encourages multi-tenant Could be on different physical servers

Management Portal & Database Design/Query

Will this fix my performance issues? Probably not WASD is different to an on-premises server Important to understand what is offered and limitations SQL Server 2012 based engine (Quarterly updates) Commodity hardware Multi-tenanted architecture Latency

How do I avoid performance issues? Database needs appropriate design (no magic fix) Indexing Avoid fragmentation Architect for scale-out vs scale-up On-premises => buy enough hardware Azure => design for multi-DB, enough DBs Use async (non-blocking) design patterns

Is latency really an issue? Possibly significant in local region Need to Avoid chatty interfaces Minimize round trips Choose appropriate data centre (via testing not geography) Co-locate applications and data within DC

Management Studio and Latency

What tools can I use? Management Portal (manage servers) SQL Server Management Studio (SSMS) Use 2008 SP1 or later Database Manager (within portal) Design tables, edit table data Does not really compete with SSMS SQL Server Data Tools Perform local validation before deployment

How to I migrate by apps and data? Scripting options in SSMS Ensure WASD target Check for scripting issues Data-tier applications.dacpac and.bacpac files SQL Azure Migration Wizard SQL Server Integration Services bcp

Do I need to change my apps? Large subset of T-SQL supported Tables must have a clustered index Not all components supported Agent, Full-Text, Service Broker Dependencies, CLR Continuous improvements – recently added: MARS, Spatial

Database scripting

What if other apps don't play fair? WASD is not intended for high resource requirement apps Shared resources tempdb Worker threads Disk Network

How does Azure balance loads? Main load balancer (periodic) Balances utilization across all servers Swaps or moves workloads Reactive load balancer (as needed) Solves short term issues Fast solution to avoid throttling on hot machines

So what's this throttling thing? Throttling Service Protects systems based on actual vs safe loads Soft throttle => busiest databases only Hard throttle => all databases on server

How do I avoid throttling? Optimize database code Up-to-date statistics Minimal index fragmentation Monitor throttle causes Many hard throttles – check code & design Check DMVs (eg: sys.dm_exec_query_stats) Decode errors returned

Will my app stay connected? No But retry logic needed for on-premises systems anyway Design for an assumption of failure

Are there code examples? Entlib (via NuGet) Transient Fault Handling Application Block ReliableSqlConnection (connection + retry policy) Policy (count, count + timespan, etc) ExecuteNoQueryWithRetry Retrying event exposed ExecuteAction method can invoke LINQ

How do I backup and restore? COPY DATABASE Transactionally-consistent duplicate database Async operation & can be cross-server Import/Export wizard Uses Azure Storage Not transactionally-consistent Quiesce database first or use copy database

Can I point DB Scripts at WASD? Yes, but don't include data

MethodTime Execute against local server55 secs Execute against WASD directly1 hr 52 mins 13 secs Export bacpac from local server to Azure storage13 secs Import bacpac from Azure storage52 secs

Working with bacpac, storage and copy database

Working with Windows Azure SQL Database Scaling out using Federations Scaling out using Data Sync Reporting

intbigintvarbinary (900 bytes max)guid

Federated Distributed by key Contain data that is the reason for federation Reference Cloned to each federation member Typically small lookup data Central Created in federation root Typically low-traffic objects eg: metadata

Federations

Working with Windows Azure SQL Database Scaling out using Federations Scaling out using Data Sync Reporting

Windows Azure SQL Database SQL Azure Database Hub On-premises SQL Server

Windows Azure SQL Database SQL Azure Database Hub On-premises SQL Server Agent Service

Deploy database to hub and clients Configure sync group Determine dataset contents & filtering Determine sync schedule Determine conflict resolution policy Install agent service on on-premises system Add all clients to topology and deploy topology

Data sync

Working with Windows Azure SQL Database Scaling out using Federations Scaling out using Data Sync Reporting

SSRS delivered as an Azure service Worker role in Azure Sticky gateway Primary target: embedded reporting in web apps Rapid provisioning Best to provision in same DC as SQL data

Report designer & RDL Deployment mechanisms Web services and URL access Report viewer control (2010) Item level permissions Plus: Built-in HA Elastic scale-out options SQL authentication only SSL only WASD data sources only Less: Report Builder, Schedules, Subscriptions, Custom Extensions, External Images SameDifferent

SQL Reporting

Windows Azure SQL Database is ready for business Windows Azure SQL Database enables new opportunities