How to perform a health check

Slides:



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

Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Setting Up a Sandbox Presented by: Kevin Brunson Chief Technology Officer.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
+ Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server = Querying Microsoft SQL.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
Oracle9i Performance Tuning Chapter 12 Tuning Tools.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
Distributed Replay Testing With Your Data, Your Way! ca.linkedin.com/in/melodyzacharias.
How to kill SQL Server Performance Håkan Winther.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Let’s Get It Started Lori Edwards, SQL Sentry. Introduction  Sales Engineer for SQL Sentry since 2/2013  Previously – DBA since 2003  PASS volunteer.
10 Things All BI Administrators Should Know Robert L Davis Database Engineer
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
Real-time Performance Monitoring for SQL Server and Dynamics AX
Maintaining a Microsoft SQL Server 2008 Database
Mile Hi Power BI User Group
SQL Server Statistics and its relationship with Query Optimizer
Smarter Technology for Better Business
Get the Most out of SQL Server Standard Edition
Project Management: Messages
You Inherited a Database Now What?
Tips for SQL Server Performance and Resiliency
Hitting the SQL Server “Go Faster” Button
Common SQL Server Mistakes and How to Avoid Them
Planning an Effective Upgrade from SQL Server 2008
Extensible Platform Microsoft Dynamics 365
Summit Nashville /28/2018 8:42 PM
Installation and database instance essentials
Contained DB? Did it do something wrong?
TechEd /13/2018 7:46 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Introduction to SQL Server Management for the Non-DBA
Excel Services Deployment and Administration
Introduction of Week 3 Assignment Discussion
Azure Automation and Logic Apps:
Tips for SQL Server Performance and Resiliency
Multi-Farm, Cross-Continent SharePoint Architecture
Dynamics AX Performance
Hitting the SQL Server “Go Faster” Button
Performance Tuning for Mere Mortals Part II
The Ultimate Maintenance Plan By Ed Roepe Perimeter DBA, LLC
dbatools - PowerShell and SQL Server Working Together
Statistics: What are they and How do I use them
Performance Tuning for Mere Mortals Part II
How to Perform A Health Check By Edward Roepe Perimeter DBA, LLC
The Ultimate Maintenance Plan By Edward Roepe Perimeter DBA, LLC
You Inherited a Database Now What?
Governing Your Enterprise with Policy-Based Management
Service Template Creation from the Ground Up
How to perform a health check
Azure Data Storage Options
Automated Testing Strategies and Dynamics 365 Performance Management
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Using Dbatools to Automate Database Migrations
The Force Within Management Data Warehouse
Using Distributed AGs for Your Migrations
Sql Saturday Philadelphia
How To Load A Fact Table Really, Really Fast
Azure SQL Database Lessons Learned From the Trenches Best practices, Tips and Tricks on monitoring and improving performance. Fernando Cobo.
Managing the mystery database

Making your M Queries Dynamic in Power BI
Advanced Database Topics
Presentation transcript:

How to perform a health check Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Carl Roepe Senior DBA Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338 Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Carl Roepe Senior DBA Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Carl Roepe Senior DBA Carl has certifications in Microsoft SQL Server from SQL 2008 thru 2014. He has served as staff, director, president and CEO of multiple companies managing data on an enterprise levels. His has extensive experience with massive data sets and high volume processing. Some of the industries he has worked in are advertising and marketing, banking, accounting, automotive, health care and professional sports. Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Carl Roepe Senior DBA MCSE Data Warehousing MCSE Data Analytics MCSE Data Platform Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Carl Roepe Senior DBA MCP Microsoft Certified Professional MCITP SQL 2008 Business Intelligence Developer MCITP Database Developer MCITP Database Administrator MCSA SQL 2012, MCSA SQL 2008, MCTS SQL 2008 Business Intelligence Development and Maintenance MCTS SQL 2008 Database Developer MCTS SQL 2008 Implementation and Maintenance Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Carl Roepe Senior DBA I currently provide install, configuration and tuning for Microsoft SQL Server. My primary role is the backend reliability and performance of SQL Server as both a database and analytics engine. As a secondary role, I am engaged in developing solutions on SSRS, SSAS, Power BI as well as other specialized front-end platforms. From general reporting and analysis to integrated application development. Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Carl Roepe Senior DBA As an experienced outdoorsman, I love camping, hiking and backpacking. Most of my experience is with the Appalachian mountains and Appalachian trail. Perimeter DBA, LLC 4780 Ashford Dunwoody Road, Suite 337 Dunwoody GA 30338

How to perform a health check Agenda: The importance of performing a Health Check How to run the popular Blitz script Review the key areas Save the results for capacity and trending analysis Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check The importance of performing a Health Check Records all critical environment specs Records current SQL settings Records and reports warnings on Database Level Records and reports on reliability issues Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Records all critical environment specs: Version Last Restart Drive Space Hardware Slow reads or writes on a drive Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Records current SQL settings Server Memory Max Degree of Parallelism Tempdb Backup compression XP_CMDSHELL setting Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Records and reports warnings on Database Level: Fill Factor Statistics File growth Page Verification Stored procedures WITH RECOMPILE Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Records and reports on reliability issues: DBCC CECKDB Alerts 19-25 Jobs owned by users that are not SA Database owner SA Dedicated Admin Connection (DAC) Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

How to perform a health check Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/first-aid/ Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/first-aid/ Download and unzip the FirstResponderkit.zip Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/first-aid/ Download and unzip the FirstResponderkit.zip Contents of FirstResponder.zip: eBooks Install scripts Individual Scripts Worksheets Power BI Templates Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/first-aid/ Install Core Blitz sp’s Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/documentation/ Basic Parameters: @CheckUserDatabaseObjects = 0 – turns off database checks like heaps and triggers. @CheckServerInfo = 1 - SQL Server version, whether it’s a virtual machine, how much memory it has, and more. @OutputServerName, @OutputDatabaseName, @OutputSchemaName, Outputs to table @OutputTableName @IgnorePrioritiesAbove = 50 @IgnorePrioritiesBelow = 50 @Help = 1 – explains the rest of sp_Blitz’s parameters, plus the output columns as well. Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/documentation/ Basic Parameters: Filter Objects to Check Table @SkipChecksServer, @SkipChecksDatabase, @SkipChecksSchema, Location of Filter Table @SkipChecksTable The table needs to have the fields ServerName NVARCHAR(128), DatabaseName NVARCHAR(128), CheckID INT We review the contents of that table, and then we’ll skip (or not output) the checks you specify: Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/documentation/ Basic Parameters: Filter Objects to Check – Test Conditions ServerName = ‘MyServer, DatabaseName = NULL, CheckId = NULL ( will not check anything on servername MyServer ) ServerName = NULL, DatabaseName = ‘MyDB’, CheckId = NULL ( will not check MyDB on any server ) ServerName = ‘MyServer’, DatabaseName = ‘MyDB’, CheckId = NULL ( will not check MyDB on MyServer ) ServerName = NULL, DatabaseName = NULL, CheckId = 5 ( will skip CheckId 5 on all databases ) ServerName = NULL, DatabaseName = ‘MyDB’, CheckId = 5 ( will skip CheckId 5 on MyDB ) Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/documentation/ Procedure Cache Health Parameters @CheckProcedureCache = 1, we grab the top 20-50 resource-intensive plans from the cache and analyze them for common design issues.  We’re looking for missing indexes, implicit conversions, user-defined functions, and more.  This fast scan isn’t incredibly detailed – we’re just looking for queries that might surprise you and require some performance tuning. @OutputProcedureCache = 1, we output a second result set that includes the queries, plans, and metrics we analyzed.  You can do your own analysis on these queries too looking for more problems. @CheckProcedureCacheFilter Can be CPU, Reads, Duration, ExecCount, or null.  If you specify one, we’ll focus the analysis on those types of resource-intensive queries (like the top 20 by CPU use.)  If you don’t, we analyze the top 20 for all four (CPU, logical reads, total runtime, and execution count).  Typically we find that it’s not 80 different queries – it’s usually 25-40 queries that dominate all of the metrics. Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ EXEC sp_Blitz @CheckUserDatabaseObjects = 0, @CheckServerInfo = 1; Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ EXEC sp_Blitz @CheckUserDatabaseObjects = 0, @CheckServerInfo = 1; Output Results: Priority FindingsGroup Finding DatabaseName URL Details QueryPlan QueryPlanFiltered CheckID Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Findings Groups & Number of Tests Backup 7 Configuration 1 Corruption 3 Encryption 1 Features 1 File Configuration 3 Global Trace Flag 1 High Availability 1

How to perform a health check https://www.brentozar.com/blitz/ Findings Groups & Number of Tests Informational 10 In-Memory OLTP (Hekaton) 1 Licensing 2 Monitoring 3 Non-Active Server Config 1 Non-Default Database Config 14 Non-Default Database Scoped Config 4 Non-Default Server Config 73 Outdated sp_Blitz 1 Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Findings Groups & Number of Tests Performance 70 Query Plans 6 Reliability 36 Security 10 Server Info 14 Surface Area 1 Wait Stats 3 Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Saving Results to Excel Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Saving Results to Excel Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Saving Results to Excel Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Saving Results to Excel Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Saving Results to Excel Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check https://www.brentozar.com/blitz/ Bonus - URL’s  Room - Cliffs of Insanity 10:30am Atlanta SQL Saturday # 733 May 19, 2018 at Gwinnett Technical College – Alpharetta 2875 Old Milton Pkwy, Atlanta, Georgia, United States, 30009

How to perform a health check The importance of performing a Health Check Critical environment specs Current SQL settings Warnings on Database Level Reliability issues Room 4-1703 May 4, 2019 @ 12:15 pm Jacksonville SQL Saturday # 820 The University of North Florida Campus 1 UNF Drive, Jacksonville, Florida, 32224

Thanks to our Sponsors!

http://jssug.com

https://tinyurl.com/y6spgfwn Slack Channel – https://jssug.slack.com #jssug #sqlhelp #jobhelp #sqlsatjax https://tinyurl.com/y6spgfwn

Please Take Pictures and Post! #SQLSatJax @JSSUG

501 Legion Charitable Donation Thank the 501 Legion for Supporting Our Event! JSSUG Will Match Donations up to $200 Donation Bucket on Registration Table

Don’t forget Session Eval’s for Speakers! Don’t forget Event Evals for xBox Raffle! Schedule is Online and in GuildBook App

Modern Migration Tour Register: https://tinyurl.com/y6qom9n3 When: June 15, 2019 Where: UNF Sponsored by: PASS, Microsoft & Intel In the lead up to SQL Server 2008 end of support, PASS has recruited Sandy—an expert in all things migration—along with an all-star lineup of speakers from Microsoft and Intel®, to smoothly guide you to your final destination—a modern data platform. Whether you’re interested in moving to an updated on-premises, cloud, or hybrid solution; PASS, Microsoft, Intel®, and Sandy (of course!) have teamed up for a must attend series of webinars, in-person events, and migration resources, dedicated to giving you the tools you need to migrate with confidence.