Managing the mystery database

Slides:



Advertisements
Similar presentations
ManageEngine ® SQLDBManager Plus - Product Overview.
Advertisements

How We Maintain a Healthy Bb Environment Sheila Chandler Director, Learning Systems Virginia Commonwealth University.
Managing a “0 Downtime” Shop Session Code Session Title About Me 15 years as a DBA (Wells Fargo, Anthem, Yellow Pages, Pulte…) SQL.
© 2011 PLANET TECHNOLOGIES, INC. Augmenting User Profiles with Line of Business Data Patrick Curran, MCT APRIL 28, 2012.
© 2011 PLANET TECHNOLOGIES, INC. Extending User Profiles with Line of Business Data Patrick Curran, MCT FEBRUARY 24, 2013.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 1.
1 Solving the records management problem A cloud-computing approach to archiving Amanda Kleha Product Marketing, Google May 20, 2008.
Why does my perfectly working App Crash and Burn in Production? Matt Kramer Project Manager, STL Boeing Scalability Test Lab cell.
Strength. Strategy. Stability.. Progress Performance Monitoring and Tuning Dan Foreman Progress Expert BravePoint BravePoint
CCAT Troubleshooting Training XenApp April 2012 Citrix Consulting Architecture Team.
Intro to SQL Server Performance Tuning By Robert Biddle.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Meeting # 88 Welcome to the Minnesota SharePoint User Group March 14 th, 2012 SharePoint 101 Wes Preston.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Share In The Conversation May 22, 2010 Making the Point with PowerPoint Brett P. Cooper
Upgrading from r4.1.4 to r7: Making a Smooth Transition Roger Suttmeier Support Distribution Manager June 14, 2006.
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
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.
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
WHEN DATABASE CORRUPTION STRIKES Presented by Steve Stedman Founder/Owner of Stedman Solution, LLC.
C:\Users\> whoami Known on Twitter t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field.
Blog.eardley.org.uk SharePoint Databases What you need to know Alan Eardley SQL Saturday Exeter 25 April 2015.
SQL Server Storage Inside. About Hemantgiri S. Goswami Hemantgiri S. Goswami is a Lead Database Consultant for Pythian, a company head quartered in Ottawa,
Building a Home Grown Auditing Infrastructure for SQL Server
Reporting Services 2012 Data Alerts
Understanding the New PTC System Monitor (PSM/Dynatrace) Application’s Capabilities and Advanced Usage Stephen Vaillancourt PTC Technical Support –Technical.
You Inherited a Database Now What?
Curacao SQL Saturday June 11, 2016
Tips for SQL Server Performance and Resiliency
Upgrading from r4.1.4 to r7: Making a Smooth Transition
Troubleshooting SQL Server high CPU usage
Outsourcing Database Administration
SQL Server Data Collector From Every Angle
Get to know SQL Manager SQL Server administration done right 
Lead SQL BankofAmerica Blog: SQLHarry.com
Benchmarking the forgotten Role of Performance Tuning
SQL Server Monitoring Overview
Contained DB? Did it do something wrong?
Where to Start, What You Need
Simplifying XEvents Management with dbatools
Upgrading to Microsoft SQL Server 2014
Azure Powers Medication Administration for Aged, Disability, and Community Care Providers “With Microsoft Azure, Telstra Health is able to scale our MedMobile.
Tips for SQL Server Performance and Resiliency
Tips for SQL Server Performance and Resiliency
The Ins and Outs of Indexes
Performance Tuning for Mere Mortals Part II
SharePoint Administrative Communications Planning: Dynamic User Notifications for Upgrades, Migrations, Testing, … Presented by Robert Freeman (
Making PowerShell Useful
Re-Indexing - The quest of ultimate automation
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
Example of a page header
Selling IIoT Solutions to Systems Integrators
Performance Tuning for Mere Mortals Part II
SQL Server Performance Tuning Nowadays
Making PowerShell Useful
You Inherited a Database Now What?
Summit Nashville /3/2019 1:48 AM
Sql Saturday Philadelphia
Using wait stats to determine why my server is slow
Managing the mystery database
Exploring the latest T-SQL enhancements
Dustin Dorsey 10 reasons you are paying too much (or too little) on your SQL licenses.
Exploring the latest T-SQL enhancements
The DBA Quit and now you’re it:
Presentation transcript:

Managing the mystery database Dustin Dorsey Managing the mystery database

Who am I? Director of Data Management for Lifepoint Health (Fortune 500 company) Email - Dorsey.Dustin@att.net LinkedIn – linkedin.com/in/dustindorsey Twitter - @SQLByDustin Blog - https://dustindorsey.com/ I have been working with SQL Server for over a decade in development and administration Active speaker and blogger

Thank you for being my friend! And thank you to all the other sponsors and organizers!!!

Evaluations!

Agenda What are mystery databases? Talk about why we even care Discuss the challenges and cost implications associated with mystery databases Look at things you can do to figure out what these databases are used for

What is a mystery database? A database that you are responsible for supporting, but have no idea what it is

Some cost implications (Licensing) (Resources) (Storage) (People)

Other implications (Upgrades) (Migrations) (Troubleshooting) (Scheduling) (Decommissions)

We need to investigate! WHO, WHAT, WHEN, WHERE, WHY, HOW

Shut it off and see who screams!

No perfect solution

Non-technical list Ask around… Someone may know something Look for documentation Look for old support requests

Who is using this database? Check to see who is actively connecting to the database Check to see who has access Tracking connection activity over time Sp_whoisactive, sp_blitzwho, sp_who, etc. Look at users who have access to the server… Check database permissions that indicate permissions where explicitly granted Start tracking connections over time Benefits: Know distinctly which databases are getting connected to and how often Tracking for what accounts are being used… helpful for cleanup of old accounts Understanding of what hosts connections are coming from, this is useful when you need to know where the apps are located See specifically what is accessing a database… and avoid false positives such as maintenance scripts\backups\monitoring\etc Decommissions What programs are connecting?

Database properties Information from sys.databases Extended properties

Track database growth Check the size of your backups to see if they are growing Check to see if the transaction log is growing

Database usage Look for plans in the plan cache Review index usage stats (read\writes) View Transactions\sec perfmon counters Use extended events\profiler Plan cache – Good indicator but may not catch everything due to memory pressure or RECOMPILE hints

Database design Review the database design Profile the data By carefully naming objects, you can perform a lot of self-documentation

Where can I start… Run periodic self-audits Start by looking at places with the most impact Largest databases Databases with the least resource consumption Old versions of SQL

Questions?