You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relational-databases/replication/transactional/peer-to-peer-transactional-replication.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Peer-to-Peer Transactional Replication | Microsoft Docs"
3
3
description: In SQL Server, peer-to-peer replication provides a scale-out and high-availability solution by maintaining copies of data across multiple server instances.
4
4
ms.custom: ""
5
-
ms.date: 10/05/2021
5
+
ms.date: 01/05/2023
6
6
ms.service: sql
7
7
ms.reviewer: ""
8
8
ms.subservice: replication
@@ -50,11 +50,11 @@ Consider a web application. This can benefit from peer-to-peer replication in th
50
50
51
51

52
52
53
-
Both of the preceding illustrations show two participating databases, with user traffic directed to the databases through an application server. This configuration can be used for a variety of applications, from Web sites to workgroup applications, and provides the following benefits:
53
+
Both of the preceding illustrations show two participating databases, with user traffic directed to the databases through an application server. This configuration can be used for a number of applications, from Web sites to workgroup applications, and provides the following benefits:
54
54
55
55
- Improved read performance, because reads are spread out over two servers.
56
56
57
-
- Higher availability if maintenance is required or in case of failure at one node.
57
+
- Higher availability if maintenance is required or of failure at one node.
58
58
59
59
In both illustrations, read activity is load-balanced between the participating databases, but updates are handled differently:
60
60
@@ -68,11 +68,11 @@ Peer-to-peer replication can support either approach, but the central update exa
68
68
69
69

70
70
71
-
The preceding illustration shows three participating databases that provide data for a worldwide software support organization, with offices in Los Angeles, London, and Taipei. The support engineers at each office take customer calls and enter and update information about each customer call. The time zones for the three offices are eight hours apart, so there is no overlap in the workday. As the Taipei office closes, the London office is opening for the day. If a call is still in progress as one office is closing, the call is transferred to a representative at the next office to open.
71
+
The preceding illustration shows three participating databases that provide data for a worldwide software support organization, with offices in Los Angeles, London, and Taipei. The support engineers at each office take customer calls and enter and update information about each customer call. The time zones for the three offices are eight hours apart, so there's no overlap in the workday. As the Taipei office closes, the London office is opening for the day. If a call is still in progress as one office is closing, the call is transferred to a representative at the next office to open.
72
72
73
73
Each location has a database and an application server, which are used by the support engineers as they enter and update information about customer calls. The topology is partitioned by time. Therefore, updates occur only at the node that is currently open for business, and then the updates flow to the other participating databases. This topology provides the following benefits:
74
74
75
-
- Independence without isolation: Each office can insert, update, or delete data independently but can also share the data because it is replicated to all other participating databases.
75
+
- Independence without isolation: Each office can insert, update, or delete data independently but can also share the data because it's replicated to all other participating databases.
76
76
77
77
- Higher availability in case of failure or to allow maintenance at one or more of the participating databases.
78
78
@@ -82,13 +82,13 @@ Each location has a database and an application server, which are used by the su
82
82
83
83
- Because another office is opened.
84
84
85
-
- To provide higher availability to support maintenance or increase fault tolerance if a disk failure or other major failure occurs.
85
+
- To provide higher availability to support maintenance or increase fault tolerance if a disk failure, or other major failure occurs.
86
86
87
-
Notice that in both the three- and four-node topologies, all databases publish and subscribe to all other databases. This provides maximum availability in case of maintenance needs or failure of one or more nodes. As nodes are added, you must balance availability and scalability needs against performance and the complexity of deployment and administration.
87
+
Notice that in both the three- and four-node topologies, all databases publish and subscribe to all other databases. This provides maximum availability if there are maintenance needs or failures of one or more nodes. As nodes are added, you must balance availability and scalability needs against performance and the complexity of deployment and administration.
88
88
89
89
## Configuring Peer-to-Peer Replication
90
90
91
-
Configuring a peer-to-peer replication topology is very similar to configuring a series of standard transactional publications and subscriptions. The steps described in the following topics show the configuration of a three-node system, similar to the configuration shown on the left in the previous illustration that shows peer-to-peer topology.
91
+
Configuring a peer-to-peer replication topology is similar to configuring a series of standard transactional publications and subscriptions. The steps described in the following articles show the configuration of a three-node system, similar to the configuration shown on the left in the previous illustration that shows peer-to-peer topology.
92
92
93
93
## Considerations for Using Peer-to-Peer Replication
94
94
@@ -104,21 +104,21 @@ This section provides information and guidelines to consider when you use peer-t
104
104
105
105
- Publications must allow schema changes to be replicated. (This is a setting of **1** for the publication property **replicate_ddl**, which is the default setting.) For more information, see [Make Schema Changes on Publication Databases](../../../relational-databases/replication/publish/make-schema-changes-on-publication-databases.md).
106
106
107
-
- Row and column filtering are not supported.
107
+
- Row and column filtering aren't supported.
108
108
109
109
- Each node should use its own distribution database. This eliminates the potential of having a single point of failure.
110
110
111
-
- Tables and other objects cannot be included in multiple peer-to-peer publications in a single publication database.
111
+
- Tables and other objects can't be included in multiple peer-to-peer publications in a single publication database.
112
112
113
113
- A publication must be enabled for peer-to-peer replication before any subscriptions are created.
114
114
115
115
- Subscriptions must be initialized by using a backup or with the `replication support only` option. For more information, see [Initialize a Transactional Subscription Without a Snapshot](../../../relational-databases/replication/initialize-a-transactional-subscription-without-a-snapshot.md).
116
116
117
-
-Do not use identity columns. When using identities, you must manually manage the ranges assigned to the tables at each participating database. For more information, see [Assigning ranges for manual identity range management](../publish/replicate-identity-columns.md#assigning-ranges-for-manual-identity-range-management).
117
+
-Don't use identity columns. When using identities, you must manually manage the ranges assigned to the tables at each participating database. For more information, see [Assigning ranges for manual identity range management](../publish/replicate-identity-columns.md#assigning-ranges-for-manual-identity-range-management).
118
118
119
119
### Feature Restrictions
120
120
121
-
Peer-to-peer replication supports the core features of transactional replication, but does not support the following options:
121
+
Peer-to-peer replication supports the core features of transactional replication, but doesn't support the following options:
122
122
123
123
- Initialization and reinitialization with a snapshot.
124
124
@@ -142,17 +142,17 @@ Peer-to-peer replication supports the core features of transactional replication
142
142
143
143
- The article properties `@destination_owner` and `@destination_table`.
144
144
145
-
- Peer-to-Peer transactional replication does not support creating a one-way transactional subscription to a Peer-to-Peer publication
145
+
- Peer-to-Peer transactional replication doesn't support creating a one-way transactional subscription to a Peer-to-Peer publication
146
146
147
-
- Peer-to-Peer Transactional Replication does not support publishing tables with computed columns as part of their primary key.
147
+
- Peer-to-Peer Transactional Replication doesn't support publishing tables with computed columns as part of their primary key.
148
148
149
149
The following properties have special considerations:
150
150
151
151
- The publication property `@allow_initialize_from_backup` requires a value of **true**.
152
152
153
153
- The article property `@replicate_ddl` requires a value of **true**; `@identityrangemanagementoption` requires a value of **manual**; and `@status` requires that option **24** is set.
154
154
155
-
- The value for article properties `@ins_cmd`, `@del_cmd`, and `@upd_cmd`cannot be set to **SQL**.
155
+
- The value for article properties `@ins_cmd`, `@del_cmd`, and `@upd_cmd`can't be set to **SQL**.
156
156
157
157
- The subscription property `@sync_type` requires a value of **none** or **automatic**.
158
158
@@ -181,7 +181,7 @@ The following properties have special considerations:
181
181
182
182
- If you add a new node to a peer-to-peer topology, you should restore only from backups that were created after the new node was added.
183
183
184
-
- You cannot reinitialize subscriptions in a peer-to-peer topology. If you have to ensure that a node has a new copy of the data, restore a backup at the node.
184
+
- You can't reinitialize subscriptions in a peer-to-peer topology. If you have to ensure that a node has a new copy of the data, restore a backup at the node.
185
185
186
186
## See Also
187
187
[Administer a Peer-to-Peer Topology (Replication Transact-SQL Programming)](../../../relational-databases/replication/administration/administer-a-peer-to-peer-topology-replication-transact-sql-programming.md)
0 commit comments