Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
davinci_rajesh
Contributor
Contributor

Difference between ms-replication and ms-cdc in Sql server as the source

I have been wondering about the differences ms-replication and ms-cdc in the source. Lately I have been trying out replication and cdc in the sql server to replicate my data. But  I am not fully aware when to use them. Can you please help me understand the use case? #qlikreplicate

Labels (1)
2 Solutions

Accepted Solutions
Shai_E
Support
Support

Hello,

I found the following community Article, which talks about this subject: the difference between the replication techniques, when to use each, explanations in regard to each technique.

Qlik Replicate: MS_REPLICATION vs MS-CDC - Qlik Community - 1939350

 

Hope This Helps

 

View solution in original post

SwathiPulagam
Support
Support

Hi @davinci_rajesh ,

 

In simple words, MS Replication will hold transactions in Tlog, and Replicate can read those transactions from Tlog before they got truncated\archieved. To use MS replicate your tables must have PK.

Whereas MS CDC will maintain the transactions in change tables and Replicate can read data from these change tables. Using MS CDC you can Replicate tables even without PK.

You can check the User guide for more details on both solutions:

 

https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/Micros...

 

https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedReplicateHDD/SQLSe...

 

Thanks,

Swathi

 

 

Thanks,

Swathi

View solution in original post

2 Replies
Shai_E
Support
Support

Hello,

I found the following community Article, which talks about this subject: the difference between the replication techniques, when to use each, explanations in regard to each technique.

Qlik Replicate: MS_REPLICATION vs MS-CDC - Qlik Community - 1939350

 

Hope This Helps

 

SwathiPulagam
Support
Support

Hi @davinci_rajesh ,

 

In simple words, MS Replication will hold transactions in Tlog, and Replicate can read those transactions from Tlog before they got truncated\archieved. To use MS replicate your tables must have PK.

Whereas MS CDC will maintain the transactions in change tables and Replicate can read data from these change tables. Using MS CDC you can Replicate tables even without PK.

You can check the User guide for more details on both solutions:

 

https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/Micros...

 

https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedReplicateHDD/SQLSe...

 

Thanks,

Swathi

 

 

Thanks,

Swathi