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 Cross Database View

I am attempting to build a reporting platform for our CRM. The design of the system has a separate DB (with the same structure) for each client. I am replicating (transactional) these 50 DBs to the report server but I now want to bring all the data…
0
votes
2 answers

SQL Server 2012 Database Transaction Replication performance issue

We have configured SQL Server 2012 database transaction replication for our client's .NET web application to distribute SQL transaction and reporting on different SQL Servers. We had implemented transaction replication on to SQL-Node1 is working as…
0
votes
1 answer

How to handle this replication scenario?

Suppose there are some databases: P, S1, S2, S3 etc. P (publisher) has some tables that need to be replicated (cloned and synchronized) on S1, S2 and S3 (subscribers). The copies of those tables will be read-only. Furthermore, the copies will be…
0
votes
1 answer

SQL Server - Creating Distributor causes error

When I try to create a Distributor on a SQL Server 2012 database I get the following error. I have tried a lot of things over the last 6 hours and can't get anything to work. Does anyone have any ideas?
0
votes
1 answer

Replication Snapshot Agent file naming

When SQL Server Snapshot Agent creates a snapshot (for transactional replication), there's a bunch of .PRE, .SCH, .BCP, and .IDX files, usually prefixed with the object name, a sequence number and part number. Like MY_TABLE_1#1.bcp for MY_TABLE. But…
Cody Konior
  • 727
  • 1
  • 7
  • 19
0
votes
0 answers

AS400 subscription to SQL Server 2008 R2 Std

I am aware that you can create a subscription on an AS400 box to a SQL Server box. My question is, can you have replication if you do not have active journals going on some of the AS400 tables?
0
votes
1 answer

distribution.dbo.MSdistribution_history comments explanation

The comment column of distributor.dbo.MSdistribution_history contains comments such as
0
votes
1 answer

Resume Replication after restoring publication database

We are using Transactional Replication. I have publisher database called D1 and subscriber database D2. D1 is getting log shipped at the DR environment. we have 'sync with Backup' option is enable on publisher (D1). Now my data has been backed up…
Piyush Patel
  • 139
  • 2
  • 16
0
votes
1 answer

Partitioning Of A Subscriber Table When Publisher Is Not Partitioned

I have a very large, non-partitioned, transactionally replicated table in a 3rd party database that that I administrate but cannot alter. Although I cannot change the publisher, I would like to partition this table on the subscriber. I've found…
PseudoToad
  • 1,504
  • 1
  • 16
  • 34
0
votes
1 answer

SQL Server Transactional Replication - Execute Pre and Post Script

I am using SQL Server 2008 and have transactional replication setup. I need to be able to execute a pre replication script on the publisher and then a post replication script on the subscriber. Is this possible with transactional replication? I have…
TechyGypo
  • 824
  • 1
  • 11
  • 27
0
votes
1 answer

Strategy to check if Transactional Replication succeeded

We would like to use Transactional Replication to replicate data from one source database to recipient databases. If replication succeed it is necessary to notify some other systems in workflow. Is there any way to check, based on some attribute, if…
Anton Kalcik
  • 2,107
  • 1
  • 25
  • 43
0
votes
1 answer

Transactional Replication Stopping At Distributor

My publisher is dutifully pumping data into the distributor but that is where it is stopping. I'm new to the realm of replication. I know that I can easily solve this by dropping and recreating everything but it seems there must be a more elegant…
PseudoToad
  • 1,504
  • 1
  • 16
  • 34
0
votes
1 answer

SQL Server Replication across a unidirectional gateway

We would like to replicate a SQL Server 2005 database across a unidirectional gateway between a very secure Process LAN and a somewhat less secure Business LAN. Does anyone know: If there is a way to have SQL Server perform the replication without…
0
votes
1 answer

Transactional Replication Subscriber Recovery Mode

I have been doing database work for years but have very limited experience with replication. When using Transactional Replication, is there any reason the subscriber needs to be in Full recovery mode? I've inherited several databases that are being…
PseudoToad
  • 1,504
  • 1
  • 16
  • 34
0
votes
1 answer

SQL database replication best practice

I have a project that require the following: The main SQL server and database will be in headquarters and two remote locations need to work with their system offline, due to frequent internet failure, but the data has to be replicated to the…
VAAA
  • 14,531
  • 28
  • 130
  • 253
1 2 3
19
20