Questions tagged [transactional-replication]

Transactional replication typically starts with a snapshot of the publication database objects and data. As soon as the initial snapshot is taken, subsequent data changes and schema modifications made at the Publisher are usually delivered to the Subscriber as they occur (in near real time).

Transactional replication typically starts with a snapshot of the publication database objects and data.

As soon as the initial snapshot is taken, subsequent data changes and schema modifications made at the Publisher are usually delivered to the Subscriber as they occur (in near real time).

The data changes are applied to the Subscriber in the same order and within the same transaction boundaries as they occurred at the Publisher; therefore, within a publication, transactional consistency is guaranteed.

Transactional replication is typically used in server-to-server environments and is appropriate in each of the following cases:

  • You want incremental changes to be propagated to Subscribers as they occur. The application requires low latency between the time changes are made at the Publisher and the changes arrive at the Subscriber.

  • The application requires access to intermediate data states. For example, if a row changes five times, transactional replication allows an application to respond to each change (such as firing a trigger), not simply the net data change to the row.

  • The Publisher has a very high volume of insert, update, and delete activity. The Publisher or Subscriber is a non-SQL Server database, such as Oracle.

By default, Subscribers to transactional publications should be treated as read-only, because changes are not propagated back to the Publisher. However, transactional replication does offer options that allow updates at the Subscriber.

Source: Transactional Replication

290 questions
1
vote
1 answer

SQL Server replication with subscriber doesn't know about the publisher

I have a case where many sql server instances need to be merged and centralized in one master database. This needs to be near real-time solution. After looking around in google, I've found that transactional replication can do the trick. The problem…
1
vote
1 answer

Pausing Transactional Replication

Scenario: I'm working with a customer that has a live database. On a separate server, they have a copy of this database and they have transactional replication setup, which runs constantly. I have an SSIS package that runs on the copy of the…
Tanner
  • 22,205
  • 9
  • 65
  • 83
1
vote
2 answers

SQL Server Transactional replication - The process could not bulk copy into

So I have setup T-replication from Publisher (SQL Server 2014) Distributor (SQL Server 2014) Subscriber (SQL Server 2008 R2) and initialized it using a snapshot. Checking in the replication monitor I find that the Snapshot agent has completed…
1
vote
2 answers

Replication Server Name issue in SQL Server 2012

I am facing server name problem in SQL Server 2012. When I click on configure distribution I get an error: Unable to connect to server. Specify the actual server name. I changed my server name and restarted the services but unable to connect…
1
vote
1 answer

Adding new article to transactional replication gives error at subscriber

I have an updatable transactional replication set with SQL Server 2008. Everything is working fine. I added a new table to the existing publication thru sp_addarticle followed by sp_addsubscription. After that I ran the snapshot agent. Snapshot has…
Geeta K.
  • 23
  • 4
1
vote
1 answer

Neo4j -- How to synchronize local database with remote neo4j database server

I am working on a project where we are using Neo4j as a database. I have a remote database built for the application and hosted in Cloud. There is another database (local database) which is hosted at Client's location. The ask is: Is there a way to…
1
vote
1 answer

Can I use replication for this case?

I support a datamart… and I was instructed to consume tables from a DW that is in another datacentre that we have access through linked server… I suggested using replication cause it’s the easiest for me, but I was not authorized; and now I find…
1
vote
1 answer

Can you replicate data from MS SQL Server 2005 to MySQL 5.1 one-way?

I need to set up a one-way transactional replication from a SQL Server 2005 database to MySQL 5.1 Database. I have installed the ODBC driver and started to work on creating the publication, but I am getting an error that I have not found a solution…
1
vote
1 answer

SQL Server 2008 Transactional Replication Between Databases That Have Table With Same Columns Name But Different Column Order

I'm new with replication. My company is using Ms. Dynamics Navision 2009. Now I need to replicate all databases from the branches to a single database for reporting purpose. This is the structure of the Databases SOURCE DB Name : [BRANCH…
1
vote
1 answer

Replicate a database using snapshots and transaction logs

For learning purposes, I want to write my own database, that is able to replicate itself. I have made some progress, but now I am facing a problem that I can not solve. Supposed I have a database (let's call this source) that I would like to…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
1
vote
0 answers

Transactional Replication: Distributor to Subscriber failure

I just set up transactional replication following the instructions here I am getting the following error: The process could not connect to Subscriber 'SUBSCRIBERSERVER'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20084) Login failed for user 'NT…
1
vote
1 answer

Pull subscription running on subscriber anonymously. Determine when replication has ended

I created a publication (snapshot or transaction) on a Server-A. I'm trying to set up pull replication on Server-B. I'm able to use replication properly but my snapshot is very big & the complete transaction takes around 1 hr to complete. When I…
ggtffg
  • 303
  • 3
  • 20
1
vote
1 answer

Partitioned table in publication and a non-partitioned table at subscriber in Sql Replication

I was wondering whether we can use partitioned tables at the Publication level and non-partitioned tables at the Subscriber level? I was reading this article, Replicating Partitioned Tables and Indexes It doesn't mention anything about what if…
1
vote
1 answer

Steps to remove transactional replication

I'm looking for some good articles, documentations or links on how to completely remove SQL Server 2012 Transactional Replication? I currently have three SQL Server machines that participate in transactional replication (let's say SQL-P, SQL-D and…
sydney
  • 131
  • 8
  • 19
1
vote
3 answers

SQL Transactional Replication - initial snapshot places table locks?

When the initial snapshot is being generated while configuring SQL Server Transactional Replication, does anyone know if the snapshot agent places locks on the tables (articles) you have selected? I have some tables that contain 2+ millions rows…
sydney
  • 131
  • 8
  • 19