ScenarioDescription/ExampleTime HorizonData Size AlertingDetecting and Mitigating ProblemsNowSmall to Large DashboardsService InsightNow-RecentModest.

Slides:



Advertisements
Similar presentations
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advertisements

Image credit: Casey Konstantín bit.ly/126NvV7.
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
Keeping our websites running - troubleshooting with Appdynamics Benoit Villaumie Lead Architect Guillaume Postaire Infrastructure Manager.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
19 % System Center FY14 Revenue Growth Large enterprises actively using SC 63% SC customers actively using SCOM 30% SC customers still using.
Administering Microsoft SQL Server 2012 Databases.
“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.
Emmanuel Mesas Microsoft Western Europe Leverage Azure Services & Platform with Existing Application.
Observation Pattern Theory Hypothesis What will happen? How can we make it happen? Predictive Analytics Prescriptive Analytics What happened? Why.
Microsoft Ignite /16/2017 5:11 PM
w/ Service Provider Foundation & Service Management Automation VMs, Networks, Automation Service Bus Database SQL Sever MySQL Web Sites Services Plans.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Cross Platform Mobile Backend with Mobile Services James
Module 18 Monitoring SQL Server 2008 R2. Module Overview Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data.
Key Concepts About Performance Factors Affecting SQL Performance SQL Performance Tuning Methodologies SQL Performance Tuning Tools 1.
Windows Azure Conference 2014 Windows Azure SQL Database - Migration and Optimization.
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Meet with the AppEngine Márk Gergely eu.edge. What is AppEngine? It’s a tool, that lets you run your web applications on Google's infrastructure. –Google's.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
AppDynamics Ohio User Group. What is ExactTarget? Software as a Service Marketing 500 million s sent a day 200 million web transactions a day.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
IOS and Android with Windows Azure Websites Name Title Address Website.
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Understand your end-users and your app with Application Insights.
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise.
Hybrid Cloud and Windows Server 2003 end of support on Azure Rod Kruetzfeld Data Center Technical Strategist Microsoft Canada.
ON-PREMISES SERVICE PROVIDERMICROSOFT CONSISTENT PLATFORM Modern platform for the world’s apps 1.
High Friction & Control Resources Dedicated Shared Low 100% of API, Virtualized Roll-your-own HA/DR/scale SQL Server in IaaS Virtualized Machine SQL.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Distributed Logging Facility Castor External Operation Workshop, CERN, November 14th 2006 Dennis Waldron CERN / IT.
Inside Azure Diagnostics 17 COLUMBUS, OHOCTOBER 17, 2014CLOUDDEVELOP.ORG.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Enabling the Cloud OS Today  New high-density Web Sites with elastic cloud scaling and complete dev-ops experiences  New rich IaaS experience for self-service.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Azure HDInsight And Excel Analyze unstructured data at scale, then visualize! George Walters Sr. Technical Solutions Professional, Data Platform Microsoft.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
Troubleshooting Dennis Shasha and Philippe Bonnet, 2013.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Maintaining and Updating Windows Server 2008 Lesson 8.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
Migration of Real Product into Windows Azure Lessons Learned.
Microsoft Ignite /28/2017 6:07 PM
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
SQL Database Management
Deploying Web Application
Troubleshooting SQL Server high CPU usage
Gain visibility into your apps with Azure Application Insights
SQL Server Monitoring Overview
Maximize the performance and scale of Microsoft Dynamics AX
Debugging and troubleshooting Azure applications using Visual Studio
05 | Monitor and manage database implementations on Azure
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Root Cause Analysis with DMVs
PerfView Measure and Improve Your App’s Performance for Free
Saranya Sriram Developer Evangelist | Microsoft
On the wire Getting Started with Windows Azure
5 Azure Services Every .NET Developer Needs to Know
Building a Performance Monitoring System using XEvents and DMVs
04 | Performance and the Premium SKU
Cloud Platform Can Offer Needed Scalability to Handle the Next Big Hit in Social Gaming MINI-CASE STUDY “The Microsoft Azure platform has made it so easy.
Advanced Database Topics
Presentation transcript:

ScenarioDescription/ExampleTime HorizonData Size AlertingDetecting and Mitigating ProblemsNowSmall to Large DashboardsService InsightNow-RecentModest ReportsHow is feature X adoption progressing day o?Hourly/DailyMedium Data ScienceBuilding prediction models based on past behaviors UnlimitedVery Large

Complex cloud architecture example...

Cloud apps have key differences from traditional on-premises systems Internet-facing, always up Service SLAs – uptime requirements Larger scale – ISVs/SaaS vendors host all customers vs. sell/deploy each customer 1-by-1 Troubleshooting in the Cloud Too many machines/databases/etc. to troubleshoot manually Separate “mitigate” vs. “root cause”(RCA) determination Generate telemetry to determine RCA (later) Find a way to get things working ASAP (reboot/failover/whatever)

Analyze: At a certain size tools to analyze and monitor the system works System for the system: Beyond that your need a system to monitor the system

Event Tracing for Windows (ETW) Native to Windows platform Great performance & OK diagnostic tooling Historically hard to publish events EventSource class New in.NET Framework 4.5 Meant to ease authoring experience Extensible but supports ETW-only out of the box Semantic Logging Application Block (SLAB) Provides several destinations for events published with EventSource Does not require any knowledge in ETW Additional tooling support for authoring events

Data SourceDescription IIS LogsInformation about IIS web sites. Azure Diagnostic infrastructure logsInformation about Diagnostics itself. IIS Failed Request logs Information about failed requests to an IIS site or application. Windows Event logsInformation sent to the Windows event logging system. Performance countersOperating System and custom performance counters. Crash dumps Information about the state of the process in the event of an application crash. Custom error logsLogs created by your application or service..NET EventSource Events generated by your code using the.NET EventSource class. EventSource class Manifest based ETWETW events generated by any process.

Health (master) sys.event_log sys.bandwidth_usage sys.database_connection_stats Resource Usage master.sys.resource_usage* master.sys.resource_stats* userdb.sys.dm_db_resource_stats Data Access & Usage sys.dm_db_index_usage_stats sys.dm_db_missing_index_details sys.dm_db_missing_index_groups sys.dm_db_missing_index_group_stats sys.dm_exec_sessions Performance sys.dm_exec_query_stats sys.dm_exec_sql_text sys.dm_exec_query_plan sys.dm_exec_requests sys.dm_db_wait_stats Windows Azure SQL Database and SQL Server -- Performance and Scalability Compared and Contrasted

DMVDetailsUse sys.dm_exec_query_statsCumulative view of query statisticsTotal and average resource consumption sys.dm_exec_query_sql_textReturns the text of the SQL batch that is identified by the specified sql_handle Provide overall batch text for statement sys.dm_exec_query_planReturns plan in XML for specified plan handleProvide plan for tuning and analysis sys.dm_exec_requestsCurrent requests executing on your DBCheck for blocking, contention related issues, convoys, etc

Look at the Top N’s CPU / IO / Worker Time / Executions / Avgs Compare Queries Between Shards Plan Changes Resources Executes / Hot Shards? What is Slow? Look at Durations… DML Blocking / Waits / Throttling One Offs

Works on prem and in the cloud Free -> ~ $ /mo (10 x- large instances) Agent based, hooking profiling API Great cross-instance correlation features

Availability Performance Usage

Application DB Telemetry SCOM SCOM Azure Management Pack:

Generating Telemetry WA Table Storage: General maximum throughput is 1000 entities / partition / table Performance Counters: Uses part of timestamp as partition key (limits number of concurrent entity writes) Each partition key is 60 seconds wide, and are written asynchronously in bulk Consuming Telemetry WA Table storage Read performance degrades with # entities/partition Example: Entities/Partition := (# perf counter entries) * (# role instances being monitored) Scaling The Solution – You can extend this approach by Collecting performance counters at a coarser grain (Example: 1 minute -> 5 minutes) Filter more records (skip WARN/INFO messages, keep ERROR) Problems Some PaaS services don’t expose performance counters (Azure SQL DB, Service Bus, etc.)

Application DB Telemetry DB DMVs Worker Role Reports/Dashboards

Generating Telemetry WA Blob Storage supports higher limits (but you need to batch writes better) Polling DBs requires DMV diffing (which is imperfect but better than nothing) Multi-threading helps scale the system (to a point), but eventually you have latency Consuming Telemetry Database allows use of existing tools (Reporting Services, etc.) Writing Dashboards initially takes some time, but it can really help Scaling The Solution – You can extend this approach by (Same as approach 1 – collect less often or collect less data) Problems Eventually you want data “faster” and things slow down as you scale your service

Generating Telemetry On-Node collectors batch telemetry, write to Multiple WA Blob Storage Containers Per-Geo Region Accounts (collocated with service stamps in each region) Big Data (Hadoop or similar) system reads data across all stamps Aggregations/Trace Processing generate output data (to WA Blob Storage) ETL moves data into the DW Consuming Telemetry Users Query DW with star schema (facts/dimensions) using normal DB techniques Reports generated for common activities needed to run the business Queries using Hive against Hadoop also possible Scaling The Solution – You can extend this approach by Add more cores to Hadoop Buy a larger DW box Change aggregation grain for aggregation jobs Problems E2E Latency Layers between Hadoop world and Microsoft world (expertise in two technology stacks)