Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Professional SQL Server High Availability and Disaster Recovery

You're reading from   Professional SQL Server High Availability and Disaster Recovery Implement tried-and-true high availability and disaster recovery solutions with SQL Server

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789802597
Length 564 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ahmad Osama Ahmad Osama
Author Profile Icon Ahmad Osama
Ahmad Osama
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Professional SQL Server High Availability and Disaster Recovery
Preface
1. Getting Started with SQL Server HA and DR FREE CHAPTER 2. Transactional Replication 3. Monitoring Transactional Replication 4. AlwaysOn Availability Groups 5. Managing AlwaysOn Availability Groups 6. Configuring and Managing Log Shipping Appendix

Conflicts in Peer-to-Peer Transactional Replication


As discussed in the previous lesson, P2P transactional replication can result in conflicts. Let's take a look at a conflict example in this section.

Exercise 26: Problem 6 – Conflicts in P2P Transactional Replication

You will have to set up P2P replication using the scripts in Lesson 2, Transactional Replication, for this section.

Setup

To introduce the conflict into the replication, follow these steps:

  1. Navigate to C:\Code\Lesson03\Problem06 and open 1_Setup.sql and 2_Setup.sql in SSMS.

  2. Connect the query window for 1_Setup.sql to the publisher and 2_Setup.sql to the subscriber.

  3. Quickly execute the two queries in parallel.

Troubleshooting

Whenever there is a conflict, a message is logged into the SQL Server...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image