Fichas
Database Replication
Fichas del conjunto (14)
- 1Snapshot ReplicationTakes a snapshot of the published objects and applies it to a subscriber. Completely overwrites the data at the subscriber each time a snapshot is applied. Best suited for a fairly static data or if data can go out of sync between replication intervals. A subscriber does not always need to be connected, so data marked for replication can be applied the next time the subscriber is connected
- 2Transactional ReplicationReplicates each transaction for the article being published. A snapshot of the publisher or a backup is taken and applied to the subscriber to synchronise the data. When a transaction is written to the transaction log, the Log Reader Agent reads it from the transaction log and writes it to the distribution database and then to the subscriber. Only committed transactions are replicated to ensure data consistency.
- 3Merge ReplicationChanges are merged to keep data consistency and a uniform set of data. An initial synchronisation is done by applying snapshot. When a transaction occurs at the Publisher or Subscriber, the change is written to change tracking tables. The Merge Agent checks these tracking tables and sends the transaction to the distribution database where it gets propagated. The merge agent has the capability of resolving conflicts that occur during data synchronisation
- 4Peer-to-Peer ReplicationBuilt on Transactional Replication. It maintains transactional replication between servers and allows publishers and subscribers to send data to each other.
- 5Push SubscriptionPushes data from publisher to the subscriber. Changes can be pushed to subscribers on demand, continuously, or on a scheduled basis.
- 6Pull SubscriptionRequests changes from the Publisher. This allows the subscriber to pull data as needed. This is useful for disconnected machines such as notebook computers that are not always connected and when they connect can pull the data.
- 7Snapshot AgentUsed with all types of replication. It prepares the schema and the initial bulk copy files of published tables and other objects, stores the snapshot files and records information about synchronisation in the distribution database. The Snapshot Agent runs at the Distributor
- 8Log Reader AgentUsed with transactional replication. It moves transactions marked for replication from the transaction log on the Publisher to the distribution database. Each database published using transactional replication has its own Log Reader Agent that runs on the Distributor and connects to the Publisher (the Distributor can be on the same computer as the Publisher)
- 9Distribution AgentUsed with snapshot replication and transactional replication. It applies the initial snapshot to the Subscriber and moves transactions held in the distribution database to Subscribers. The Distribution Agent runs at either the Distributor for push subscriptions or at the Subscriber for pull subscriptions
- 10Merge AgentUsed with merge replication. It applies the initial snapshot to the Subscriber and moves and reconciles incremental data changes that occur. Each merge subscription has its own Merge Agent that connects to both the Publisher and the Subscriber and updates both. The Merge Agent runs at either the Distributor for push subscriptions or the Subscriber for pull subscriptions
- 11Queue Reader AgentUsed with transactional replication with the queued updating option. The agent runs at the Distributor and moves changes made at the Subscriber back to the Publisher. Unlike the Distribution Agent and the Merge Agent, only one instance of the Queue Reader Agent exists to service all Publishers and publications for a given distribution database.
- 12Replication Types vs. Agents
- 13Replication MonitorA tool available that enables replication monitoring. Can be used to configure alerts based on performance benchmarks. Also provides performance-quality information for transactional replication and merge replication.
- 14Controlling Replication of Constraints, Columns and TriggersNOT FOR REPLICATION option can be enabled to carry out the following with the replication agent:
- Foreign key constraints
- Check constraints
- Identity column values
- Triggers
Información
- Descripción
- 70-462 SQL Server 2012 Fichas sobre Database Replication, creado por Michael Mahfouz el 04/01/2016.
- Creado por
- Michael Mahfouz
- Visitas
- 333
- Etiquetas
- Valoración