Use the tools support uses.

Slides:



Advertisements
Similar presentations
Using the SQL Access Advisor
Advertisements

2008 EPA and Partners Metadata Training Program: 2008 CAP Project Geospatial Metadata: EME 3.0 Module 1: Using the EPA Metadata Editor (EME) version 3.0.
2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005.
Copyright line. Maintaining an Active Directory Environment Exam Objectives Backup and Recovery Backup and Recovery Offline Maintenance Offline Maintenance.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Database Administration Jerry Post Copyright © 2007.
BASIC SKILLS AND TOOLS USING ACCESS
6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Mike Scott University of Texas at Austin
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
You too can be one step closer to having a clean, pristine SharePoint environment! 1 Methods and Solutions for Dealing with Orphaned Sites in a Large Scale.
Introduction Lesson 1 Microsoft Office 2010 and the Internet
Local Services and Swipe Card Chapter 5. Local Services and Swipe Card 5-2 Objectives Add Local Services Load Services from Other Swipe Card Systems Demo.
Simplified Management using the Enterprise Policy Management Framework
A presentation by Werardt Systemss P Ltd An Online Machine Monitoring System.
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advanced Tuning: Unconventional Solutions to Everyday Problems Robert L Davis.
1 What Are You Waiting For? A Performance Tuning Process Thomas LaRock Senior DBA, Confio Software.
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
ABC Technology Project
1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Microsoft Access.
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
Introduction to Accessing PPM Data Using Microsoft Office Amanda Oliver 2008 PPM User Conference.
Microsoft Word By: Phuong Nguyen.
Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
HORIZONT TWS/WebAdmin TWS/WebAdmin for Distributed
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Media-X eWalk Walkthrough Install Training- Part Two Topic: Uploading Completed Walkthroughs Office of Institutional Education Programs 1.
User Query Control An Enhancement For AS/400 Query On The IBM iSeries from  Copyright I/O International, 2005 Skip Intro.
Presented by Douglas Greer Creating and Maintaining Business Objects Universes.
Addition 1’s to 20.
25 seconds left…...
Graphing AWR Data in Excel
Services Course Windows Live SkyDrive Participant Guide.
Week 1.
We will resume in: 25 Minutes.
Excel Lesson 15 Working with Auditing and Analysis Tools Microsoft Office 2010 Advanced Cable / Morrison 1.
Created Revised Office of Information, Technology and Accountability 1 Microsoft Access Combos & Command Boxes.
The PLASTIC Model to HUTN transformation tool UDA.
Using the Import Accounting Line Feature You may enter accounting lines one by one in KFS or may enter multiple accounts at once using the Import Accounting.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
04/24/2014April 2014 Chapter Meeting1 Forcing IE 10 & 11 to play nicely with Retail Link™ Dan Batson Sr. Analyst / Category Advisor Fujifilm North America.
SQL Server Performance and Analysis Tools Rob Carrol, SQL Server Premier Field Engineer, Microsoft.
Sponsored by: Professional Association for SQL Server SQL Server Performance Tools Cindy Gross, Microsoft Dedicated Support Engineer and Microsoft Certified.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Maintaining and Updating Windows Server 2008
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Troubleshooting From the Field – Part 2 SQL DIAG & SQL NEXUS By Ahmad Osama SQL Server Geeks - Editor In Chief and Regional Mentor(Delhi & NCR)
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
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.
Connect with life Vinod Kumar Technology Evangelist | Microsoft
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
Vinod Kumar MTC - Technology Specialist | Microsoft
Troubleshoot Customer Performance Problems Like a Microsoft Engineer Tim Chapman Senior Field Engineer, Microsoft.
Maintaining and Updating Windows Server 2008 Lesson 8.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
SQL Database Management
Using Power Bi to troubleshoot SQL Server instances
Extend Excel with Smartlist Designer
Presentation transcript:

Use the tools support uses. SQLDiag and SQLNexus Use the tools support uses. Lisa Gardner Premier Field Engineer

Introduction to SQLDiag and Diag Manager Introduction to SQL Nexus Configuring, Collecting, and Importing Data Analyzing the Results

SQLDiag & Diag Manager

SQLDiag Command line utility that ships with SQL Server Located in the installation Binn directory Gathers perfmon logs, error logs, profiler traces, blocking information, etc Requires and XML configuration file This XML file specifies what to collect Can add custom collectors – allows you to grab the information you need You execute a PSSDIAG file, which in turn uses SQLDIAG under the covers PSSDIAG  SQLDIAG  Collectors

Diag Manager What I use to create a pssdiag for you GUI tool used to create configuration file Free download from Codeplex The more you configure to trace, the more impact you may have on performance Use trace sparingly

Capturing Custom Data Collections This is the REAL power of using Diag Manager & SQL Nexus Diag Manager can capture any scripts you specify and SQL Nexus can import them into a database Once imported, you can run your own diagnostic scripts to find problems More on this later…

Capturing Custom Data Collections Custom Collections are added to the CustomDiag.XML file in the _MyCollectors folder It is usually quicker to modify this XML file to add collections than it is through the UI

Diag Manager Custom Collection Add your SQL scripts to the _MyCollectors DiagManager folder C:\Program Files (x86)\Microsoft\Pssdiag\CustomDiagnostics\_MyCollectors Make sure the resultsets have a tag that uniquely identifies them We will use this tag to import the data into SQL Nexus

DEMO – Collect Data Configure a collection with Diag Manager Show custom collectors Start a collection Show Data being collected Review collection error logs Stop a collection Configure collection Show custom collectors Browse to _MyCollections Open cmd prompt – run as administrator – browse to c:\sqldiag Run pssdiag.cmd to show that it is starting to collect C:\NexusLoad\z_runnall.cmd Stop batch files and stop collection Show the data and error logs in filesystem

SQL Nexus

SQL Nexus Tool used to import and report on SQLDiag output Allows you to develop custom collections and reports Available on Codeplex: http://sqlnexus.codeplex.com/ This means that the source code is available RML Utilities must be installed prior to installing SQL Nexus RML Utilities for SQL Server (x86) – http://www.microsoft.com/en- us/download/details.aspx?id=8161 RML Utilities for SQL Server (x64) – http://www.microsoft.com/en- us/download/details.aspx?id=4511

SQL Nexus Reports Built-in reports provide a nice GUI for blocking, wait statistics, resource utilization, etc.

Demo – Import Data into SQL Nexus Explore Import Options Import the data

SQL Nexus Custom Diagnostics SQL Nexus uses a custom import process that you can take advantage of By modifying a XML configuration file, you can have SQL Nexus import your custom data collection from PSSDiag Add the name of the rowset in the TextRowsetsCustom.xml file Located where you installed SQL Nexus Tip: You must have entered something in your custom data collection to identify the rowset so SQL Nexus can import it

DEMO – Import Custom Data Show the XML configuration file View the collections Import data Show tables for custom diagnostics Nexus>>runas administrator

Performance Analysis of Logs (PAL) Tool

Performance Analysis of Logs (PAL) Tool Nice free tool used to analyzer Perfmon logs Allows you to set custom thresholds or use thresholds already configured for your workload There is a SQL Server workload that looks at SQL Server counters Available on Codeplex: http://pal.codeplex.com/ Does take some analysis time, so be prepared to wait if you need to analyze a lot of perfmon information

The PAL Wizard Answer each option carefully as it will impact the output report Choose the SQL Server 2005/2008 Threshold Option Use the ThresholdFile tab to create a perfmon counter template file to easily collect the data

MS Chart Controls for PAL The MS Chart Controls are required to execute PAL PAL will install fine without them http://www.microsoft.com/en-us/download/details.aspx?id=14422 You’ll receive this error if the controls are not installed.

PAL Output Graphs show thresholds Alerts summarized in time slices

PAL Output The output is color coded to let you know the areas to focus on You do have some control over this through the threshold files Not everything in red actually means something You must know what to look for

Analyzing the Results

When to Use Which Tool? PAL is great for overall system performance Benchmark Get acquainted with a workload Long duration PSSDIAG/Nexus More targeted performance analysis Need to view SQL internal resources (waits, blocking chains, query plans) Short timespan for collection

Now What? Look at Bottleneck Analysis Review Performance Counters Identify Expensive Queries Dig in to the Nexus database Look at solving the biggest bottleneck first then collect data again

DEMO – Tips for Data Analysis