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

Replication in MySQL

I want to do transactional replication on MySql. There is no built in wizard like the one for SQL Server 2008 so I finding it a little tricky. I read that you could use FreeRadius to set replication up but there instructions on how to do this. OK,…
jeffry
  • 327
  • 2
  • 8
  • 23
1
vote
1 answer

Performance impact on SQL server 2008 with transactional replication using remote distributor

I am on the process of setting up transactional replication for our SQL server. I plan to use a remote distributor to take off as much load as possible from our main server because performance is key for our business. I know that performance impact…
1
vote
1 answer

Why I am getting this error "rows inserted or updated at the subscriber cannot be outside the article partition"?

When I insert rows at the subscriber end I get following error rows inserted or updated at the subscriber cannot be outside the article partition Why I am getting this error? How to resolve it.
1
vote
2 answers

Filtering column data in SQL Server 2008 R2 Transactional Replication

Is it possible to filter the data content of columns published in standard transactional replication of a SQL Server 2008 R2 database? If I filter the columns themselves, they vanish entirely in the subscriber tables. I want the columns to exist,…
1
vote
2 answers

Dynamics AX and SQL Server Environment

I'm looking for some best practices here... Our ERP system is Dynamics AX 2009, but we're upgrading to AX 2012. Everything is virtual except the SQL Server. Everything hits the SQL Server; ERP, Website, and all reporting. The website and some…
1
vote
1 answer

SQL Server Replication - No replicated transactions are available

I have created a publisher (on sql server 2008 r2), create transaction replication and have created a new database on subscriber sql instance (SQL Server 2012 Express). After I have created a new subscription on SQL Server 2012 Express. But My new…
1
vote
1 answer

Microsoft Sync framework issue

I have been trying to use Microsoft Sync framework v2.1 to sync two MS SQL Server Databases, but It takes around 2 hours to sync only 35 tables with total number of records is less than 500,000 record which is not accepted at all. So Am I missing…
1
vote
2 answers

How to determine when a SQL Subscription was marked for re-initialization?

MS SQL Server 2012 I am trying to determine when a subscription was marked for reinitialization. I can see when the subscription started to reinitialize, but I want to see at what time the command was issued to reinitialize the subscriptions. I…
Lenci
  • 122
  • 10
1
vote
1 answer

SQL server transactional replication, change distribution server

I have a SQL 2005 database which is published with dozens of (mostly) transactional publications and dozens of subscribers . Currently we have a local distributor. I'm trying to improve our HA for this setup and am looking at mirroring the…
1
vote
1 answer

Best way to make sql server instance available remotely? Linked Servers or replication? Other?

A co-worker and I are working on some Pharmacy software (in C#) which deals with the management of patient profiles, patient drug prescriptions, etc. All of these different sets of data are stored in a sql server database (we're using 2008 standard…
1
vote
1 answer

How do I add new articles with transactional replication?

Suppose I'm using transactional replication to replicate articles from one server to another (both running SQL Server 2000). This is setup and working great. Then, I decide to add a new article. First, I add it to the publication via Publication…
Michael Haren
  • 105,752
  • 40
  • 168
  • 205
1
vote
1 answer

Does SQL Server 2012 supports transactional replication with updatable subscription?

On this page, Microsoft states that: This topic describes the deprecated Replication features that are still available in SQL Server 2012. These features are scheduled to be removed in a future release of SQL Server. Deprecated features should…
1
vote
0 answers

Log Reader Agent in transactional replication scanning large transaction log during recurring job causing latency

We just implemented a new job on a medium traffic database involved in transactional replication, that will process inputs from an Excel spreadsheet and call a stored procedure to create records within various tables in that DB. One of the fields…
1
vote
1 answer

DB High availability through jdbc connection proxy?

I need to have a high availability database system but I can't do it through database cluster or master/slave. I need a jdbc proxy that knows to update multiple data source for a single update statement. I found HA-JDBC project…
Sean Nguyen
  • 12,528
  • 22
  • 74
  • 113
1
vote
2 answers

SQL Server 2008R2 Transactional Replication - Move SubscriberDB - Push Subscription

SQL Server 2008R2 Transactional Replication - Move SubscriberDB - Push Subscription I have a requirement to move a subscriber database to a new server outside of a system outage i.e. I cannot stop new transaction from loading into the publisher…