Allen White UpSearch Technology Services SQL Server MVP SESSION CODE: DAT306 Gather SQL Server Performance Data with PowerShell.

Slides:



Advertisements
Similar presentations
Death of Security: Breached Hosts/Stolen Data/IP Espionage
Advertisements

Il-Sung Lee Senior Program Manager Microsoft Corporation SESSION CODE: DAT302.
Ron Jacobs Technical Evangelist Microsoft Corporation SESSION CODE: DEV207.
Gather SQL Server Performance Data with PowerShell
Jason Tolley Technical Director ROK Technology Pty Ltd SESSION CODE: WEM305.
Joe Kuemerle Lead Developer PreEmptive Solutions - SESSION CODE: DEV306.
Mark Harmsworth – Architecture Nate Bruneau – Engineering Scott Kleven – Program Management Microsoft Corporation SESSION CODE: OSP321.
Laura Chappell Author Wireshark Network Analysis: The Official Wireshark Certified Network Analyst Study Guide wiresharkbook.com SESSION CODE: SIA336.
Sometimes it is the stuff you know that hinders true progress.
Loren Goodman Chief Technology Officer InRule Technology SESSION CODE: ARC301 Putting Business Rules To Work.
Juergen Thomas Principal Program Manager Microsoft Corporation SESSION CODE: DAT314.
The Secrets of Effective Technical Talks: How to Explain Tech without Tucking Them In! Presented by Mark Minasi and Mark Russinovich SESSION CODE: SIA334.
Ashwin Sarin Program Manager Microsoft Corporation SESSION CODE: COS204.
Maciej Pilecki Consultant, SQL Server MVP Project Botticelli Ltd. SESSION CODE: DAT403.
Design Solutions in ExcelShare them on SharePoint 9.
Boris Jabes Senior Program Manager Microsoft Corporation SESSION CODE: DEV319 Scale & Productivity in Visual C
Peter Provost Sr. Program Manager Microsoft Corporation SESSION CODE: DEV403.
Kevin Cox – SQL CAT Microsoft Corporation What are the largest SQL projects in the world? SESSION CODE: DAT305 Srik Raghavan –
Adam Machanic Database Consultant SQLblog SESSION CODE: DAT318.
END USER TOOLS AND PERFORMANCE MANAGEMENT APPS Excel PerformancePoint Svcs/ProClarity BI PLATFORM SQL Server Reporting Services SQL Server Reporting Services.
Brad Younge Principal Statera, Inc. SESSION CODE: COS304.
Janssen Jones Virtual Machine MVP Indiana University SESSION CODE: VIR403.
Bradley Millington Senior Program Manager Microsoft Corporation SESSION CODE: WEB 306.
Suhail Dutta Program Manager Microsoft Corporation SESSION CODE: DEV402.
Matt winkler program manager microsoft corporation SESSION CODE: ASI303.
Aaron Skonnard & Keith Brown Cofounders, Pluralsight SESSION CODE: ASI308 Programming AppFabric: Moving.NET to the Cloud.
Chandrika Shankarnarayan Senior Program Manager Microsoft Corporation SESSION CODE: ASI301.
Satya SK Jayanty Director & Principal Architect D BI A Solutions Peter Saddow Senior Program Manager Microsoft Corporation -SQL Server SESSION CODE: DAT312.
Thomas Deml Principal Program Manager Web Platform and Tools Microsoft Corporation SESSION CODE: WEB308.
Paul Litwin Programmer Manager Fred Hutchinson Cancer Research Center SESSION CODE: WEB206.
Omar Khan SESSION CODE: WSV331. Simplification.
Jeff King Senior Program Manager, Visual Studio Microsoft Corporation SESSION CODE: WEB305.
Lori Dirks Expression Community Manager Microsoft Corporation SESSION CODE: WEB309.
Johan Arwidmark Chief Technical Architect TrueSec SESSION CODE: WEM301.
Paul Schaeflein, MCT Manager of Advanced Technologies LaSalle Consulting Partners, Inc. SESSION CODE: OSP309.
Dan Holme Director of Training & Consulting Intelliem SESSION CODE: OSP214.
Chris Mayo Microsoft Corporation SESSION CODE: UNC207.
Bob Beauchemin Developer Skills Partner SQLskills SESSION CODE: DAT402.
Olivier Bloch Technical Evangelist Microsoft Corporation SESSION CODE: WEM308.
Richard Campbell Co-Founder Strangeloop Networks SESSION CODE: WEB315.
Younus Aftab Program Manager Microsoft Corporation SESSION CODE: WSV324.
Srinath Venkatasubramanian Alliance Manager Sonata Software Limited SESSION CODE: BIP203.
By: Paul D. Sheriff or SESSION CODE: DEV320.
SESSION CODE: MGT205 Chris Harris Program Manager Microsoft Corporation.
Reza Chitsaz Senior Program Manager Microsoft Corporation SESSION CODE: DEV302 Building a SharePoint Collaboration Application in Visual Studio 2010.
Andrew Connell, MVP Developer, Instructor & Author Critical Path Training, LLC. SESSION CODE: OSP305.
Pat Altimore Sr. Consultant Microsoft Corporation SESSION CODE: WCL321.
BIO202 | Building Effective Data Visualizations and Maps with Microsoft SQL Server 2008 Reporting Services BIU08-INT | Using.
Ted Pattison Author / Instructor Critical Path Training SESSION CODE: OSP315.
Martin Woodward Program Manager Microsoft Corporation SESSION CODE: DEV308.
Don Jones Senior Partner and Technologist Concentrated Technology, LLC SESSION CODE: DAT203.
Jesus Rodriguez Chief Architect, Tellago, Inc Microsoft Architect Advisor Microsoft MVP Oracle SOA ACE SESSION CODE: DEV406.
SESSION CODE: COS301. So what do we do?
Mir Rosenberg & Refaat Issa Program Managers Microsoft Corporation SESSION CODE: WSV401.
David A. Carley Senior SDE Microsoft Corporation SESSION CODE: DEV318.
Tobias Ternstrom Senior Program Manager Lead SQL Server Engine SESSION CODE: DAT405 Itzik Ben-Gan Mentor and Co-Founder Solid Quality Mentors.
John R. Durant Senior Product Manager Microsoft Corporation SESSION CODE: OSP313.
ObjectCounterLook For Processor% Processor Time
By: Paul D. Sheriff or SESSION CODE: WCL206.
Cube Measure Group Measure Partition Cube Dimension Dimension Attribute Attribute Relationship Hierarchy Level Cube Attribute Cube Hierarchy.
Brian A. Randell Senior Consultant MCW Technologies SESSION CODE: DEV311.
Christophe Fiessinger & Jan Kalis Senior Technical Product Manager Microsoft Corporation SESSION CODE: OSP209.
Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312.
Ken Getz Senior Consultant MCW Technologies, LLC SESSION CODE: WCL202.
Brent Ozar SQL Server Expert Quest Software SESSION CODE: DAT316.
Tobias Ternstrom Senior Program Manager Lead SQL Server Engine SESSION CODE: DAT404.
Luke Hoban Senior Program Manager Microsoft Corporation SESSION CODE: DEV307.
Andrew Connell, MVP Developer, Instructor & Author Critical Path Training, LLC. SESSION CODE: OSP319.
Tim Laverty – Diego Vega – Program Managers Microsoft Corporation SESSION CODE: DEV305.
Stephen Forte Chief Strategy Officer Telerik stephenforte.net SESSION CODE: DEV303 Building Data Driven RESTful Applications.
Presentation transcript:

Allen White UpSearch Technology Services SQL Server MVP SESSION CODE: DAT306 Gather SQL Server Performance Data with PowerShell

Gather SQL Server Performance Data with PowerShell

ObjectCounterLook For Processor% Processor TimeShould be <= 80% MemoryAvailable MBytes Low Memory, Server Paging Paging File(_Total)% UsageShould be < 70% PhysicalDisk(*)Disk Reads/sec Baseline, watch for unusual variations PhysicalDisk(*)Disk Writes/sec Baseline, watch for unusual variations SystemProcessor Queue Length > 10 threads/proc and CPU > 80% is concern Gather SQL Server Performance Data with PowerShell

ObjectCounterLook For Access MethodsForwarded Records/sec Should be < 10 per 100 batch requests/sec Access MethodsPage Splits/sec Should be <20 per 100 batch requests/sec Buffer ManagerBuffer cache hit ratioShould be > 90% Buffer ManagerPage life expectancyShould be >=300 General StatisticsProcesses blockedBaseline, check for changes SQL StatisticsBatch Requests/sec> 1000 is busy system SQL StatisticsSQL Compilations/sec Should be < 10% of batch requests/sec SQL StatisticsSQL Re-Compilations/sec Should be < 10% of compilations/sec Gather SQL Server Performance Data with PowerShell

# Initialize Perfcounters $ppt = new-object System.Diagnostics.PerformanceCounter $ppt.CategoryName = 'Processor' $ppt.CounterName = '% Processor Time' $ppt.InstanceName = '_Total'

Gather SQL Server Performance Data with PowerShell Connect to Server Find Instances Initialize Server Counters For Each Instance Initialize Instance Counters While Not EndDate Capture Server Counters For Each Instance Capture Instance Counters

Gather SQL Server Performance Data with PowerShell

Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year