Database Mirroring with SQL Server

Slides:



Advertisements
Similar presentations
Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
Advertisements

SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
STRYK System Improvement. MS Dynamics NAV (Navision) since 1997 MS SQL Server since % Focus on „NAV/SQL Performance Optimization“ STRYK System.
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
FlareCo Ltd ALTER DATABASE AdventureWorks SET PARTNER FORCE_SERVICE_ALLOW_DATA_LOSS Slide 1.
SQL Server Data Protection and High Availability Anil Desai.
Keith Burns Microsoft UK Mission Critical Database.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
Lync /19/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
National Manager Database Services
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
High-Availability Methods Lesson 25. Skills Matrix.
Implementing Multi-Site Clusters April Trần Văn Huệ Nhất Nghệ CPLS.
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.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
DATABASE MIRRORING  Mirroring is mainly implemented for increasing the database availability.  Is configured on a Database level.  Mainly involves two.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Overview of high availability in Microsoft SQL Server Szymon Wójcik.
Satya SK Jayanty Director & Principal Architect D BI A Solutions Peter Saddow Senior Program Manager Microsoft Corporation -SQL Server SESSION CODE: DAT312.
Oracle DBAs Deploying Highly Available SQL Server Systems
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
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.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
SQL Server 2014 AlwaysOn Step-by-Step SQL Server 2014 AlwaysOn Step-by-Step A hands on look at implementing AlwaysOn in SQL Server 2014.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
SQL Server High Availability Introduction to SQL Server high availability solutions.
Windows Server Failover Clustering (WSFC) with SQL Server.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
ALWAYSON AVAILABILITY GROUPS
Secrets to Fast, Easy High Availability for SQL Server in AWS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
Always On Multi-Site Patterns
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Always On Availability Groups
Contained DB? Did it do something wrong?
Free Microsoft Exam Braindumps Dumps4Download
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Always On : Multi-site patterns
SQL Server High Availability Amit Vaid.
Your Data Any Place, Any Time
Disaster Recovery Where to Begin
How to keep your database servers out of the news Matt Gordon
Always On : Multi-site patterns
Always On : Multi-site patterns
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
SQL Server on Linux: High Availability And Disaster Recovery
Database Mirroring The Basics
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Designing a Highly Available SQL Server Infrastructure
Distributed Availability Groups
=tg= Thomas Grohser SQL Saturday Philadelphia 2019 TSQL Functions 42.
04 | Always On High Availability
SQL AlwaysOn Availability Groups
Designing Database Solutions for SQL Server
Presentation transcript:

Database Mirroring with SQL Server (An Overview)

About me Matt Denton Worked with SQL Server since version 6.5 Matt.Denton@comcast.net Worked with SQL Server since version 6.5 Worn many hats DBA Developer Architect Tended to focus on Dev vs Admin Currently working at SouthwestRe

Why Database Mirroring? High Availability Disaster Recovery (with asynchronous mode) Generally cheaper than clustering Relatively easy to configure Supported from Version 2005 thru ? At least through version 2016 Often deployable to existing hardware

Database Mirroring Shortcomings Objects external to mirrored database are not synchronized Logins, Operators, Jobs, Linked Servers, windows shares, etc System databases cannot participate Only 1 mirror (target) can exist per principal database Log Shipping, Avail Groups allow multiples targets Mirrored database is not accessible Failover can be a challenge for legacy applications

How does it work? Principal server serves database to clients Mirror Server acts as hot or warm standby All transactions on principal are “redone” to mirror Transactions streamed from principal to mirror Works at level of physical log record (Replication works at logical level) Stream compressed starting with Version 2008 If using Witness in High-Safety mode, mirror server is brought up as principal automatically

How does it work?

Operating Modes High Safety (synchronous) Transactions sync’d immediately on mirror Transactions not committed on principal until committed on mirror Most often used for High Availability High Performance (asynchronous) Transactions sent to mirror asynchronously Transactions committed on principal immediately (no waiting on mirror) Requires Enterprise Edition Most often used for DR

Prerequisites All servers must be on same version of SQL Server Principal/Mirror must be on same edition Witness can be on any edition (including Express, as long as same version)

DEMO

Resources msdn.microsoft.com Search for “Database Mirroring” Google You’ll find more resources and examples than you would ever need Me Feel free to email me with questions (Matt.Denton@comcast.net)