DBA Quick Start What do you do when you’ve fallen into a job as a DBA? Take a deep breath, Find out what you’ve got, And dive right in!

Slides:



Advertisements
Similar presentations
Roy Ernest Database Administrator Pinnacle Sports Worldwide SQL Server High Availability.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
DB-13: Database Health Checks How to tell if you’re heading for The Wall Richard Shulman Principal Support Engineer.
Common Mistakes Developers Make By Bryan Oliver SQL Server Mentor at SolidQ.
FlareCo Ltd ALTER DATABASE AdventureWorks SET PARTNER FORCE_SERVICE_ALLOW_DATA_LOSS Slide 1.
DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
©2006 ITT Educational Services Inc. Course Name: IT390 Business Database Administration Unit 5 Slide 1 IT390 Business Database Administration Unit 5 :
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction.
Week 9 – Chapter 8 SQL 710 Methods to Backup Databases
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
Presented by Joseph Galvan & Stacy Kemp BACKUPS.  Using database backups, a database administrator (DBA’s) can restore from the last backup or to a specific.
Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or.
Transaction log grows unexpectedly
Optimizing SQL Server 2012 for SharePoint 2013 SharePoint Saturday/Friday, Honolulu March 27, 2015.
DBA Quick Start What do you do when you’ve fallen into a job as a DBA? Take a deep breath, Find out what you’ve got, And dive right in!
1 Chapter Overview Creating a User Database Setting Database Options Managing User Database Size Placing Database Files on Multiple Disks.
ApexSQL Log Recover accidentally truncated, dropped or deleted data with or without transaction log or its backup. Recover data from un-attachable/corrupted.
1 Demystifying the Transaction Log. 2 Rob Canzonire Advisory Database Administrator at Blue Cross Blue Shield of Louisiana Microsoft Certified Solutions.
Chapter 11: Designing a Data Recovery Solution for a Database MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study.
ForrTel: Outsourcing Your Database Administration? Think Twice Noel Yuhanna Senior Analyst Forrester Research April 11, Call in at 12:55 p.m. Eastern.
Architecture Rajesh. Components of Database Engine.
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.
Pedro Azevedo Lopes Premier Field Engineer Microsoft Corporation.
Understanding Logging & Recovery What Programmers Always Avoid Until it’s too Late! Kimberly L. Tripp Principal Mentor, Solid Quality Learning at
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
1 Chapter Overview Understanding Data Restoration Issues Understanding the Types of Database Backups Understanding the Restoration Process.
Digging Out From Corruption Eddie Wuerch, MCM - Principal, Database Performance - Salesforce Marketing Cloud Data protection and loss recovery with SQL.
Backing Up and Restoring Databases Advanced Database Dr. AlaaEddin Almabhouh.
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
Microsoft SQL is known as RDMS (Relational Database Management System) which is developed by Microsoft and is highly used at corporate and enterprise.
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.
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Concerns… What is involved in administrating databases?
Partial Database Availability
SQL Backups for Beginners by Mark Gordon
Database Administration
You Inherited a Database Now What?
Tips for SQL Server Performance and Resiliency
Curacao SQL Saturday June 11, 2016
A digital reference guide for database administrators
Disaster Recovery and SQL for new and non-DBAs
A digital reference guide for database administrators
Building Effective Backups
The Nitty-Gritty of Database Backups
Chapter Overview Understanding the Database Architecture
Introduction to SQL Server Management for the Non-DBA
Introduction of Week 3 Assignment Discussion
Database Administration for the Non-DBA
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Tips for SQL Server Performance and Resiliency
Tips for SQL Server Performance and Resiliency
SQL Backups for Beginners by Mark Gordon
Director of Database Administration with Paymetric, Inc. 
Dynamics AX Performance
Re-Indexing - The quest of ultimate automation
Back Up and Restore? Piece of Cake!
Backup and Restore your SQL Server Database
Example of a page header
RPO, RTO & SLA: 3 Letter Words for When the SHT hits the FAN
Turbo-Charged Transaction Logs
Backup to Basics Tom Fox
Disaster Recovery is everyone’s job!
Database hidden disasters…
You Inherited a Database Now What?
Backup & Recovery.
Presentation transcript:

DBA Quick Start What do you do when you’ve fallen into a job as a DBA? Take a deep breath, Find out what you’ve got, And dive right in!

My story Independent Database Consultant Database Developer Country Coach – programmer to DBA Intechgra – Systems Engineer OSAC – programmer/DBA Lane County - DBA

Play nice with the other children

Getting to know the other kids Tact – learn it or be quiet! Bring a candy bowl Go out for coffee Find out who does what Get out of your chair… Learn to listen better

Being proactive will help you avoid having your boss hovering in your cube This is the scene you want to avoid…

Being Proactive Figure out what you’ve got Triage servers and applications Backup and Restore Strategy Daily Monitoring Practice Restoring Document Processes and Procedures Patching – SQL and OS Capacity planning DR Planning/Testing Training

Figure out what you’ve got: The good, the bad, the ugly What type of servers? What are the major apps? Where are the problem children? Who are the worst performers? Who does what? Where are the black holes?

Triage What are the systems that will cause the IT director to hover in your cube? What are most important systems? Which SQL jobs are the most critical? Which jobs fail often but can be ignored?

Backup and Restore Strategy Review current backup strategy Enterprise backups Process for retrieving off site backups SQL Backup frequency – hourly, daily, weekly

Recovery Model How much data can you afford to lose? Simple – can’t restore to point in time Full – every transaction is logged Bulk logged – transactions are minimally logged Changing from Simple to Full Recovery Model

Recovery Model TSQL to list Recovery Model for all databases on server: SELECT name AS [Database Name], recovery_model_desc AS [Recovery Model] FROM sys.databases GO

Backup Types Full Differential Transaction Log Transaction Log Chain

SQL Database Files Primary data file – mdf Secondary data files – ndf Transaction log file - ldf

Don’t shrink the database! Consequences of shrinking – Fragmentation – Decreased performance – Autogrowth events

Daily Monitoring Uptime Disk space Server processes SQL jobs Event logs Monitoring tools sql-server-performance-monitoring-tools/ sql-server-performance-monitoring-tools/

Why won’t my TLOG shrink? Purpose of transaction log Reasons it gets so large When TLOG truncates When and how to shrink - 2 steps

Shrinking TLOG TSQL to shrink the TLOG file: dbcc sqlperf(logspace) use AdventureWorks2008 go sp_helpfile dbcc shrinkfile(AdventureWorks2008_Log,2048)

PRACTICE RESTORING IT How do you know you have a good backup?

Database Restore

Restore to a point in time

Do you ever want to go on vacation?

Document Processes and Procedures Create documentation for the new DBA Server build templates – standardize builds Put DBA administrative code in a source safe

Patching OS Patching SQL Server

Capacity Planning Track growth of databases and servers Create DBA Statistics database Plan for new purchases _jones/2010/07/26/sql-university-_2D00_- capacity-planning-week/

DR Planning/Testing Create build documents for each SQL Server Create DR document – Master is corrupted – User database is corrupted – Total server failure – Move logins to new server – Move jobs to new server ….

Being proactive means a happy boss!

Training Free Training Videos: training-videos/ training-videos/ us/sqlserver/ff aspx Free eBook: ks/67441/ ks/67441/

DBA Checklists -server-dba-checklist/ -server-dba-checklist/ administration/brads-sure-dba-checklist/ administration/brads-sure-dba-checklist/ server-checklist-for-analyzing-slow-running- queries/ server-checklist-for-analyzing-slow-running- queries/ server-takeovers/ - This is a script to find out what to do with a server you’ve never seen before and have to support. server-takeovers/

SQL Server Websites - This is my favorite SQL website. It’s got so much great information and doesn’t cost a cent. When I first became a DBA I signed up for their daily newsletter and read it every day. It’s still my go to site when I have a SQL problem I can’t figure out He's got a lot of great tips This guy is a riot! He is funny and gives great information too! This site is well written and they cover many topics in depth. They have a bunch of hard hitting SQL Server experts. This site can be really helpful when you need to understand the internals of SQL Server and how they impact performance.