Appendix A Core Concepts in SQL Server High Availability and Replication



Similar documents
Module 14: Scalability and High Availability

Real World Enterprise SQL Server Replication Implementations. Presented by Kun Lee

SQL Server for Database Administrators Course Syllabus

SQL Server AlwaysOn (HADRON)

Maintaining a Microsoft SQL Server 2008 Database

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

SQL Server Training Course Content

6231A - Maintaining a Microsoft SQL Server 2008 Database

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

MIRRORING: START TO FINISH. Ryan Adams Blog - Twitter

Contents. SnapComms Data Protection Recommendations

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

SQL Server 2012/2014 AlwaysOn Availability Group

Implementing a Microsoft SQL Server 2005 Database

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Basics Of Replication: SQL Server 2000

Microsoft SQL Database Administrator Certification

Course Syllabus. At Course Completion

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Microsoft SQL Server 2012 Administration

MS SQL Server 2014 New Features and Database Administration

Expert Reference Series of White Papers. Unlock the Power of Microsoft SQL Server 2012

Administering a Microsoft SQL Server 2000 Database

Computer Visions Course Outline

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Advanced HA and DR.

TABLE OF CONTENTS THE SHAREPOINT MVP GUIDE TO ACHIEVING HIGH AVAILABILITY FOR SHAREPOINT DATA. Introduction. Examining Third-Party Replication Models

Implementing and Managing Windows Server 2008 Clustering

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Server Virtualization with Windows Server Hyper-V and System Center

Server Virtualization with Windows Server Hyper-V and System Center

Administering a Microsoft SQL Server 2000 Database

Database Replication

Online Transaction Processing in SQL Server 2008

Informix Dynamic Server May Availability Solutions with Informix Dynamic Server 11

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD WEB: TEL:

Server Virtualization with Windows Server Hyper-V and System Center

High Availability and Disaster Recovery for Exchange Servers Through a Mailbox Replication Approach

Database Mirroring & Snapshots SQL Server 2008

Outline. MCSA: Server Virtualization

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

Server Virtualization with Windows Server Hyper-V and System Center

Probably the only database Citrix people cared about

Click Studios. Passwordstate. High Availability Installation Instructions

Course Outline: Course 6317: Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

MCTS Microsoft SQL Server 2005 Implementation & Maintenance

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Administering a Microsoft SQL Server 2000 Database

Application Note 116: Gauntlet System High Availability Using Replication

SQL Server AlwaysOn Deep Dive for SharePoint Administrators

"Charting the Course... MOC B Server Virtualization with Windows Hyper-V and System Center. Course Summary

Click Studios. Passwordstate. High Availability Installation Instructions

WELKOM Cloud met Azure

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Designing a Data Solution with Microsoft SQL Server 2014

SQL Server Replication Guide

Mind Q Systems Private Limited

Floating on a Hybrid Cloud: SQL Server 2012 & Microsoft Azure. Timothy P. McAliley Microsoft Premier Field Engineer SQL Server

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Deploy App Orchestration 2.6 for High Availability and Disaster Recovery

Server Virtualization with Windows Server Hyper-V and System Center

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

20409B: Server Virtualization with Windows Server Hyper-V and System Center

Recover a CounterPoint Database

Server Virtualization with Windows Server Hyper-V and System Center

Microsoft SQL Replication

Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills Course 6317A: Three days; Instructor-Led

ICONICS Choosing the Correct Edition of MS SQL Server

Deployment Topologies

High Availability & Disaster Recovery Development Project. Concepts, Design and Implementation

CREATING SQL SERVER DISASTER RECOVERY SOLUTIONS WITH SIOS DATAKEEPER

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards

VMware vsphere Data Protection

Course Server Virtualization with Windows Server Hyper-V and System Center

Chapter Replication in SQL Server

Course Outline. Create and configure virtual hard disks. Create and configure virtual machines. Install and import virtual machines.

SQL Server Replication: Providing High Availability using Database Mirroring

Microsoft SQL Server Native High Availability with XtremIO

Microsoft SQL Server Data Replication Techniques

Critical SQL Server Databases:

SharePoint 2010 Interview Questions-Architect

Administering Microsoft SQL Server 2012 Databases

Protecting Microsoft SQL Server

SQL Server Enterprise Edition

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

SanDisk ION Accelerator High Availability

Best Practices for Upgrading to SQL Server 2012

Server Virtualization with Windows Server Hyper-V and System Center (20409) H8B93S

Server-Virtualisierung mit Windows Server Hyper-V und System Center MOC 20409

Agenda. Three License Types Concepts for ThinManager Licensing License Activation Demo

Pervasive PSQL Meets Critical Business Requirements

High Availability Solutions for MySQL. Lenz Grimmer DrupalCon 2008, Szeged, Hungary

How To Create A Replica In A Database On A Microsoft Powerbook (Ahem) On A Linux Server (A.K.A.A)

Data Protection. for Virtual Data Centers. Jason Buffington. Wiley Publishing, Inc. WILEY

Course 20465C: Designing a Data Solution with Microsoft SQL Server

Transcription:

Appendix A Core Concepts in SQL Server High Availability and Replication Appendix Overview Core Concepts in High Availability Core Concepts in Replication 1

Lesson 1: Core Concepts in High Availability Discussion: Previous Experience with High Availability Database Mirroring Failover Clustering AlwaysOn Availability Groups Log Shipping Choosing Between High Availability Options Discussion: Previous Experience with High Availability What do you understand by the term "High Availability"? What techniques have you used to try to achieve high availability? How successful have these attempts been? 2

Database Mirroring Software based solution Increases availability of a database Increases data protection Operating modes High safety High performance Role switching Manual Automated (requires witness) Failover Clustering SQL Server instance or instances installed across Windows Server failover cluster nodes Protects against server failure by providing a virtual server for client applications to connect to Disk subsystem is a single point of failure and needs built-in redundancy options Automated failover 3

AlwaysOn Availability Groups Enterprise-level high availability alternative Provide options to improve database availability and improve resource usage Supports one primary and up to four secondary replicas Replicas can support alternative availability modes (asynchronous vs. synchronous) Supports further failover options such as planned manual failover Availability group attempts to failover rather than single database Secondary replicas can provide additional support Read-only access Backup operations Log Shipping Mature and reliable technology Widely deployed No automation of failover supplied Core process Backup transaction log Copy logs to another server Restore transaction log on second server 4

Choosing Between High Availability Options Aspect Database Mirroring Failover Clustering Availability Groups Failover unit Database Server Group of databases Automated failover Data Replicas Yes, with witness Yes Yes No Log Shipping Database 1 0 4 Unlimited Complexity Medium Medium Medium Low Replica Availability Read-only via snapshot N/A Read-only, backup Read-only between restores Lesson 2: Core Concepts in Replication SQL Server Replication Architecture Snapshot Replication Transactional Replication Peer-to-Peer Transactional Replication Merge Replication Choosing Between Replication Options 5

SQL Server Replication Architecture Can play a role in high availability but mostly targeted at data distribution Based on a magazine publisher metaphor Publisher Publication Article Distributor Subscriber Snapshot Replication Simplest form of replication All published data copied each time Use when: Data does not change often Out of date data at the subscriber is acceptable Volume of data is relatively small Large volume of changes occur over short time periods 6

Transactional Replication Changes are applied to subscribers shortly after they occur Process involves: Initial snapshot of the data is taken Changes to the data (and to the schema) are delivered to the subscriber as they occur Changes are applied at subscriber in the same order as they occurred Also within the same transaction boundaries as they occur at the publisher Peer-To-Peer Transactional Replication Configurable option within transactional replication Typically used with autonomous servers Appropriately partitioned data is critical Conflicts can be detected but need to be avoided 7

Merge Replication Commonly used for simple clientserver applications Supports non-sql Server nodes Not transactionally consistent Performance suffers with Large amounts of data Large numbers of subscribers Choosing Between Available Replication Options Aspect Snapshot Transactional Peer-To- Peer Transactional No Yes Yes No Merge Complexity Low Medium High Medium Subscribers can update Conflict Detection Conflict Resolution No With limited options With partitioned data Yes No No Yes Yes No No No Yes Performance Medium High High Low 8