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.

Slides:



Advertisements
Similar presentations
Refeng Wu CQ5 WCM System Administrator
Advertisements

DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Database Backup and Recovery
Backup and Recovery Part 1.
Introduction to SQL Server 2000 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Web Development MCP LebDev Vice President ©
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Optimizing SQL Server 2012 for SharePoint 2013 SharePoint Saturday/Friday, Honolulu March 27, 2015.
Chapter 2 Administrating DB Engine. Database Engine  The Database Engine is the core service for storing, processing, and securing data.  It provides.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
SQL Express. Confidential Information What’s New in Version 10  SQL Server 2005 Express Edition will replace the Pervasive Workgroup engine for Maximizer.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
 Nate Locklin ◦ Database Analyst, PPG Industries ◦  Steve Tirone ◦ Data Warehouse Analyst, Amerinet ◦
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
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.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
1 SQL Server 2000 Administration Kashef Mughal MSB.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Module 6 Backup of SQL Server 2008 R2 Databases. Module Overview Backing up Databases and Transaction Logs Managing Database Backups Working with Backup.
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.
Module 16: Performing Ongoing Database Maintenance
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005.
Learningcomputer.com SQL Server 2008 – Backup and Restore Database.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
Backup and Recovery - II - Checkpoint - Transaction log – active portion - Database Recovery.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Introduction to SQL Server for Windows Administrators Presented to WiNSUG 02/05/09 Bret Stateham Owner, Net Connex Blogs.netconnex.com.
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.
WELCOME! SQL Server Security. Scott Gleason This is my 9 th Jacksonville SQL Saturday Over ten years DBA experience Director of Database Operations
SQL Server DBA Online TrainingSQL Server DBA Online Training.
SQL Database Management
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.
How to Start SQL Server and SSDT BI in Local
Module 1: SQL Server Overview
SQL Backups for Beginners by Mark Gordon
What Is The SSIS Catalog and Why Do I Care?
You Inherited a Database Now What?
Curacao SQL Saturday June 11, 2016
Common SQL Server Mistakes and How to Avoid Them
Building Effective Backups
Contained DB? Did it do something wrong?
Limiting SQL Server Exposure
SQL Server May Let You Do It, But it Doesn’t Mean You Should
SQL Backups for Beginners by Mark Gordon
Making PowerShell Useful
Migrating your SQL Server Instance
Use PowerShell & dbatools to Manage your SQL Server Environment
Backup to Basics Tom Fox
Limiting SQL Server Exposure
Making PowerShell Useful
AlwaysOn Availability Groups
You Inherited a Database Now What?
Use PowerShell & dbatools to Manage your SQL Server Environment
Chapter 11 Managing Databases with SQL Server 2000
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
Ch 10. Maintaining and Automating SQL Server
The DBA Quit and now you’re it:
Presentation transcript:

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 options you need to know about Catchy DBA phrases….

What is it? Data, massively. Data that relates to other data. Programming language to do things with the data (Demo)

Who, What, Where… Versions: Express, Standard, Enterprise, PDWS Who uses it? Fortune 500 companies,.com’s, everything in between. How big can it get? Terabytes, More than 100 processors, RAM 100GB+

Catchy Phrase #1 “Let me get back to you on that…”

Types of installations Named Instance

Types of installations Named Instance MyServer\InstanceName Default Instance Connect by Server Name Only Listed as MSSQLSERVER in CTRL PNL

What needs to be installed Install: SQL Server engine Full Text Search Replication Business Intelligence Development Studio Integration Services SQL Books Online Management Tools “Complete”

Basic Services MSSQLSERVER --The DB Engine SQL Agent -- Schedules SQL Jobs SQL Browser -- Used for name resolution SSIS (SQL Server Integration Services) Replaced DTS. Runs packages that move data, etc. Others SSAS --Analysis Services SQL VSS Writer

Configuration manager Use it to start / stop SQL Change passwords DO NOT USE CONTROL PANEL SERVICES

A little under the hood… Master Database First Database started Contains login information for the entire instance (not user dbs) Contains info about ALL the other databases Hidden DB  MSSQLSystemResource Second Database started Just a file MSDB Database Contains scheduled jobs and History Contains alert information Fourth DB Started

A Little More Model database A model for all new databases created. Create something here, you’ll find it in the new DB. Tempdb Used for temporary objects (Demo) Used for sorting data (Usually needs to be pretty big) CANNOT be backed up

Startup Master MSSQLSystemResource Model MSDB Tempdb ALL the user databases

The flow of data SQL Server writes to the log file first (.LDF) All transactions have something written to the log file first. Writes to the Data file (.MDF) SQL Server determines when to write to the data file. (Demo)

Catchy Phrase #2 “Ohhh, THAT doesn’t sound good.…”

Server Crash SQL Recovery occurs at boot time Very resilient Plays the logs forward to recover transactions in transit

SQL Server error logs Logs for SQL and the SQL Agent Text files on the file system Can also find events in the Windows event logs

If it’s not obvious…. Backup and Recovery are the most important things you will ever do. Make sure you know this stuff Test, test, test.

Types of backups Full backups All the data in the database. Includes all the data and all the programmable objects Differential— Exactly what they say. Don’t use them.

Types of backups Transaction logs. Records all the changes to the data since the last backup. Can only be restored with a Full backup Must be restored in sequence Cannot be missing any files Database must be in Full recovery model to work.

Full, log, log, log, log, Full….

Catchy phrase #3 “Maybe we should take a backup….”

Next steps Backups Restoring user databases to the same server Restoring databases to a different server You’ll need to learn about orphaned users You need to learn how to move logins Restoring ALL databases to a new server Master, Model, MSDB, User databases

Maintenance Plans Check database integrity Rebuild (not reorganize) indexes Backup transaction logs every 15 mins. To 1 hour. Full backup daily Delete old backup files (.bak and.trn)

Configuration Options Server: AWE enabled for 32 bit Max Memory Fill factor (I set mine to 80) Database Full or Simple recovery model AutoGrow

Things that look tempting (don’t say I didn’t warn you) Boost SQL Server priority Processor affinity Windows only authentication Resource governor Policy management Auditing all logins

Thanks! Please wake up the person next to you.