In the transactional replication the transactions
occurring on the published articles from the publisher are forwarded on to the
distributor who in turn replicates the same and commits them on the
subscribers. Subscribers can use this data for read only purposes. As
transactions are small items to publish the latency for transactional
replication is very low.
As far as the autonomy is concerned as the data is
read only type each of the subscribers cannot update the data and hence there
is absolutely no autonomy in this type of replication.
Suppose there is a ticket booking web site, all the
tickets booked are centrally stored in the database hosted at New Delhi. There
are distribution centres in every city in the country where the bookings are
received and the booked ticket shipped at the addresses provided. All the
tickets booked from Hyderabad needs to be shipped to the respective customers.
The Hyderabad distribution centre could setup a filtered (get bookings for
Hyderabad only) transactional replication so that every new booking (transaction)
is replicated to their center with minimal delay (almost immediately). They
need a read only access to the replicated data so transactional replication
fits the bill. They could dispatch the booked ticket ASAP with transactional
replication setup.
Key facts of transactional replication:
- As replication happens on a transaction, the latency of replication is very low.
- The subscription is read only, hence there almost no autonomy for the subscribers
No comments:
Post a Comment