Skip to content

Commit 231cc4f

Browse files
authored
Merge pull request #115920 from paulth1/sql-database-batch1
edit pass: Sql database batch1
2 parents 54bd202 + bd64ce4 commit 231cc4f

22 files changed

+160
-155
lines changed

articles/azure-sql/database/active-geo-replication-configure-portal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Tutorial: Geo-replication & failover in portal"
3-
description: Configure geo-replication for an Azure SQL Database using the Azure portal and initiate failover.
3+
description: Configure geo-replication for a database using the Azure portal and initiate failover.
44
services: sql-database
55
ms.service: sql-database
66
ms.subservice: high-availability
@@ -12,9 +12,9 @@ ms.author: sashan
1212
ms.reviewer: mathoma, carlrab
1313
ms.date: 02/13/2019
1414
---
15-
# Tutorial: Configure active geo-replication & fail over in portal (Azure SQL Database)
16-
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
15+
# Tutorial: Configure active geo-replication and failover in the Azure portal (Azure SQL Database)
1716

17+
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
1818

1919
This article shows you how to configure [active geo-replication for Azure SQL Database](active-geo-replication-overview.md#active-geo-replication-terminology-and-capabilities) using the [Azure portal](https://portal.azure.com) and to initiate failover.
2020

@@ -29,7 +29,7 @@ To configure active geo-replication by using the Azure portal, you need the foll
2929
* A database in Azure SQL Database: The primary database that you want to replicate to a different geographical region.
3030

3131
> [!Note]
32-
> When using Azure portal, you can only create a secondary database within the same subscription as the primary. If secondary database is required to be in a different subscription, use [Create Database REST API](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) or [ALTER DATABASE Transact-SQL API](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql).
32+
> When using Azure portal, you can only create a secondary database within the same subscription as the primary. If a secondary database is required to be in a different subscription, use [Create Database REST API](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) or [ALTER DATABASE Transact-SQL API](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql).
3333
3434
## Add a secondary database
3535

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Active geo-replication
3-
description: Use active geo-replication to create readable secondary databases of individual Azure SQL Databases in the same or different data center (region)se.
3+
description: Use active geo-replication to create readable secondary databases of individual databases in Azure SQL Database in the same or different datacenter regions.
44
services: sql-database
55
ms.service: sql-database
66
ms.subservice: high-availability
@@ -19,7 +19,7 @@ ms.date: 04/28/2020
1919
Active geo-replication is an Azure SQL Database feature that allows you to create readable secondary databases of individual databases on a server in the same or different data center (region).
2020

2121
> [!NOTE]
22-
> Active geo-replication is not supported by Azure SQL Managed Instance. For geographic failover of SQL Managed Instances, use [Auto-failover groups](auto-failover-group-overview.md).
22+
> Active geo-replication is not supported by Azure SQL Managed Instance. For geographic failover of instances of SQL Managed Instance, use [Auto-failover groups](auto-failover-group-overview.md).
2323
2424
Active geo-replication is designed as a business continuity solution that allows the application to perform quick disaster recovery of individual databases in case of a regional disaster or large scale outage. If geo-replication is enabled, the application can initiate failover to a secondary database in a different Azure region. Up to four secondaries are supported in the same or different regions, and the secondaries can also be used for read-only access queries. The failover must be initiated manually by the application or the user. After failover, the new primary has a different connection end point.
2525

@@ -43,7 +43,7 @@ You can manage replication and failover of an individual database or a set of da
4343
- [Transact-SQL: Single database or elastic pool](/sql/t-sql/statements/alter-database-azure-sql-database)
4444
- [REST API: Single database](https://docs.microsoft.com/rest/api/sql/replicationlinks)
4545

46-
Active geo-replication leverages the [Always On availability group](https://docs.microsoft.com/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server) technology of the SQL database engine to asynchronously replicate committed transactions on the primary database to a secondary database using snapshot isolation. Auto-failover groups provide the group semantics on top of active geo-replication but the same asynchronous replication mechanism is used. While at any given point, the secondary database might be slightly behind the primary database, the secondary data is guaranteed to never have partial transactions. Cross-region redundancy enables applications to quickly recover from a permanent loss of an entire datacenter or parts of a datacenter caused by natural disasters, catastrophic human errors, or malicious acts. The specific RPO data can be found at [Overview of Business Continuity](business-continuity-high-availability-disaster-recover-hadr-overview.md).
46+
Active geo-replication leverages the [Always On availability group](https://docs.microsoft.com/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server) technology of the database engine to asynchronously replicate committed transactions on the primary database to a secondary database using snapshot isolation. Auto-failover groups provide the group semantics on top of active geo-replication but the same asynchronous replication mechanism is used. While at any given point, the secondary database might be slightly behind the primary database, the secondary data is guaranteed to never have partial transactions. Cross-region redundancy enables applications to quickly recover from a permanent loss of an entire datacenter or parts of a datacenter caused by natural disasters, catastrophic human errors, or malicious acts. The specific RPO data can be found at [Overview of Business Continuity](business-continuity-high-availability-disaster-recover-hadr-overview.md).
4747

4848
> [!NOTE]
4949
> If there is a network failure between two regions, we retry every 10 seconds to re-establish connections.
@@ -76,6 +76,7 @@ To achieve real business continuity, adding database redundancy between datacent
7676

7777
> [!NOTE]
7878
> The log replay is delayed on the secondary database if there are schema updates on the Primary. The latter requires a schema lock on the secondary database.
79+
7980
> [!IMPORTANT]
8081
> You can use geo-replication to create a secondary database in the same region as the primary. You can use this secondary to load-balance a read-only workloads in the same region. However, a secondary database in the same region does not provide additional fault resilience and therefore is not a suitable failover target for disaster recovery. It will also not guarantee availability zone isolation. Use Business critical or Premium service tier with [zone redundant configuration](high-availability-sla.md#zone-redundant-configuration) to achieve availability zone isolation.
8182
>
@@ -237,7 +238,7 @@ As discussed previously, active geo-replication can also be managed programmatic
237238
### T-SQL: Manage failover of single and pooled databases
238239

239240
> [!IMPORTANT]
240-
> These Transact-SQL commands only apply to active geo-replication and do not apply to failover groups. As such, they also do not apply to Managed Instances, as they only support failover groups.
241+
> These Transact-SQL commands only apply to active geo-replication and do not apply to failover groups. As such, they also do not apply to instances of SQL Managed Instance, as they only support failover groups.
241242
242243
| Command | Description |
243244
| --- | --- |
@@ -274,9 +275,9 @@ As discussed previously, active geo-replication can also be managed programmatic
274275
| --- | --- |
275276
| [Create or Update Database (createMode=Restore)](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) |Creates, updates, or restores a primary or a secondary database. |
276277
| [Get Create or Update Database Status](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) |Returns the status during a create operation. |
277-
| [Set Secondary Database as Primary (Planned Failover)](https://docs.microsoft.com/rest/api/sql/replicationlinks/failover) |Sets which secondary database is primary by failing over from the current primary database. **This option is not supported for Managed Instance.**|
278-
| [Set Secondary Database as Primary (Unplanned Failover)](https://docs.microsoft.com/rest/api/sql/replicationlinks/failoverallowdataloss) |Sets which secondary database is primary by failing over from the current primary database. This operation might result in data loss. **This option is not supported for Managed Instance.**|
279-
| [Get Replication Link](https://docs.microsoft.com/rest/api/sql/replicationlinks/get) |Gets a specific replication link for a given SQL database in a geo-replication partnership. It retrieves the information visible in the sys.geo_replication_links catalog view. **This option is not supported for Managed Instance.**|
278+
| [Set Secondary Database as Primary (Planned Failover)](https://docs.microsoft.com/rest/api/sql/replicationlinks/failover) |Sets which secondary database is primary by failing over from the current primary database. **This option is not supported for SQL Managed Instance.**|
279+
| [Set Secondary Database as Primary (Unplanned Failover)](https://docs.microsoft.com/rest/api/sql/replicationlinks/failoverallowdataloss) |Sets which secondary database is primary by failing over from the current primary database. This operation might result in data loss. **This option is not supported for SQL Managed Instance.**|
280+
| [Get Replication Link](https://docs.microsoft.com/rest/api/sql/replicationlinks/get) |Gets a specific replication link for a given SQL database in a geo-replication partnership. It retrieves the information visible in the sys.geo_replication_links catalog view. **This option is not supported for SQL Managed Instance.**|
280281
| [Replication Links - List By Database](https://docs.microsoft.com/rest/api/sql/replicationlinks/listbydatabase) | Gets all replication links for a given SQL database in a geo-replication partnership. It retrieves the information visible in the sys.geo_replication_links catalog view. |
281282
| [Delete Replication Link](https://docs.microsoft.com/rest/api/sql/replicationlinks/delete) | Deletes a database replication link. Cannot be done during failover. |
282283
| | |

articles/azure-sql/database/auditing-overview.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.reviewer: vanto
1111
ms.date: 04/28/2020
1212
ms.custom: azure-synapse, sqldbrb=1
1313
---
14-
# Azure SQL Auditing
14+
# Azure SQL auditing
1515
[!INCLUDE[appliesto-sqldb-asa](../includes/appliesto-sqldb-asa.md)]
1616

1717

@@ -28,14 +28,14 @@ Auditing also:
2828
2929
## <a id="overview"></a>Overview
3030

31-
You can use SQL database auditing to:
31+
You can use SQL Database auditing to:
3232

3333
- **Retain** an audit trail of selected events. You can define categories of database actions to be audited.
3434
- **Report** on database activity. You can use pre-configured reports and a dashboard to get started quickly with activity and event reporting.
3535
- **Analyze** reports. You can find suspicious events, unusual activity, and trends.
3636

3737
> [!IMPORTANT]
38-
> Azure SQL Database auditing is optimized for availability & performance. During very high activity Azure SQL Database or Azure Synapse allows operations to proceed and may not record some audited events.
38+
> Azure SQL Database auditing is optimized for availability and performance. During very high activity Azure SQL Database or Azure Synapse allows operations to proceed and may not record some audited events.
3939
4040
### Auditing limitations
4141

@@ -69,7 +69,7 @@ The default auditing policy includes all actions and the following set of action
6969
- SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
7070
- FAILED_DATABASE_AUTHENTICATION_GROUP
7171

72-
You can configure auditing for different types of actions and action groups using PowerShell, as described in the [Manage SQL database auditing using Azure PowerShell](#manage-auditing) section.
72+
You can configure auditing for different types of actions and action groups using PowerShell, as described in the [Manage SQL Database auditing using Azure PowerShell](#manage-auditing) section.
7373

7474
Azure SQL Database and Azure Synapse Audit stores 4000 characters of data for character fields in an audit record. When the **statement** or the **data_sensitivity_information** values returned from an auditable action contain more than 4000 characters, any data beyond the first 4000 characters will be **truncated and not audited**.
7575
The following section describes the configuration of auditing using the Azure portal.
@@ -114,8 +114,8 @@ To configure writing audit logs to a Log Analytics workspace, select **Log Analy
114114
### <a id="audit-event-hub-destination"></a>Audit to Event Hub destination
115115

116116
> [!WARNING]
117-
> Enabling auditing on a server that has a SQL database pool on it **results in the SQL database pool being resumed and re-paused again** which may incur billing charges.
118-
> Enabling auditing on a paused SQL database pool is not possible. To enable it, un-pause the SQL database pool.
117+
> Enabling auditing on a server that has a SQL Database pool on it **results in the SQL Database pool being resumed and re-paused again** which may incur billing charges.
118+
> Enabling auditing on a paused SQL Database pool is not possible. To enable it, un-pause the SQL Database pool.
119119
120120
To configure writing audit logs to an event hub, select **Event Hub (Preview)** and open **Event Hub details**. Select the event hub where logs will be written and then click **OK**. Be sure that the event hub is in the same region as your database and server.
121121

0 commit comments

Comments
 (0)