Upload
databaseguys
View
205
Download
3
Tags:
Embed Size (px)
Citation preview
Module 9: Database Administration for Highly Available
Systems
Overview
Developing a High Availability DBA Team
Managing SQL Server 2000 for High Availability
Maintenance, Monitoring, Support, and Troubleshooting
Lesson: Developing a High Availability DBA Team
Building a Team Identity
Sharing Ownership
Promoting Credibility Influence, and Stability
Promoting Continuous Learning
Building a Team Identity
Collective Responsibility
Constant Quality Evaluation
Sharing Ownership
Rotation
Effective Use of Spare Time
Brown Bag Presentations
Communication
Promoting Credibility, Influence, and Stability
Alert Messages
Team Website
Promoting Continuous Learning
Encourage Continuous Learning
Use Small Frequent Learning Tasks
Make Resources Available
Budget for Conferences
Encourage Shared Learning
Lesson: Managing SQL Server for High Availability
Managing Service Level Agreements
Keeping a Operations Guide
Managing the Services
Handling Response Time
Dynamic Tuning
Managing Backups
Managing Change: Theory
Controlling Change: Practice
Managing Service Level Agreements
Service Level Agreement Contents
Measuring Service Level Agreements
Commitment
Vendor Agreements
Measuring Success
Keeping an Operations Guide
SQL Server Administrative Information
Analysis Services Administrative Information
Application System Information
Database Components
Storage Components
Server Components
Up-to-date Operations Guide
Managing the Services
Service Login
Managing Services
The Service
Handling Response Time
Send E-mail Alert Messages to a Pre-defined Group Alias
Forward Events to Another Server
Standardize Alert Message Content
Standardize Message Handling
Store Server Registrations in One Location
Set Up Server-based Rules to Prioritize Alerts
Dynamic Tuning
Usage-based Performance Tuning
Dynamic management
Administrative control
Accuracy and responsiveness
Dynamic Feedback and Analysis
Setting within 10 percent of absolute optimal value
Highly adaptive system
Managing Backups
Process, Schedule, and Documentation
Storing, Testing, and Rotating Backups
Accidental Data Loss
Capturing Statistics on the Backup Process
Thinking of All Contingencies
Network traffic is reduced by backing up to a separatesegment
Isolated segment for backup
Tapedrive
ServerServer
Server
Backing Up User Databases
After Creating Databases
After Creating Indexes
After Clearing the Transaction Log
Full Database Backup Strategy
Created Database and Performed Full Database Backup
Full Database Backup Full Database Backup
SundaySunday MondayMonday TuesdayTuesday
DataLog
DataLog
DataLog
Differential Backup Strategy
MondayMonday TuesdayTuesday
Full DatabaseBackup
DifferentialBackup
DifferentialBackup
............LogData
Log Log Log Log Log Log
LogData
Database File or Filegroup Backup Strategy
MondayMonday TuesdayTuesday WednesdayWednesday ThursdayThursday
DataFile 1
DataFile 3
DataFile 2
Full DatabaseBackup
LogData
Log Log Log Log Log Log Log Log
Managing Change: Theory
Types of Change
Reconfigurations Enhancements Maintenance of emergency fixes Unmanaged changes
Process of Change
Test changes outside of production Record what happens when testing is impossible Have a contingency plan
Controlling Change: Practice
Baselines and Test Scripts
Reconfigurations and Upgrades
Enhancements, Releases, and Fixes
Notification
Handling Unmanaged Change
Alternate System Access During Change
Documenting Change
Lesson: Maintenance, Monitoring, Support, and Troubleshooting
Maintenance Basics
Online Database Console Commands
Intrusive Maintenance
Baselines and Trends
Perceived Unavailability
Supporting a Data Warehouse
Supporting a Production Database
Maintenance Basics
Documentation
Online Maintenance
Standardized Automated Maintenance
Script Library
Online Database Console Commands
Console Command Checklist
Using Time Effectively
Considering Performance Costs
Intrusive Maintenance
DBCC Processes
UPDATE STATISTICS FULLSCAN
SHOWCONTIG WITH TABLERESULTS, ALL_INDEXES
CHECKDB with options other than physical_only
DBREINDEX clustered index WITH NO_INFOMSGS or Drop/Create Index
SHOWCONTIG WITH TABLERESULTS, ALL_INDEXES
Baselines and Trends
Monitoring System Behavior
Baselining Steps
Establishing a Performance Baseline
Factors That Affect Performance
Server Hardware
Operating System
Network
SQL Server
Database Application
Client Application
Perceived Unavailability
Perceived Downtimes
Application Usage Spikes
Supporting a Data Warehouse
ETLM System Design
Cubes in Analysis Services
Recovery
Supporting a Production Database
Troubleshooting
Specific Procedures
Useful Resources
Additional Support
Review
Developing a High Availability DBA Team
Managing SQL Server 2000 for High Availability
Maintenance, Monitoring, Support and Troubleshooting