0% found this document useful (0 votes)
49 views

Merge Transactional With Updates

The document discusses the differences between merge replication and transactional replication with updates and provides solutions to common issues that may occur with transactional replication: 1. Merge replication does not require primary keys on tables, can have conflicts, and supports subscribers of lower versions, while transactional replication requires primary keys, prevents conflicts with immediate updates, and supports same version subscribers only. 2. An error of "Primary Key violation in distribution" during transactional replication configuration likely means there is a duplicate record in the subscriber conflicting with the publisher table, so import rows from the publisher once to resolve it. 3. Common issues with transactional replication include the log reader agent failing if the publisher database is suspect or mirrored and the

Uploaded by

Sunny Pranavam
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Merge Transactional With Updates

The document discusses the differences between merge replication and transactional replication with updates and provides solutions to common issues that may occur with transactional replication: 1. Merge replication does not require primary keys on tables, can have conflicts, and supports subscribers of lower versions, while transactional replication requires primary keys, prevents conflicts with immediate updates, and supports same version subscribers only. 2. An error of "Primary Key violation in distribution" during transactional replication configuration likely means there is a duplicate record in the subscriber conflicting with the publisher table, so import rows from the publisher once to resolve it. 3. Common issues with transactional replication include the log reader agent failing if the publisher database is suspect or mirrored and the

Uploaded by

Sunny Pranavam
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Difference between Merge and Transactional with Updates? Ans: Merge 1. SA and MA 2. No need of Primary Key on tables 3.

Triggers are created at publisher and subscriber 4. Conflicts may be there 5. Less performance 6. Subscriber may be of lower version 7. No need of MSDTC Transactional with Updates 1. SA, DA, LRA, QRA 2. Primary Key is must on published tables 3. Triggers are created at subscriber 4. No conflicts with immediate updates 5. High performance 6. It supports same version and only SS subscribers 7. MSDTC is required.

Note: Article(s) used in merge cannot be used in Transactional with updates and vice versa.

2. I have configure Transactional replication. There is an error "Primary Key violation in distribution". What may be the possible reason? Ans: * There may be a record in subscriber which is conflicting with publication table. i.e. There is duplicate record exist in subscriber. * Import rows from publisher table into subscriber table once.

3. Tell me some issues related to Transactional publication? Ans: Scenario1: Log Reader Agent was failing Database in publisher has gone into suspect mode. * Check error log * Data file was damaged * Recovered it * Now log reader working fine

On same database we have configured mirroring and mirror server was not online Scenario 2: Distribution Agent was failing Database in subscriber has gone into suspect mode. * Check error log * Data file was damaged * Publisher backups * Restore in subscriber with "Preserve Replication Settings"

Scenario3: Log Reader Agent was failing On same database we have configured both Mirroring and T.Repication. Mirroring state was disconnected i.e mirror server was down. Hence Log reader agent was failing. * Check Log Reader Agent history * Make mirror server online. * If not possible remove mirroring.

You might also like