Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Replication and Reporting database

Author  Topic 

bmeggitt
Starting Member

2 Posts

Posted - 2012-11-26 : 09:25:58
I could use a little direction from the experts.

We have an operational database with a 30 day window and a reporting database with a 120 day window. Keeping them in sync with replication works well except for when we need to purge records from the operational side. We do not want the purge deletes to replicate across to the reporting side. Our DBA is tell me that it is not possible to stop the purge deletes. I'm sure this is done at many other places. What options do we have for blocking the deletes from the reporting side?



Thanks
Bob

namman
Constraint Violating Yak Guru

285 Posts

Posted - 2012-11-26 : 12:55:29
How many tables you do not want to replicate the delete actions?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2012-12-26 : 12:03:58
Yes there is a way in Transactional Replication. You can go to publisher -> Article Properties and choose DONOT Replicate Delete statements for those tables. If purge is one time,huge and affects lots of table, I would recommend to take backup and disable replication purge data and reapply Replications with Full and Transaction log backup.
Go to Top of Page

bmeggitt
Starting Member

2 Posts

Posted - 2012-12-26 : 12:46:38
Thank you for all the replies.
We have a solution that will work for our users and make our DBA happy.

Thanks
Bob
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2012-12-26 : 13:40:02
So what was the solution?
Go to Top of Page
   

- Advertisement -