Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.

Slides:



Advertisements
Similar presentations
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Advertisements

DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
SQL Server 2005 Implementation and Maintenance Chapter 10: Maintaining and Automating SQL Server.
Backup, Integrity Check and Index and Statistics Maintenance
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Automating Common DBA Tasks
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
The Essentials: DMV’s and T-SQL for the DBA Rocky Mountain Tech Tri-Fecta.
Backup, Integrity Check and Index and Statistics Maintenance
Utility Database Chris
Module 12: Backup and Recovery. Overview Backup and recovery methods available in Oracle and SQL Server 2008 Types of failure Types of recovery Formulating.
Backup and Recovery Part 1.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Module 13 Automating SQL Server 2008 R2 Management.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Administration etc.. What is this ? This section is devoted to those bits that I could not find another home for… Again these may be useless, but humour.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
© 2013, Envionmental Systems Coporation Improving StackVision Server Reliability and Monitoring June, 2013.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
Module 16: Performing Ongoing Database Maintenance
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
By Shanna Epstein IS 257 September 16, Cnet.com Provides information, tools, and advice to help customers decide what to buy and how to get the.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
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.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
SQL SERVER MAINTENANCE PLANS Kat
Best Practices for a Healthy SQL Server Presenter: Jeff Pfershy.
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
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.
Jeremy Kingry, eBECS | ADVANCED SQL SERVER FOR ADMINS AND ANALYSTS.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Database Administration for the Non-DBA Denny Cherry twitter.com/mrdenny.
Microsoft SMS 2003 Management Pack. For More SMS Information The public SMS Web site –
Dealing with Database Corruption DBA 911. Who am I? 2 David M Maxwell twitter.com/dmmaxwell or twitter.com/upsearchsqltwitter.com/dmmaxwelltwitter.com/upsearchsql.
SQL Server DBA Online TrainingSQL Server DBA Online Training.
You Inherited a Database Now What?
Automated Restore Script Output for Ola Hallengren’s Maintenance Solution 1) Start SQL Services on Local 2) Connect to Azure AlwaysOn 3) Delete all maintenance.
Tips for SQL Server Performance and Resiliency
Performance Management
Database Corruption Advanced Recovery Techniques|
SQL Server Monitoring Overview
Introduction to SQL Server Management for the Non-DBA
Tips for SQL Server Performance and Resiliency
The Ultimate Maintenance Plan By Ed Roepe Perimeter DBA, LLC
Re-Indexing - The quest of ultimate automation
Peter Shore SQL Saturday Cleveland 2016
The Ultimate Maintenance Plan By Edward Roepe Perimeter DBA, LLC
You Inherited a Database Now What?
Jean Joseph DBA\DEVELOPER
Sql Saturday Philadelphia
Ch 10. Maintaining and Automating SQL Server
The DBA Quit and now you’re it:
Presentation transcript:

Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health

SQL Saturday

Resources  SQL 2014: Built in  SQL 2012:  reports/ reports/  SQL 2008: dashboard-reports-in-ssrs.aspxhttp://blogs.technet.com/b/rob/archive/2010/09/28/hosting-the-performance- dashboard-reports-in-ssrs.aspx  SQL 2005:  Hosting the Performance Dashboard Reports in SSRS in-ssrs.aspx in-ssrs.aspx  Sp_Blitz:  Perfmon Counters Poster: Perfmonance-Poster.pdfhttp:// Perfmonance-Poster.pdf  Top 20:  DMV e-book  DMV e-book gate.com/ebooks/SQL/eBook_Performance_Tuning_Davidson_Ford.pdfhttp://download.red- gate.com/ebooks/SQL/eBook_Performance_Tuning_Davidson_Ford.pdf

SQL Generations 6 …………………………………………….……………

Stone Tablet & Chisel Use master SELECT * FROM sys.database_files master..sp_spaceused

Driving Reason to Evaluation  Responding to a Problem  Newly Delivered  General Checkup  Accidental DBA

Perfmon Counter Poster Quest Software ns/SQLServer-Perfmonance-Poster.pdf

Don’t get caught re- inventing the wheel SQL Standard Reports SQL Server 2012 Performance Dashboards PerfMon Reporting DMV Reporting Ready Built Scripts Third-party Custom Pursuit of SQL Perfection

 SQL 2014: Builtin  SQL 2012: us/download/details.aspx?id=29063http:// us/download/details.aspx?id= dashboard-reports/  SQL 2008: performance-dashboard-reports-in-ssrs.aspxhttp://blogs.technet.com/b/rob/archive/2010/09/28/hosting-the- performance-dashboard-reports-in-ssrs.aspx  SQL 2005: us/download/details.aspx?DisplayLang=en&id=22602http:// us/download/details.aspx?DisplayLang=en&id=22602 SQL Server Performance Dashboard

Server Reports Configuration Changes History Schema Changes History Scheduler Health Memory Consumption Activity – All Blocking Transactions Activity – All Cursors Activity – Top Cursors Activity – All Sessions Activity – Top Sessions Activity – Dormant SessionsActivity – Top Connections Top Transactions by Age Top Trans Blocked Transactions Count Top Transactions by Locks Count Performance – Batch Execution Statistics Performance – Object Exec Statistics Performance – Top Queries by Avg CPU Performance – Top Queries by Avg IO Performance – Top Queries Total CPU Performance – Top Queries by Total IO Server Broker Statistics Transaction Log Shipping Status

Database Reports Disk Usage Disk Usage by Top Tables Disk Usage by Table Disk Usage by Partition Backup and Restore Events All Transactions All Blocking Transactions Top Transactions by Age Top Trans by Blocked Transactions Count Top Transactions by Locks Count Top Trans by Blocked Transactions Count Resource Locking Statistics by Object Object Execution Statistics Database Consistency History Index Usage Statistics Index Physical Statistics Schema Changes History User Statistics Active Full-Text Catalogs

Miscellaneous Reports Logins - Login Statistics Logins - Login Failures LoginsResource Locking Statistics by Logins Management - Tasks Management - Number of Errors Notification Services - General Agent - Job Steps Execution History SQL Server Agent - Top Jobs

Free Tools Every DBA Should Have Microsoft Assessment and Planning (MAP) Toolkit us/solutionaccelerators/dd aspx SP_Blitz Ola Hallergren Index & Backup Maintenance SQL Alerts Created Automatically server-agent-alerts-for-critical-errors/

Microsoft Assessment and Planning (MAP) Toolkit

Microsoft Assessment and Planning (MAP) Toolkit

SP_Blitz PriorityFindingsGroupFindingDatabaseNameURLDetails 0Oct NULL 1Backup Backing Up to Same Drive Where Databases ResideNULLhttp://BrentOzar.com/go/backup Drive G:\ houses both database files AND backups taken in the last two weeks. This represents a serious risk if that array fails. 1BackupBackups Not Performed RecentlyAcmeDBhttp://BrentOzar.com/go/nobakDatabase AcmeDB never backed up. 1BackupBackups Not Performed RecentlyAcmeEmployeeshttp://BrentOzar.com/go/nobakDatabase AcmeEmployees never backed up. 1BackupBackups Not Performed RecentlyLIMShttp://BrentOzar.com/go/nobakDatabase LIMS never backed up. 1BackupBackups Not Performed Recentlymasterhttp://BrentOzar.com/go/nobakDatabase master never backed up. 1BackupBackups Not Performed Recentlymodelhttp://BrentOzar.com/go/nobakDatabase model never backed up. 1BackupBackups Not Performed Recentlymsdbhttp://BrentOzar.com/go/nobakDatabase msdb never backed up. 1Backup Full Recovery Mode w/o Log BackupsAcmeDBhttp://BrentOzar.com/go/biglogs Database AcmeDB is in FULL recovery mode but has not had a log backup in the last week. 1Backup Full Recovery Mode w/o Log BackupsAcmeEmployeeshttp://BrentOzar.com/go/biglogs Database AcmeEmployees is in FULL recovery mode but has not had a log backup in the last week. 1 Perform anceMemory Dangerously LowNULLhttp://BrentOzar.com/go/max The server has megabytes of physical memory, but only 144 megabytes are available. As the server runs out of memory, there is danger of swapping to disk, which will kill performance. 10SecuritySysadminsNULLhttp://BrentOzar.com/go/sa Login [WileE] is a sysadmin - meaning they can do absolutely anything in SQL Server, including dropping databases or hiding their tracks. 20 Reliabilit ySystem Database on C Drivemasterhttp://BrentOzar.com/go/cdrive The master database has a file on the C drive. Putting system databases on the C drive runs the risk of crashing the server when it runs out of space. 20 Reliabilit ySystem Database on C Drivemodelhttp://BrentOzar.com/go/cdrive The model database has a file on the C drive. Putting system databases on the C drive runs the risk of crashing the server when it runs out of space. 50 Reliabilit yAgent Jobs Without Failure sNULLhttp://BrentOzar.com/go/alerts The job Aggregate Data SQLdmRepository has not been set up to notify an operator if it fails. 50 Reliabilit y Last good DBCC CHECKDB over 2 weeks oldEAMPRODhttp://BrentOzar.com/go/checkdb Database [AcmeDB] last had a successful DBCC CHECKDB run on :00: This check should be run regularly to catch any database corruption as soon as possible. Note: you can restore a backup of a busy production database to a test server and run DBCC CHECKDB against that to minimize impact. If you do that, you can ignore this warning. 100 Perform anceSlow Storage Writes on Drive CNULLhttp://BrentOzar.com/go/slow Writes are averaging longer than 20ms for at least one database on this drive. For specific database file speeds, run the query from the information link.

Ola Hallengren EXECUTE = = = 'INDEX_REORGANIZE,INDEX_REBUIL = 'INDEX_REBUILD_ONLINE,INDEX_REB = = = 30 EXECUTE = = = = = = = = 24

DMV Queries Michael J Swart Top 20 Executed Queries SQL Server DMVs in Action: Better Queries with Dynamic Management Views By Ian W. StirkIan W. Stirk Performance Tuning with SQL Server Dynamic Management Views by Tim Ford and Louis Davidson

Resources  SQL 2014: Built in  SQL 2012:  reports/ reports/  SQL 2008: dashboard-reports-in-ssrs.aspxhttp://blogs.technet.com/b/rob/archive/2010/09/28/hosting-the-performance- dashboard-reports-in-ssrs.aspx  SQL 2005:  Hosting the Performance Dashboard Reports in SSRS in-ssrs.aspx in-ssrs.aspx  Sp_Blitz:  Perfmon Counters Poster: Perfmonance-Poster.pdfhttp:// Perfmonance-Poster.pdf  Top 20:  DMV e-book  DMV e-book gate.com/ebooks/SQL/eBook_Performance_Tuning_Davidson_Ford.pdfhttp://download.red- gate.com/ebooks/SQL/eBook_Performance_Tuning_Davidson_Ford.pdf

Dennis Graham