04 | Performance and the Premium SKU

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Building Scalable Web Apps with Windows Azure Name Title Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Introduction to SQL Azure March 31, 2015 John Deardurff Website:
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
demo Default WANGPSLookup Default WANGPS.
Co- location Mass Market Managed Hosting ISV Hosting.
Multitenant Model Request/Response General Model.
Announcing Demo Announcing.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
Windows Azure SQL Federation Name Title Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Connect with life Connect with life
Building ASP.NET Apps in Windows Azure Name Title Microsoft Corporation.
Windows Azure Connect Name Title Microsoft Corporation.
NEXT: Overview – Sharing skills & code.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Cloud Data Dave Campbell Technical Fellow, Microsoft.
Advanced SQL Azure Database Name Title Microsoft Corporation.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
04 | Business Analyzer Brian Meier| Senior Lead Program Manager.
public class Foo { Bar _bar; public Foo() { this._bar = new Bar(); } public class Foo { IBar _bar; public Foo(IBar barDependency) {

TechEd /24/2018 8:28 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Dynamics NAV 2018 – what’s new
Cloud Database Based on SQL Server 2012 Technologies
Возможности Excel 2010, о которых следует знать
05 | Monitor and manage database implementations on Azure
Title of Presentation 11/22/2018 3:34 PM
Baseline: How Are We Doing Now?
Title of Presentation 12/2/2018 3:48 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows Azure Overview
4/27/17, Bell #8 What amount of net pay has been earned this period?
Windows 8 Security Internals
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
From Start to REST in 60 Minutes (DEV323)
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Microsoft Virtual Academy
WCL425 App Compat for Nerds Chris Jackson.
5/6/19, Bell #6 12/11/2019 8:26 PM Explain the relationship between this picture and the events that took place in Chapter 7 in Animal Farm. © 2007 Microsoft.
Presentation transcript:

04 | Performance and the Premium SKU Chris Auld | CTO – Intergen Limited, Azure MVP Greg Leake | Director, SQL Server Product Management

Module Overview Raw Performance vs Scale Scale Up and Scale Out in WASD Performance Principles

Point 1: Raw Performance vs Scale

Raw Performance Demo [Greg]

Point 1: Scale Up vs Scale Out Premium SKU

Available today, Premium with reserved capacity 4/30/2019 7:34 PM Available today, Premium with reserved capacity Two classes of cloud apps emerging Cost-effective & scalable: Web & Business editions deliver a managed database service for apps that have low demands or require cost-effective scale-out. Business-class: Premium edition delivers fixed reserved capacity for apps that need: Sustained resource demands Many concurrent requests Predictable latency More predictable performance DB 1 DB 2 DB 3 Web & Business Editions Shared Resources Reserved Resources Premium Edition DB 1 DB 2 DB 3

SQL Database Reserved Capacity Web & Business editions Primary Secondary Secondary Customer databases share hardware resources Workload demands vary by customer DB, and by day Unpredictable performance Premium edition w/ reserved capacity Primary Secondary Secondary Fixed amount of reserved capacity for SQL Database primary and 2 built-in replicas Ideal for business-class applications: have high peak loads support many concurrent requests require low latency Offered in two sizes for preview: P1 & P2 Primary Secondary Secondary Primary Secondary Secondary

SQL Database Scale Out Massive Scale Engage 1000s of nodes within the cluster 10 GB DB 10 GB DB 10 GB DB 10 GB DB 10 GB DB 10 GB DB Simplified Development and Administration Robust programming & connectivity model for creating dynamic applications 10 GB DB 10 GB DB 10 GB DB 10 GB DB 10 GB DB 10 GB DB 100 GB Database Simplified Multi-tenant Database Tiers Multi-tenancy provides great efficiencies by increasing density of tenants per database Applications don’t have to make a static decision about tenant placement 1,000 TPS 10,000 TPS

Point 1: Performance Principles

Some general principles Chunky not chatty Batch work Get all data at once Hand all writes back up at once. XML, Table Valued Params etc… Caching Minimize unnecessary reads How fresh does data for a web app really have to be? 1s? 10s? There are few physical levers to pull Be very sensitive to IO

Instrumenting your app TechEd 2013 4/30/2019 7:34 PM Instrumenting your app Snapshotting DMVs Collecting XEvents DB DB DB DB DW DB DB DB DB DB © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Other places to get info SQL Database Portal Query performance aggregates (from DMV) Connection activity including any throttle events (from sys tables) Execution plans Special wait stats SE_REPL_SLOW_SECONDARY_THROTTLE SE_REPL_COMMIT_ACK Call Support Need session info (see next session)

DMVs for Performance Monitoring Sys.dm_exec_requests Currently running queries Sys.dm_exec_query_stats Aggregate query performance Sys.dm_exec_query_plan Execution plan Sys.dm_db_wait_stats Database level wait stats “missing index” DMOs Possible indexes for performance

Additional Resources DBI 337 from TechEd 2013 Query Performance Tuning in WASD http://channel9.msdn.com/Events/TechEd/NorthAmerica/2013/ DBI-B337 DBI 330 from TechEd 2013 Cloud Optimizing T-SQL http://channel9.msdn.com/Events/TechEd/NorthAmerica/2013/ DBI-B330