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

Transactional replication - undistributed commands

We have a problem in Transactional replication. The problem is that I have mismatch number of rows between the publisher and the subscription. We have Transactional replication in SQL2012 Enterprise edition SP3 Publication – Standalone…
0
votes
1 answer

Transaction Replication with new schema

I am trying to create Transaction Replication on SQL server 2008 R2. The subscriber database will be new and we need to set new schema for it, meaning we want to have "NewSchema"."TableName" rather than dbo.tableName. I have created new database and…
0
votes
1 answer

SQL server 2014 Transaction Replication

I am trying to replicate a column with data type char(10) to another column with datatype char(30) While applying snapshot I get an error saying "Field Size too large" As per my understanding Publisher has size smaller than the Subscriber so why…
0
votes
0 answers

SQL Transaction Replication Error Autofix

I understand that T-Rep includes a publisher, distributor and subscriber. Usually I find replication failing due to a Primary Key conflict or a row not found issue. I am planning to leverage the distribution databases and the publisher database to…
0
votes
1 answer

Finding Row and Column filters in transactional replication

SQL Server Transactional Replication: I understand that T-Rep supports both row and column filters and this can be done through the GUI while setting up replication. I am trying to create SQL code which can list down all the filters (row and column)…
Alok Singh
  • 174
  • 3
  • 15
0
votes
1 answer

Why 'Views' need to be replicated?

Assuming View1 is based on Table A,B and C on Server1. Table A,B and C are replicated to Server2 using Transactional Replication. View1 is created on Server2. ASK: So will View1 on both the servers reflect the same data (discounting the replication…
0
votes
1 answer

How to check for Publisher and Subscriber in transactional replication?

In transactional replication, at a particular point of time how can i check and confirm whether data at Publisher and Subscriber is same? I don't want to check latency/trace token - as latency will only tell how much subscriber is behind from…
Jason Clark
  • 1,307
  • 6
  • 26
  • 51
0
votes
1 answer

Transactional replication: Getdate() column shows future time in both publisher and subscriber tables

In my project I have to replicate a table from one server on to other. While replicating everything works except a column that is meant to show getdate() which actually shows a future time. For example when a record is saved in the publisher table…
0
votes
0 answers

Dynamics NAV (a replicated Database) Does Not Open?

Experts I was able to replicate an NAV test Database to another server instances. I used Transaction Replication. This was successful, whenever a transaction was completed in the original database, the results could be seen in the replicated SQL…
0
votes
1 answer

SQL server Transactional replication and SSRS

I am considering implementing transactional replication on a 70GB main db (soon to migrate to SQL server 2014) with medium-high level CRUD activites. We use SQL Reporting Services (2005-> 2014) for heavy overnight report generation and medium…
0
votes
0 answers

Is there any performance issue with Transactional replication in SQL Server 2008 R2?

In my Organization, we do have a requirement to get last hour modified data from production database (some of the large tables) to other support teams. So, we are suggesting to go with replication. However, Our DBA is saying that replication is…
0
votes
2 answers

SQL Express 2014 edition call pull Snapshot replication subscribers

I have Sql Stander edition 2014 Which is Distributor and Publisher Also. I created Subscriber on Sql Stander Edition on other Server.Subscriber pull Snapshot Replication is working proper and i can look at the data. When i Used the 2014 Express…
0
votes
0 answers

MSSQL filter row in replication limits

I have a transactional replication between two databases where I filter rows because I just want to replicate rows with certain userids. I have now hit the roof when it seems that the filters can’t contain any more characters. Is this a known…
0
votes
1 answer

SQL Server 2014 Replication Over Route Setup

I have an OLTP server that I am thinking of setting up transactional replication for in order to support OLAP Reporting. I have a server named Yoda that we are using for our OLTP and one named Chewie for our OLAP server (Both are VM servers). I…
0
votes
1 answer

Add remote subscriber SQL Server

I am getting this error: SQL Server replication requires the actual server name to make a connection to the server. Specify the actual server name, 'Bla'. (Replication.Utilities) I am aware of…
cs0815
  • 16,751
  • 45
  • 136
  • 299