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
0
votes
1 answer

SQL Server Replication riddle

I am about to implement transnational replication on a project.My Publication server(OLTP) only keeps data for 3 days, with a procedure I delete all the data from the server.Now as its a replication db this also gets an impact on my main server or…
Tanvir Arafat
  • 41
  • 1
  • 8
0
votes
1 answer

Postgresql Relation ID

I'm trying to utilze Postgres 10 logical replication mechanism by reading replication messages in Go code. Most of the logical replication messages refer to something called "Relation Id". My question is: how to get Relation Ids for all of the…
buoto
  • 405
  • 4
  • 13
0
votes
1 answer

SQL Replication not working correctly.

I have a transactional SQL Server replication set up. Currently everything I have review seems to show that the replication is working. I have reviewed the Replication Monitoring and Sync State and both show that transactions are being pushed across…
0
votes
2 answers

Throttling SQL server Replication?

We have a performance issue with the current transactional replication setup on sql server 2008. When a new snapshot is created and the snapshot is applied to the subscriber, we see network utilization on the publisher and the distributor jump to…
0
votes
1 answer

Oracle-to-SQL Server replication: manipulate data during replication

I've "inherited" a working Oracle (10g) to SQL Server 2005 data replication using standard SQL Server snapshot and transactional replication. Everything works fine - as long as Oracle doesn't try to send a date that's outside the SQL Server DATETIME…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
0
votes
0 answers

SQL Replication - FTP Snapshot

SQL transactional replication is setup but hitting an issue when trying to FTP the files over the internet, we have a VPN connection established to an external server. The process could not retrieve file…
0
votes
1 answer

londiste ERROR Node 'slave_IP' already exists

Yesterday, i used londiste for logical replication between PostgreSQL 9.3 and 9.5 Today, i try use londiste again. But i dont deleted node, schema after use londiste yesterday. List package yum list skytools* Installed Packages skytools-95.x86_64 …
Anton Patsev
  • 605
  • 2
  • 13
  • 27
0
votes
1 answer

sp_dboption in SQL server 2012 for Published property

Currently working on migrating SQL server from 2008 to 2012 project. We aware that sp_dboption is deprecated and it will not work in SQL server 2012. In 2008, had code to set the value for Published property. EXEC master..sp_dboption DBName,…
0
votes
0 answers

Using HADR Standby as replication source

Trying to figure out if there's way to replicate a subset of tables (columns) from HADR Standby, with ROS enabled. Latency of O(10) sec can be tolerated. We are using luw V10.5FP8 right now and will upgrade to V11 at some point. I understand the…
fall14123
  • 61
  • 1
  • 8
0
votes
1 answer

Peer to Peer Replication Current Identity Not Similar

I am using peer to peer replication for 2 databases. I am replicating some tables with ID as primary key and identity(1,1). I noticed that in the subscriber database, the current identity of the table is not similar with the current identity of the…
Tonned
  • 286
  • 2
  • 9
0
votes
1 answer

xDB Replication Console unable to connect JRMP connection establishment

While trying to add a Oracle publication server to xDB Replication Console (v6.1.2), the following error is obtained: How do I fix this? Also, how can the DB name be specified while connecting as it only asks for host, port,username and password?
0
votes
1 answer

Distribution Clenup in Transaction Replication

I have setup transaction Replication PULL type between SQL servers. But, my distribution cleanup job is not removing any data from MS_replCommands and repltransaction tables. I have set Immediate_Snyc and allow_anonymous to 0. Distribution Job…
0
votes
1 answer

In mysql Multi-Source replication,replicate-rewrite-db is not working

In mysql, i have Configured Two master to single slave. i want to replicate from different db to single db. so i mentioned replicate-rewrite-db=TEST->TEST1 I INSERTED IN TABLE test in ONE OF THE MASTER WITH DB NAME TEST. slave has TEST1 DB and test…
0
votes
1 answer

SQL Server transactional replication to Alwayson group

I have 3 servers. Server A, with a publication database, this server is not part of alwayon group, this server is the distributor Server RT1 and RT2, those servers as part of alwayson group Listener RT, the listener have the subscription to Server…
0
votes
1 answer

Transaction replication not replicating one column value

One column of type varbinary(200) is not getting replicated to destination table from source table. I have tried updating the column value in main table again but still it is not getting replicated to destination table. Am not seeing any error in…