473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Replication in a single transaction

2
We are using Transaction Replication across 3 DB's. Data from DB1 needs to be replicated to DB2 from where it goes to DB3. There are no independent updates in DB2 and DB3. We are using SQL Server 2005 & Push replication.

We need the replication to be in a single transaction. So, for an insert, the rows should be present in DB1, DB2 and DB3 or in none at all. There should not be a situation where the data is not replicated completely.

The MS-SQL docs are ambiguous about this feature. Does Transaction Replication provide this feature? If not, how can our requirement be met?

Thanks
Feb 19 '08 #1
2 1305
ck9663
2,878 Expert 2GB
We are using Transaction Replication across 3 DB's. Data from DB1 needs to be replicated to DB2 from where it goes to DB3. There are no independent updates in DB2 and DB3. We are using SQL Server 2005 & Push replication.

We need the replication to be in a single transaction. So, for an insert, the rows should be present in DB1, DB2 and DB3 or in none at all. There should not be a situation where the data is not replicated completely.

The MS-SQL docs are ambiguous about this feature. Does Transaction Replication provide this feature? If not, how can our requirement be met?

Thanks
Can't you do a DB1 goes to DB2 then DB1 also goes to DB3?

-- CK
Feb 19 '08 #2
DKK
2
Can't you do a DB1 goes to DB2 then DB1 also goes to DB3?

-- CK
DB2 and DB3 are closely related in structure whereas DB1 is quite different. Replicatiing Data from DB1 to DB2 involves some logic but once this is done, DB2 to DB3 is quite straightforward.
Some books i browsed told me that MS-SQL uses distributed transactions to handle this in Transaction Replication, provided the DT Coordinator is running. Will need to test this to confirm but any help/insight will be appreiciated.
Feb 19 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ian Wyld | last post by:
Hello All We intend to replicate a database in order to have it as a near immediate standby in case of the failure of the main server. Is this the best solution for disaster recovery? We...
1
by: Vincento Harris | last post by:
Is there any problem with implementating some kind of replication and backing up transaction logs at the same time? SQL Server 2000 Standard Edition The server is configured to back up log files...
0
by: Marko Damaschke | last post by:
Hello alltogether, i'm working on a database-plattform which should work with fail-over-technics. Therefor 2 identic machines with internal RAID are available, which work in...
10
by: Chris Travers | last post by:
Hi-- I had been thinking of the issues of multimaster replication and how to do highly available, loadballanced clustering with PostgreSQL. Here is my outline, and I am looking for comments on...
1
by: Alex | last post by:
Hi, I just went through the install notes on erserver1.2 and saw a mention in there that every table for replication requires a integer based column. It also states that a new column is added for...
9
by: Jan Wieck | last post by:
Dear community, for some reason the post I sent yesterday night still did not show up on the mailing lists. I have set up some links on the developers side under...
1
by: GB | last post by:
Hi, I'm trying to find an easy, efficient and safe site-to-site backup/failover solution. The idea is to have anytime a remote copy of 99.99% of the data. Productive db -> VPN (internet) ->...
6
by: nd02tsk | last post by:
Hello I am going to do a comparison betweem PgSQL and MySQL replication system. I hear there are some replication projects available for PgSQL. Which are still active and serious, because I...
2
by: NoEd | last post by:
I am creating an application that will need to share data, to exist on a company's intranet, and to be used by 50+ users. The sharing consists of only added data. Each user will be able to see,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.