This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information.

Slides:



Advertisements
Similar presentations
The following 10 questions test your knowledge of client site assignment in Configuration Manager Configuration Manager 2007 Client Site Assignment.
Advertisements

The following 10 questions test your knowledge of Internet-based client management in Configuration Manager Configuration Manager 2007 Internet-Based.
The following 10 questions test your knowledge of desired configuration management in Configuration Manager Configuration Manager Desired Configuration.
Libraries in touch develop Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
Open XML Developer Workshop DrawingML Basics. Open XML Developer Workshop Disclaimer The information contained in this slide deck represents the current.
SpreadsheetML Advanced
SpreadsheetML Basics.
Open XML Developer Workshop PresentationML. Open XML Developer Workshop Disclaimer The information contained in this slide deck represents the current.
DrawingML Basics.
© 2014 Microsoft Corporation. All rights reserved.
System Center 2012 Configuration Manager Concepts & Administration
Open XML Developer Workshop SpreadsheetML Advanced.
Connect with life Vinod Kumar M Technology Evangelist | Microsoft
Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ: TroubleshootingSQL:
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Open XML Developer Workshop SpreadsheetML Advanced.
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication.
With Microsoft Windows 7© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Windows 7.
Vital Signs: Performance Monitoring Windows Server
Office Open XML Developer Workshop SpreadsheetML Basics.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Key Concepts About Performance Factors Affecting SQL Performance SQL Performance Tuning Methodologies SQL Performance Tuning Tools 1.
Conditions and Terms of Use
© 2012 Microsoft Corporation. All rights reserved.
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software.
> >. Guidelines Nominations should be sent in on or before 13 th January The completed nominations should be ed to:
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
1 Windows Server 8 Developer Preview Build. 2 About this Presentation Statements about capabilities or benefits are subject to change Packaging and licensing.
Amit Bansal CTO | Peopleware India (unit of eDominer Systems) | |
Programming with touchdevelop teacher’s checklist go over this before starting the course Disclaimer: This document is provided “as-is”. Information and.
Srik Raghavan Principal Lead Program Manager Kevin Cox Principal Program Manager SESSION CODE: DAT206.
Office Open XML Developer Workshop Custom XML Integrating data and documents.
OneDrive for Business Product recap and roadmap primer
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
Connect with life Nauzad Kapadia Quartz Systems
Pinal Dave Mentor | Solid Quality India |
Microsoft ® Lync™ Server 2010 Setup and Deployment Module 04 Microsoft Corporation.
Connect with life Praveen Srivatsa Founder and CEO – AstraSoft.NET Vinod Kumar Technology Evangelist – Databases and BI.
Open XML Developer Workshop XSLT and Open XML. Open XML Developer Workshop Disclaimer The information contained in this slide deck represents the current.
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
Event Title Event Date. Module 02—Introduction to Dimensional Modeling Techniques Name Title Microsoft Corporation.
Dave LinkedIn
Scott Fallen Sales Engineer, SQL Sentry Blog: scottfallen.blogspot.com.
Ramesh Meyyappan SQL Server Performance Tuning Consultant & Trainer SQLWorkshops.comSQLWorkshops.com / SQLIO.comSQLIO.com.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
No more waiting. Sponsors About me  Database Technology Specialist  MVP  Blogger  Author 3
Event Title Event Date. Module 05—Publishing and Accessing Reports with Reporting Services Name Title Microsoft Corporation.
Microsoft Confidential © 2012 Microsoft Corporation. All rights reserved.
Primary Contact Territory Category On-boarding Status Relationship Type Deal Territory Deal Confidentiality Potential conflict Conflict Cleared.
SQL Saturday – Performance Troubleshooting
Using Parallelspace TEAM Models to Design and Create Custom Profiles
Troubleshooting SQL Server high CPU usage
Troubleshooting SQL IO issues with Xperf
SharePoint Solutions Architect, Protiviti
XSLT and Open XML.
AlwaysOn Readable Secondary
Installation and database instance essentials
Parallelspace PowerPoint Template for ArchiMate® 2.1 version 1.1
Parallelspace PowerPoint Template for ArchiMate® 2.1 version 2.0
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
SQL Server 2016 Query Data Store
12/5/ :14 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
04 | Performance and the Premium SKU
Jean Joseph DBA\DEVELOPER
Introduction to Execution Plans
Introduction to Execution Plans
Presentation transcript:

This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information in this document, including URL and other Internet Web site references, is subject to change without notice. The entire risk of the use or the results from the use of this document remains with the user. Unless otherwise noted, the companies, organizations, products, domain names, addresses, logos, people, places, and events depicted in examples herein are fictitious. No association with any real company, organization, product, domain name, address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. © 2013 Microsoft Corporation. All rights reserved. Microsoft and other Microsoft products referenced herein are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. Disclaimer

PSSDiag SQL Nexus

What does it collect? Server Configuration PerfStats Script Event Logs Performance Monitor Profiler Trace Error Logs

It’s all about the bottleneck

Look for high number of logical reads Could be heavy compiles Could be stale statistics Find the most expensive query

What can I do? Enable Optimize for Adhoc Workloads Parameterization: Forced

Look for scans, hashes, sorts or expensive operators in plan Look for high number of logical reads Could be heavy compiles Find the most expensive query Incorrect cardinality estimation a top issue Missing indexes or out of date stats May be a query design issue Parallel queries may take over the machine Common issues Tune indexes, stats, and/or query Limiting MAXDOP for parallel queries is temporary Apply a hotfix build Parameterize the query to reduce compiles Common Solutions What if I don’t have high CPU?

Is it waiting on another resource? Is it idle? Is it running? Find the lead blocker Transaction not committed or long running transaction Waiting on another resource Poor query plan Basic concurrency is “working” Common issues Tune index, stats, and/or query Application design (Ex. Fix commit tran problem) Consider READ_COMMITTED_SNAPSHOT db option Typical Solutions Deadlocks start as blocking. Almost always app problem. A large blocking chain can lead to a “hang” as seen in ERRORLOG What if I don’t have blocking?

Turtle

High Sec/T + High Bytes/Sec = SQL Flood High Sec/T + High Bytes/Sec = SQL Flood High Sec/T + Low Bytes/Sec = Disk Subsystem High Sec/T + Low Bytes/Sec = Disk Subsystem

This is starting to sound familiar…

Not enough cache for data Physical read counters Buffer Cache Hit Ratio is misleading Check ‘max server memory’ Memory throttles lead to blocking Compile memory Query memory (sorts and hash joins) Not enough cache for queries Engine has forced limits Too many ad-hoc queries Check compilations/sec

DMVs, sp_updatestats, UPDATE STATS, and “auto stats” Update Stats DMVs, SHOWPLAN, and DTA Create missing indexes Change T-SQL, Query Hints, Plan Guides Change query Tune index, stats, query Change application Often required for blocking/deadlocks Tune hardware CPU, Memory, I/O Don’t just jump to any of these!

Test 5GB No kitchen sink

Use Showplan All for queries that never complete

Only run a heavy trace for a few minutes

True or False?

PSSdiag /B 14:00:00 PSSdiag /E +02:00:00 PSSdiag /B 08:00:00 /E +09:00:00 PSSdiag /E 02:00:00 /L /Q All command line parameters:

Is it SQL Server? Running (High CPU)? Find the most expensive query Missing indexes/stats or “stale” stats? Plan look “poor”? Cardinality Estimation Problems? Waiting? Locks (Blocking) I/O Network Other Latch Other Wait It’s all about the bottleneck SQL Server Wide Configuration rarely is the cause