The DBA Quit and now you’re it:

Slides:



Advertisements
Similar presentations
Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
Advertisements

SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Chapter 8 Hardening Your SQL Server Instance. Hardening  Hardening The process of making your SQL Server Instance more secure  New features Policy based.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
High Availability in DB2 Nishant Sinha
Alwayson Availability Groups
Module 7: SQL Server Special Considerations. Overview SQL Server High Availability Unicode.
Virtual Machine Movement and Hyper-V Replica
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Rolling Upgrades, The Easy Way Argenis Fernandez Senior Database Engineer,
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
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.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
Maintaining a Microsoft SQL Server 2008 Database
SQL Database Management
Migrating SQL Server Quickly and Efficiently
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
SQL Replication for RCSQL 4.5
Justin Randall SQLintersection Session: Friday, 10:00am-11:15pm Automating SQL Server Administration Using SQLCMD Justin Randall.
Refresh a 1TB+ database in under 10 seconds…
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
Common SQL Server Mistakes and How to Avoid Them
Peter Shore SQL Saturday Pittsburgh 2017
Helpdesk to DBA in 60 Tips & Tricks for the new DBA
IT Services Portfolio Todd Endicott – Senior Network and System Engineer Mary Monroe – Implementation Engineer.
Contained DB? Did it do something wrong?
SQL Server & PowerShell
Where to Start, What You Need
Limiting SQL Server Exposure
Tips for SQL Server Performance and Resiliency
Tips for SQL Server Performance and Resiliency
Understanding and Handling Database Corruption
How to keep your database servers out of the news Matt Gordon
Making PowerShell Useful
Migrating your SQL Server Instance
Use PowerShell & dbatools to Manage your SQL Server Environment
dbatools - PowerShell and SQL Server Working Together
Backup and Restore your SQL Server Database
Example of a page header
Klopotek is transitioning to a Global Organization
Peter Shore SQL Saturday Cleveland 2016
Limiting SQL Server Exposure
Reliable, Repeatable, Configurable & Automated Validation with
Making PowerShell Useful
AlwaysOn Availability Groups
You Inherited a Database Now What?
Secure/Encrypt SQL Server Database With TDE
High Availability/Disaster Recovery Solution
Use PowerShell & dbatools to Manage your SQL Server Environment
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Governing Your Enterprise with Policy-Based Management
Speaker info Matt Gordon Architect
Where Should My Data Live (and Why)?
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Managing the mystery database
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Managing the mystery database
Presentation transcript:

The DBA Quit and now you’re it: how to survive

Who AM I? Matt Gordon You can find me at: @sqlatspeed www.sqlatspeed.com Matt.Gordon@insight.com

Speaker info 15+ years of SQL Server experience Microsoft Data Platform MVP IDERA ACE Managed 24x7 datacenters Worked on development teams MCSE: Data Management and Analytics Local & international community speaker Leader of Lexington, KY PASS local group

Hey, our DBA just quit. I think you do stuff with data – you’re it Hey, our DBA just quit. I think you do stuff with data – you’re it! You’re our new DBA. Good luck – we’re all counting on you.

What do you do now? Action Plan Security Review Backups & Maintenance High Availability & Disaster Recovery Evaluation Performance Baselining Automation

SECURITY REVIEW What version/patch level is running? Extended support for SQL Server 2008 and 2008 R2 ends 7/9/19 What services are running? SQL Server Configuration Manager What port is SQL Server listening on? Is the Browser service running and can it be turned off? Disable xp_cmdshell Which users have sa or sysadmin access? Who has sa password? EXEC sp_helpsrvrolemember 'sysadmin’ can be run to show this If browser service is turned off the connection must be specified including port number You can always turn it off and see who screams but in production that may not be a great plan

SECURITY REVIEW (Continued) What authentication mode is being used? SQL Server authentication Windows authentication Mixed mode Is auditing turned on? Should it be? Should it be server level or instance level? Auditing can be very complex but it is something to think about initially depending on the sensitivity and security surrounding the server Can be setup via SSMS or T-SQL (MS docs are quite good here)

Backups & maintenance Review SQL Server Agent jobs Review any third-party backup software jobs Talk to ops team to see if they are handling backups Set up backups if none exist Set up a restore test process soon Is DBCC CHECKDB running? Are indexes being maintained? Are statistics being maintained? How are you organizing your maintenance? Ola Hallengren’s maintenance solution (ola.hallengren.com) Maintenance plans via SSMS Storage team may be handling backups via snapshots or other techniques particular to the vendor If they’re only backing up the server itself and not the database itself, that can be a big problem

High availability & Disaster recovery evaluation Are any HA/DR options configured? Replication Log shipping Mirroring Always On Availability Groups Always On Failover Cluster Instances How do you know whether or not these exist? How are they being monitored?

Performance baselining Are there third-party monitoring tools available to you? Evaluate wait stats https://www.sqlskills.com/blogs/paul/capturing-wait-statistics-period-time/ https://www.sqlskills.com/help/waits/ Any known pain points? Investigate those using methods discussed above Develop a strategy to do basic performance monitoring moving forward Write your own scripts? Monitoring tools? Help from the community? Perfmon counters of interest

Performance baselining (continued) Perfmon counters of interest What is Perfmon? Counters: Memory – Available Mbytes Physical Disk – Disk reads/sec, Disk Writes/sec Processor - % Processor Time SQL Server: Memory Manager – Memory Grants Pending SQL Server: SQL Statistics – Batch requests/sec

automation Maintenance plans if nothing else exists SQL Server Agent scheduled jobs DBCC CHECKDB Backups Index and statistic maintenance PowerShell dbatools.io cmdlets dbachecks

Thanks! Matt Gordon You can find me at: @sqlatspeed www.sqlatspeed.com Matt.Gordon@insight.com