Skip to content

Commit 06d1d36

Browse files
Fit and finish
1 parent fa7ea7d commit 06d1d36

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/azure-sql/database/active-geo-replication-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To ensure that your application can immediately access the new primary after geo
117117
> [!IMPORTANT]
118118
> If your database is a member of a failover group, you cannot initiate its failover using the geo-replication failover command. Use the failover command for the group. If you need to failover an individual database, you must remove it from the failover group first. See [Auto-failover groups](auto-failover-group-overview.md) for details.
119119
120-
## <a name="configuring-secondary-database"></a> Configure the geo-secondary
120+
## <a name="configuring-secondary-database"></a> Configure geo-secondary
121121

122122
Both primary and geo-secondary are required to have the same service tier. It is also strongly recommended that the geo-secondary is configured with the same backup storage redundancy and compute size (DTUs or vCores) as the primary. If the primary is experiencing a heavy write workload, a geo-secondary with a lower compute size may not be able to keep up. That will cause replication lag on the geo-secondary, and may eventually cause unavailability of the geo-secondary. To mitigate these risks, active geo-replication will reduce (throttle) the primary's transaction log rate if necessary to allow its secondaries to catch up.
123123

@@ -205,7 +205,7 @@ To create a geo-secondary in a subscription different from the subscription of t
205205

206206
When using public network access for connecting to the database, we recommend using [database-level IP firewall rules](firewall-configure.md) for geo-replicated databases. These rules are replicated with the database, which ensures that all geo-secondaries have the same IP firewall rules as the primary. This approach eliminates the need for customers to manually configure and maintain firewall rules on servers hosting the primary and secondary databases. Similarly, using [contained database users](logins-create-manage.md) for data access ensures both primary and secondary databases always have the same authentication credentials. This way, after a geo-failover, there is no disruptions due to authentication credential mismatches.
207207

208-
## <a name="upgrading-or-downgrading-primary-database"></a> Scale up or scale down the primary database
208+
## <a name="upgrading-or-downgrading-primary-database"></a> Scale primary database
209209

210210
You can scale up or scale down the primary database to a different compute size (within the same service tier) without disconnecting any geo-secondaries. When scaling up, we recommend that you scale up the geo-secondary first, and then scale up the primary. When scaling down, reverse the order: scale down the primary first, and then scale down the secondary.
211211

@@ -218,7 +218,7 @@ You can scale up or scale down the primary database to a different compute size
218218
> `The source database 'Primaryserver.DBName' cannot have higher edition than the target database 'Secondaryserver.DBName'. Upgrade the edition on the target before upgrading the source.`
219219
>
220220
221-
## <a name="preventing-the-loss-of-critical-data"></a> Prevent the loss of critical data
221+
## <a name="preventing-the-loss-of-critical-data"></a> Prevent loss of critical data
222222

223223
Due to the high latency of wide area networks, geo-replication uses an asynchronous replication mechanism. Asynchronous replication makes the possibility of data loss unavoidable if the primary fails. To protect critical transactions from data loss, an application developer can call the [sp_wait_for_database_copy_sync](/sql/relational-databases/system-stored-procedures/active-geo-replication-sp-wait-for-database-copy-sync) stored procedure immediately after committing the transaction. Calling `sp_wait_for_database_copy_sync` blocks the calling thread until the last committed transaction has been transmitted and hardened in the transaction log of the secondary database. However, it does not wait for the transmitted transactions to be replayed (redone) on the secondary. `sp_wait_for_database_copy_sync` is scoped to a specific geo-replication link. Any user with the connection rights to the primary database can call this procedure.
224224

articles/azure-sql/database/auto-failover-group-overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ When designing a service with business continuity in mind, follow these general
165165

166166
One or many failover groups can be created between two servers in different regions (primary and secondary servers). Each group can include one or several databases that are recovered as a unit in case all or some primary databases become unavailable due to an outage in the primary region. Creating a failover group creates geo-secondary databases with the same service objective as the primary. If you add an existing geo-replication relationship to a failover group, make sure the geo-secondary is configured with the same service tier and compute size as the primary.
167167

168-
### <a name="using-read-write-listener-for-oltp-workload"></a> Use the read-write listener to connect to the primary
168+
### <a name="using-read-write-listener-for-oltp-workload"></a> Use the read-write listener to connect to primary
169169

170170
For read-write workloads, use `<fog-name>.database.windows.net` as the server name in the connection string. Connections will be automatically directed to the primary. This name does not change after failover. Note the failover involves updating the DNS record so the client connections are redirected to the new primary only after the client DNS cache is refreshed.
171171

172-
### <a name="using-read-only-listener-for-read-only-workload"></a> Use the read-only listener to connect to the geo-secondary
172+
### <a name="using-read-only-listener-for-read-only-workload"></a> Use the read-only listener to connect to geo-secondary
173173

174174
If you have logically isolated read-only workloads that are tolerant to data latency, you can run them on the geo-secondary. For read-only sessions, use `<fog-name>.secondary.database.windows.net` as the server name in the connection string. Connections will be automatically directed to the geo-secondary. It is also recommended that you indicate read intent in the connection string by using `ApplicationIntent=ReadOnly`.
175175

@@ -385,7 +385,7 @@ When you set up a failover group between primary and secondary SQL Managed Insta
385385
> [!NOTE]
386386
> For a detailed tutorial on configuring failover groups with SQL Managed Instance, see [add a SQL Managed Instance to a failover group](../managed-instance/failover-group-add-instance-tutorial.md).
387387
388-
## <a name="upgrading-or-downgrading-primary-database"></a> Scale up or scale down the primary database
388+
## <a name="upgrading-or-downgrading-primary-database"></a> Scale primary database
389389

390390
You can scale up or scale down the primary database to a different compute size (within the same service tier) without disconnecting any geo-secondaries. WWhen scaling up, we recommend that you scale up the geo-secondary first, and then scale up the primary. When scaling down, reverse the order: scale down the primary first, and then scale down the secondary. When you scale a database to a different service tier, this recommendation is enforced.
391391

@@ -394,7 +394,7 @@ This sequence is recommended specifically to avoid the problem where the geo-sec
394394
> [!NOTE]
395395
> If you created a geo-secondary as part of the failover group configuration it is not recommended to scale down the geo-secondary. This is to ensure your data tier has sufficient capacity to process your regular workload after a geo-failover.
396396
397-
## <a name="preventing-the-loss-of-critical-data"></a> Prevent the loss of critical data
397+
## <a name="preventing-the-loss-of-critical-data"></a> Prevent loss of critical data
398398

399399
Due to the high latency of wide area networks, geo-replication uses an asynchronous replication mechanism. Asynchronous replication makes the possibility of data loss unavoidable if the primary fails. To protect critical transactions from data loss, an application developer can call the [sp_wait_for_database_copy_sync](/sql/relational-databases/system-stored-procedures/active-geo-replication-sp-wait-for-database-copy-sync) stored procedure immediately after committing the transaction. Calling `sp_wait_for_database_copy_sync` blocks the calling thread until the last committed transaction has been transmitted and hardened in the transaction log of the secondary database. However, it does not wait for the transmitted transactions to be replayed (redone) on the secondary. `sp_wait_for_database_copy_sync` is scoped to a specific geo-replication link. Any user with the connection rights to the primary database can call this procedure.
400400

0 commit comments

Comments
 (0)