Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit ff9d3ce

Browse files
authored
Merge pull request #21952 from MikeRayMSFT/2022-create-ag-merge-conflict
[Dirty PR] Sync from main and merge to dallas branch
2 parents fe4fdcc + f24cffb commit ff9d3ce

10 files changed

Lines changed: 28 additions & 15 deletions

File tree

azure-sql/azure-hybrid-benefit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Changing to Azure Hybrid Benefit does not require any downtime.
2222

2323
## Overview
2424

25-
![vcore pricing structure](./media/azure-hybrid-benefit/pricing.png)
25+
:::image type="complex" source="media/azure-hybrid-benefit/pricing.png" alt-text="Diagram of vCore pricing structure for SQL Database.":::
26+
Diagram of vCore pricing structure for SQL Database. 'License Included' pricing is made up of base compute and SQL license components. Azure Hybrid Benefit pricing is made up of base compute and software assurance components.
27+
:::image-end:::
2628

2729
With Azure Hybrid Benefit, you pay only for the underlying Azure infrastructure by using your existing SQL Server license for the SQL Server database engine itself (Base Compute pricing). If you do not use Azure Hybrid Benefit, you pay for both the underlying infrastructure and the SQL Server license (License-Included pricing).
2830

azure-sql/database/connect-query-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To complete this quickstart, you need:
3535

3636
|**Action**|**macOS**|**Ubuntu**|**Windows**|
3737
|----------|-----------|------------|---------|
38-
|Install the ODBC driver, SQLCMD, and the Python driver for SQL Server|Use steps **1.2**, **1.3**, and **2.1** in [create Python apps using SQL Server on macOS](https://www.microsoft.com/sql-server/developer-get-started/python/mac/). This will also install install Homebrew and Python. |[Configure an environment for pyodbc Python development](/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development#linux)|[Configure an environment for pyodbc Python development](/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development#windows).|
38+
|Install the ODBC driver, SQLCMD, and the Python driver for SQL Server|Use steps **1.2**, **1.3**, and **2.1** in [create Python apps using SQL Server on macOS](https://www.microsoft.com/sql-server/developer-get-started/python/mac/). This will also install install Homebrew and Python.<BR /><BR /> Although the linked article references SQL Server, these steps are also applicable to Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics. |[Configure an environment for pyodbc Python development](/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development#linux)|[Configure an environment for pyodbc Python development](/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development#windows).|
3939
|Install Python and other required packages| |Use `sudo apt-get install python python-pip gcc g++ build-essential`.| |
4040
|Further information|[Microsoft ODBC driver on macOS](/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) |[Microsoft ODBC driver on Linux](/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server)|[Microsoft ODBC driver on Linux](/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server)|
4141

azure-sql/database/database-copy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ CREATE DATABASE Database2 AS COPY OF server1.Database1 (SERVICE_OBJECTIVE = ELAS
141141

142142
You can use the steps in the [Copy a SQL Database to a different server](#copy-to-a-different-server) section to copy your database to a server in a different subscription using T-SQL. Make sure you use a login that has the same name and password as the database owner of the source database. Additionally, the login must be a member of the `dbmanager` role or a server administrator, on both source and target servers.
143143

144+
> [!TIP]
145+
> When copying databases in the same Azure Active Directory tenant, authorization on the source and destination servers is simplified if you initiate the copy command using an AAD authentication login with sufficient access on both servers. The minimum necessary level of access is membership in the `dbmanager` role in the master database on both servers. For example, you can use an AAD login is a member of an AAD group designated as the server administrator on both servers.
146+
144147
```sql
145148
--Step# 1
146149
--Create login and user in the master database of the source server.

azure-sql/database/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ landingContent:
122122
- text: Azure SQL hands-on labs
123123
url: https://aka.ms/asqlworkshop
124124
- text: Azure SQL bootcamp
125-
url: https://aka.ms/azuresqlbootcamp
125+
url: /users/marisabrasile/collections/8oq1i8p0z2qygw
126126
- text: Educational SQL resources
127127
url: /sql/sql-server/educational-sql-resources
128128

azure-sql/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ landingContent:
212212
- text: Azure SQL hands-on labs
213213
url: https://aka.ms/asqlworkshop
214214
- text: Azure SQL bootcamp
215-
url: https://aka.ms/azuresqlbootcamp
215+
url: /users/marisabrasile/collections/8oq1i8p0z2qygw
216216
- text: Educational SQL resources
217217
url: /sql/sql-server/educational-sql-resources
218218

azure-sql/managed-instance/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ landingContent:
8585
- text: Azure SQL hands-on labs
8686
url: https://aka.ms/asqlworkshop
8787
- text: Azure SQL bootcamp
88-
url: https://aka.ms/azuresqlbootcamp
88+
url: /users/marisabrasile/collections/8oq1i8p0z2qygw
8989
- text: Educational SQL resources
9090
url: /sql/sql-server/educational-sql-resources
9191

-627 Bytes
Loading

azure-sql/virtual-machines/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ landingContent:
116116
- text: Azure SQL hands-on labs
117117
url: https://aka.ms/asqlworkshop
118118
- text: Azure SQL bootcamp
119-
url: https://aka.ms/azuresqlbootcamp
119+
url: /users/marisabrasile/collections/8oq1i8p0z2qygw
120120
- text: Educational SQL resources
121121
url: /sql/sql-server/educational-sql-resources
122122

docs/sql-server/educational-sql-resources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ landingContent:
2424
- text: Azure SQL hands-on labs
2525
url: https://aka.ms/asqlworkshop
2626
- text: Azure SQL bootcamp
27-
url: https://aka.ms/azuresqlbootcamp
27+
url: /users/marisabrasile/collections/8oq1i8p0z2qygw
2828
- text: LinkedIn Learning
2929
url: https://www.linkedin.com/learning/topics/sql-server
3030
- text: Pluralsight

docs/t-sql/statements/create-availability-group-transact-sql.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,20 @@ For more information regarding this setting, see [Database Level Health Detectio
185185

186186
#### DTC_SUPPORT = { PER_DB | NONE }
187187

188+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)])
189+
188190
Specifies whether cross-database transactions are supported through the distributed transaction coordinator (DTC). Cross-database transactions are only supported beginning in [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)]. PER_DB creates the availability group with support for these transactions. For more information, see [Cross-Database Transactions and Distributed Transactions for Always On availability groups and Database Mirroring &#40;SQL Server&#41;](../../database-engine/availability-groups/windows/transactions-always-on-availability-and-database-mirroring.md).
189191

190192
#### BASIC
191193

194+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)])
195+
192196
Used to create a basic availability group. Basic availability groups are limited to one database and two replicas: a primary replica and one secondary replica. This option is a replacement for the deprecated database mirroring feature on SQL Server Standard Edition. For more information, see [Basic availability groups &#40;Always On availability groups&#41;](../../database-engine/availability-groups/windows/basic-availability-groups-always-on-availability-groups.md). Basic availability groups are supported beginning in [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)].
193197

194198
#### DISTRIBUTED
195199

200+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)])
201+
196202
Used to create a distributed availability group. This option is used with the AVAILABILITY GROUP ON parameter to connect two availability groups in separate Windows Server Failover Clusters. For more information, see [Distributed availability groups &#40;Always On availability groups&#41;](../../database-engine/availability-groups/windows/distributed-availability-groups.md). Distributed availability groups are supported beginning in [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)].
197203

198204
#### CONTAINED [REUSE_SYSTEM_DATABASES]
@@ -204,11 +210,13 @@ The REUSE_SYSTEM_DATABASES option causes the contained `master` and `msdb` datab
204210

205211
#### REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT
206212

213+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql17-md](../../includes/sssql17-md.md)])
214+
207215
Introduced in SQL Server 2017. Used to set a minimum number of synchronous secondary replicas required to commit before the primary commits a transaction. Guarantees that SQL Server transaction waits until the transaction logs are updated on the minimum number of secondary replicas. The default is 0 which gives the same behavior as SQL Server 2016. The minimum value is 0. The maximum value is the number of replicas minus 1. This option relates to replicas in synchronous commit mode. When replicas are in synchronous commit mode, writes on the primary replica wait until writes on the secondary synchronous replicas are committed to the replica database transaction log. If a SQL Server that hosts a secondary synchronous replica stops responding, the SQL Server that hosts the primary replica marks that secondary replica as NOT SYNCHRONIZED and proceed. When the unresponsive database comes back online it is in a "not synced" state and the replica marked as unhealthy until the primary can make it synchronous again. This setting guarantees that the primary replica waits until the minimum number of replicas have committed each transaction. If the minimum number of replicas is not available then commits on the primary fail. For cluster type `EXTERNAL` the setting is changed when the availability group is added to a cluster resource. See [High availability and data protection for availability group configurations](../../linux/sql-server-linux-availability-group-ha.md).
208216

209217
#### CLUSTER_TYPE
210218

211-
Introduced in SQL Server 2017.
219+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql17-md](../../includes/sssql17-md.md)]).
212220

213221
Used to identify if the availability group is on a Windows Server Failover Cluster (WSFC). Set to WSFC when availability group is on a failover cluster instance on a Windows Server failover cluster. Set to EXTERNAL when the cluster is managed by a cluster manager that is not a Windows Server failover cluster, like Linux Pacemaker. Set to NONE when availability group not using WSFC for cluster coordination. For example, when an availability group includes Linux servers with no cluster manager.
214222

@@ -278,7 +286,7 @@ Is a port number that is associated with the mirroring endpoint of the partner s
278286

279287
#### AVAILABILITY_MODE = {SYNCHRONOUS_COMMIT | ASYNCHRONOUS_COMMIT | CONFIGURATION_ONLY }
280288

281-
SYNCHRONOUS_COMMIT or ASYNCHRONOUS_COMMIT specifies whether the primary replica has to wait for the secondary replica to acknowledge the hardening (writing) of the log records to disk before the primary replica can commit the transaction on a given primary database. The transactions on different databases on the same primary replica can commit independently. SQL Server 2017 CU 1 introduces CONFIGURATION_ONLY. CONFIGURATION_ONLY replica only applies to availability groups with CLUSTER_TYPE = EXTERNAL or CLUSTER_TYPE = NONE.
289+
SYNCHRONOUS_COMMIT or ASYNCHRONOUS_COMMIT specifies whether the primary replica has to wait for the secondary replica to acknowledge the hardening (writing) of the log records to disk before the primary replica can commit the transaction on a given primary database. The transactions on different databases on the same primary replica can commit independently. [!INCLUDE[sssql17-md](../../includes/sssql17-md.md)] CU1 introduces CONFIGURATION_ONLY. CONFIGURATION_ONLY replica only applies to availability groups with `CLUSTER_TYPE = EXTERNAL` or `CLUSTER_TYPE = NONE`.
282290

283291
##### SYNCHRONOUS_COMMIT
284292

@@ -292,7 +300,7 @@ Specifies that the primary replica commits transactions without waiting for this
292300

293301
Specifies that the primary replica synchronously commit availability group configuration metadata to the master database on this replica. The replica will not contain user data. This option:
294302

295-
- Can be hosted on any edition of SQL Server, including Express Edition.
303+
- Can be hosted on any edition of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], including Express Edition.
296304
- Requires the data mirroring endpoint of the CONFIGURATION_ONLY replica to be type `WITNESS`.
297305
- Can not be altered.
298306
- Is not valid when `CLUSTER_TYPE = WSFC`.
@@ -311,7 +319,7 @@ Specifies the failover mode of the availability replica that you are defining.
311319
Enables automatic failover. This option is supported only if you also specify AVAILABILITY_MODE = SYNCHRONOUS_COMMIT. You can specify AUTOMATIC for two availability replicas, including the primary replica.
312320

313321
> [!NOTE]
314-
> SQL Server Failover Cluster Instances (FCIs) do not support automatic failover by availability groups, so any availability replica that is hosted by an FCI can only be configured for manual failover.
322+
> [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Failover Cluster Instances (FCIs) do not support automatic failover by availability groups, so any availability replica that is hosted by an FCI can only be configured for manual failover.
315323
316324
##### MANUAL
317325

@@ -370,7 +378,7 @@ For more information, see [Active Secondaries: Readable Secondary Replicas &#40;
370378

371379
#### READ_ONLY_ROUTING_URL ='TCP://_system-address_:_port_'
372380

373-
Specifies the URL to be used for routing read-intent connection requests to this availability replica. This is the URL on which the SQL Server Database Engine listens. Typically, the default instance of the SQL Server Database Engine listens on TCP port 1433.
381+
Specifies the URL to be used for routing read-intent connection requests to this availability replica. This is the URL on which the [!INCLUDE[ssde_md](../../includes/ssde_md.md)] listens. Typically, the default instance of the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] listens on TCP port 1433.
374382

375383
For a named instance, you can obtain the port number by querying the **port** and **type_desc** columns of the [sys.dm_tcp_listener_states](../../relational-databases/system-dynamic-management-views/sys-dm-tcp-listener-states-transact-sql.md) dynamic management view. The server instance uses the Transact-SQL listener (**type_desc='TSQL'**).
376384

@@ -420,7 +428,7 @@ Specifies that when this availability replica is the primary replica, read-only
420428

421429
#### READ_WRITE_ROUTING_URL = { ('_server_instance_') }
422430

423-
Introduced in [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)]
431+
**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)])
424432

425433
Specifies server instances that host availability replicas for this availability group that meet the following requirements when running under the primary role:
426434
- The replica spec PRIMARY_ROLE includes READ_WRITE_ROUTING_URL.
@@ -439,7 +447,7 @@ For more information about the session-timeout period, see [Overview of Always O
439447

440448
#### AVAILABILITY GROUP ON
441449

442-
Specifies two availability groups that constitute a *distributed availability group*. Each availability group is part of its own Windows Server Failover Cluster (WSFC). When you create a distributed availability group, the availability group on the current SQL Server Instance becomes the primary availability group. The second availability group becomes the secondary availability group.
450+
Specifies two availability groups that constitute a *distributed availability group*. Each availability group is part of its own Windows Server Failover Cluster (WSFC). When you create a distributed availability group, the availability group on the current [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance becomes the primary availability group. The second availability group becomes the secondary availability group.
443451

444452
You need to join the secondary availability group to the distributed availability group. For more information, see [ALTER AVAILABILITY GROUP &#40;Transact-SQL&#41;](../../t-sql/statements/alter-availability-group-transact-sql.md).
445453

@@ -586,7 +594,7 @@ The following example creates an availability group named `MyAg` for two user da
586594
|Group Option|Setting|Description|
587595
|------------------|-------------|-----------------|
588596
|AUTOMATED_BACKUP_PREFERENCE|SECONDARY|This automated backup preference indicates that backups should occur on a secondary replica except when the primary replica is the only replica online (this is the default behavior). For the AUTOMATED_BACKUP_PREFERENCE setting to have any effect, you need to script backup jobs on the availability databases to take the automated backup preference into account.|
589-
|FAILURE_CONDITION_LEVEL|3|This failure condition level setting specifies that an automatic failover should be initiated on critical SQL Server internal errors, such as orphaned spinlocks, serious write-access violations, or too much dumping.|
597+
|FAILURE_CONDITION_LEVEL|3|This failure condition level setting specifies that an automatic failover should be initiated on critical [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] internal errors, such as orphaned spinlocks, serious write-access violations, or too much dumping.|
590598
|HEALTH_CHECK_TIMEOUT|600000|This health check timeout value, 60 seconds, specifies that the WSFC cluster waits 60000 milliseconds for the [sp_server_diagnostics](../../relational-databases/system-stored-procedures/sp-server-diagnostics-transact-sql.md) system stored procedure to return server-health information about a server instance that is hosting a synchronous-commit replica with automatic before the cluster assumes that the host server instance is slow or not responding. (The default value is 30000 milliseconds).|
591599

592600
Three availability replicas are to be hosted by the default server instances on computers named `COMPUTER01`, `COMPUTER02`, and `COMPUTER03`. The following table summarizes the values specified for the replica options of each replica.

0 commit comments

Comments
 (0)