Skip to content

Commit 0e5e267

Browse files
author
PRMerger8
authored
Merge pull request #5679 from SQLSourabh/patch-17
Update replicate-track-change-data-capture-always-on-availability.md
2 parents bcf4949 + 42a4cd5 commit 0e5e267

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

docs/database-engine/availability-groups/windows/replicate-track-change-data-capture-always-on-availability.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Replication, Change Tracking, & Change Data Capture - Availability Groups | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "05/02/2017"
4+
ms.date: "04/25/2018"
55
ms.prod: "sql"
66
ms.prod_service: "database-engine"
77
ms.service: ""
@@ -94,7 +94,7 @@ ms.workload: "On Demand"
9494

9595
The following example creates the capture job.
9696

97-
```
97+
```sql
9898
EXEC sys.sp_cdc_add_job @job_type = 'capture';
9999
```
100100

@@ -106,7 +106,7 @@ ms.workload: "On Demand"
106106

107107
To ensure that appropriate cleanup occurs at the new primary database, a local cleanup job should always be created. The following example creates the cleanup job.
108108

109-
```
109+
```sql
110110
EXEC sys.sp_cdc_add_job @job_type = 'cleanup';
111111
```
112112

@@ -132,7 +132,7 @@ ms.workload: "On Demand"
132132

133133
Use the following query to determine whether an availability group listener name has been defined for the availability group hosting a CDC database. The query will return the availability group listener name if one has been created.
134134

135-
```
135+
```sql
136136
SELECT dns_name
137137
FROM sys.availability_group_listeners AS l
138138
INNER JOIN sys.availability_databases_cluster AS d
@@ -148,7 +148,7 @@ ms.workload: "On Demand"
148148

149149
The following query can be used to determine whether read-only intent is needed to connect to a readable secondary replica.
150150

151-
```
151+
```sql
152152
SELECT g.name AS AG, replica_server_name, secondary_role_allow_connections_desc
153153
FROM sys.availability_replicas AS r
154154
JOIN sys.availability_groups AS g
@@ -160,7 +160,7 @@ ms.workload: "On Demand"
160160

161161
When **sp_addlinkedserver** is used to create a linked server to access the secondary, the *@datasrc* parameter is used for the availability group listener name or the explicit server name, and the *@provstr* parameter is used to specify read-only intent.
162162

163-
```
163+
```sql
164164
EXEC sp_addlinkedserver
165165
@server = N'linked_svr',
166166
@srvproduct=N'SqlServer',
@@ -202,8 +202,6 @@ If Change Data Capture needs to be disabled on a database which is part of an Al
202202

203203
- Pull subscription: The publisher, distributor, and subscriber databases must be on at least [!INCLUDE[ssSQL11](../../../includes/sssql11-md.md)]. This is because the merge agent on the subscriber must understand how an availability group can fail over to its secondary.
204204

205-
- Placing the distribution database on an availability group is not supported.
206-
207205
- The Publisher instances satisfy all the prerequisites required to participate in an Always On availability group. For more information see [Prerequisites, Restrictions, and Recommendations for Always On Availability Groups (SQL Server)](../../../database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md).
208206

209207
### Restrictions
@@ -219,7 +217,7 @@ If Change Data Capture needs to be disabled on a database which is part of an Al
219217

220218
*Failover to the replica database is a manual procedure. Automatic failover is not provided.
221219

222-
**The Distributor database is not supported for use with [!INCLUDE[ssHADR](../../../includes/sshadr-md.md)] or database mirroring.
220+
**The Distributor database is not supported for use with database mirroring.
223221

224222
### Considerations
225223

0 commit comments

Comments
 (0)