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

Commit c171a9c

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/sql-docs-pr into julyrelease2022
2 parents efc9dc1 + 9f2c000 commit c171a9c

26 files changed

Lines changed: 208 additions & 220 deletions

.openpublishing.redirection.azure-sql.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,11 @@
455455
"redirect_url": "/azure/azure-sql/virtual-machines/windows/ways-to-connect-to-sql",
456456
"redirect_document_id": false
457457
},
458+
{
459+
"source_path_from_root": "/azure-sql/database/service-tier-hyperscale-named-replicas-faq.yml",
460+
"redirect_url": "/azure/azure-sql/database/service-tier-hyperscale-frequently-asked-questions-faq#read-scale-out-questions",
461+
"redirect_document_id": true
462+
},
458463
{
459464
"source_path_from_root": "/azure-sql/database/scripts/auditing-threat-detection-cli.md",
460465
"redirect_url": "/azure/defender-for-cloud/defender-for-sql-introduction",

azure-sql/database/monitor-tune-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ In the Azure portal, Azure SQL Database and Azure SQL Managed Instance provide m
7070
7171
### Azure SQL Database and Azure SQL Managed Instance resource monitoring
7272

73-
You can quickly monitor a variety of resource metrics in the Azure portal in the **Metrics** view. These metrics enable you to see if a database is reaching 100% of processor, memory, or IO resources. High DTU or processor percentage, as well as high IO percentage, indicates that your workload might need more CPU or IO resources. It might also indicate queries that need to be optimized.
73+
You can quickly monitor a variety of resource metrics in the Azure portal in the **Metrics** view. These metrics enable you to see if a database is approaching the limits of CPU, memory, IO, or storage resources. High DTU, CPU or IO utilization may indicate that your workload needs more resources. It might also indicate that queries need to be optimized. See [Microsoft.Sql/servers/databases](/azure/azure-monitor/essentials/metrics-supported#microsoftsqlserversdatabases), [Microsoft.Sql/servers/elasticPools](/azure/azure-monitor/essentials/metrics-supported#microsoftsqlserverselasticpools) and [Microsoft.Sql/managedInstances](/azure/azure-monitor/essentials/metrics-supported#microsoftsqlmanagedinstances) for supported metrics in Azure SQL Database and Azure SQL Managed Instance.
7474

7575
![Resource metrics](./media/monitor-tune-overview/resource-metrics.png)
7676

azure-sql/database/service-tier-hyperscale-frequently-asked-questions-faq.yml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ sections:
428428
You can connect to these additional read-only compute replicas by setting the `ApplicationIntent` property in your connection string to `ReadOnly`. Any connections marked with `ReadOnly` are automatically routed to one of the HA secondary replicas, if they were added for your database. For details, see [Use read-only replicas to offload read-only query workloads](read-scale-out.md).
429429
430430
- question: |
431-
How do I validate if I have successfully connected to secondary compute replica using SSMS or other client tools?
431+
How do I validate if I have successfully connected to secondary compute replica using SQL Server Management Studio (SSMS) or other client tools?
432432
answer: |
433433
You can execute the following T-SQL query: `SELECT DATABASEPROPERTYEX ('<database_name>', 'Updateability')`. The result is `READ_ONLY` if you are connected to a read-only secondary replica, and `READ_WRITE` if you are connected to the primary replica. Note that the database context must be set to the name of your database, not to the `master` database.
434434
@@ -455,13 +455,44 @@ sections:
455455
- question: |
456456
Can I add indexes and views on my secondary compute replicas?
457457
answer: |
458-
No. Hyperscale databases have shared storage, meaning that all compute replicas see the same tables, indexes, and other database objects. If you want additional indexes optimized for reads on secondary, you must add them on the primary.
458+
No. Hyperscale databases have shared storage, meaning that all compute replicas see the same tables, indexes, and other database objects. If you want additional indexes optimized for reads on secondary, you must add them on the primary. You can still create temporary tables (table names prefixed with # or ##) on each secondary replica to store temporary data. Temporary tables are read-write.
459459
460460
- question: |
461461
How much delay is there going to be between the primary and secondary compute replicas?
462462
answer: |
463463
Data latency from the time a transaction is committed on the primary to the time it is readable on a secondary depends on current log generation rate, transaction size, load on the replica, and other factors. Typical data latency for small transactions is in tens of milliseconds, however there is no upper bound on data latency. Data on a given secondary replica is always transactionally consistent, thus larger transactions take longer to propagate. However, at a given point in time data latency and database state may be different for different secondary replicas. Workloads that need to read committed data immediately should run on the primary replica.
464464
465+
- question: |
466+
Can a named replica be used as a failover target?
467+
answer: |
468+
No, named replicas cannot be used as failover targets for the primary replica. Add HA replicas for that purpose.
469+
470+
- question: |
471+
How can I distribute a read-only workload across my named replicas?
472+
answer: |
473+
Since every named replica may have a different service level objective and thus be used for different use cases, there is no built-in way to direct read-only traffic sent to the primary to a set of named replicas. For example, you may have eight named replicas, and you may want to direct OLTP workload only to named replicas 1 to 4, while all the Power BI analytical workloads will use named replicas 5 and 6 and the data science workload will use replicas 7 and 8. Depending on which tool or programming language you use, strategies to distribute such workload may vary. One example of creating a workload routing solution to allow a REST backend to scale out is here: [OLTP scale-out sample](https://github.com/Azure-Samples/azure-sql-db-named-replica-oltp-scaleout).
474+
475+
- question: |
476+
Can a named replica be in a region different from the region of the primary replica?
477+
answer: |
478+
No, as named replicas use the same page servers of the primary replica, they must be in the same region.
479+
480+
- question: |
481+
Can a named replica impact availability or performance of the primary replica?
482+
answer: |
483+
A named replica cannot impact the availability of the primary replica. Named replicas, under normal circumstances, are unlikely to impact the primary's performance, but it can happen if there are intensive workloads running. Just like an HA replica, a named replica is kept in sync with the primary via the transaction log service. If a named replica, for any reason, is not able to consume the transaction log fast enough, it will start asking the primary replica to slow down (throttle) its log generation, so that it can catch up. While this behavior will not impact the primary's availability, it may impact performance of write workloads on the primary. To avoid this situation, make sure that your named replicas have enough resource headroom – mainly CPU – to process transaction log without delay. For example, if the primary is processing numerous data changes, it is recommended to have named replicas with at least the same Service Level Objective as the primary, to avoid saturating CPU on the replicas and thus forcing the primary to slow down.
484+
485+
- question: |
486+
What happens to named replicas if the primary replica is unavailable, for example because of planned maintenance?
487+
answer: |
488+
Named replicas will still be available for read-only access, as usual.
489+
490+
- question: |
491+
How can I improve availability of named replicas?
492+
answer: |
493+
By default, named replicas do not have any HA replicas of their own. A failover of a named replica requires creating a new replica first, which typically takes about 1-2 minutes. However, named replicas can also benefit from higher availability and shorter failovers provided by HA replicas. To add HA replicas for a named replica, you can use the parameter `ha-replicas` with [AZ CLI](/cli/azure/sql/db/replica#az_sql_db_replica_create), or the parameter `HighAvailabilityReplicaCount` with [PowerShell](/powershell/module/az.sql/set-azsqldatabase), or the `highAvailabilityReplicaCount` property with [REST API](/rest/api/sql/2021-02-01-preview/databases/create-or-update). The number of HA replicas can be set during the creation of a named replica and can be changed – only via AZ CLI, PowerShell or REST API – anytime after the named replica has been created. Pricing of HA replicas for named replicas is the same of HA replicas for regular Hyperscale databases.
494+
495+
465496
additionalContent: |
466497
467498
## Next steps

azure-sql/database/service-tier-hyperscale-named-replicas-faq.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

azure-sql/toc.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,15 +393,14 @@
393393
href: database/hyperscale-architecture.md
394394
- name: Hyperscale backups
395395
href: database/hyperscale-automated-backups-overview.md
396-
- name: FAQ
397-
displayName: Hyperscale frequently asked questions
398-
href: database/service-tier-hyperscale-frequently-asked-questions-faq.yml
399396
- name: Replicas
400397
displayName: Hyperscale replicas
401398
href: database/service-tier-hyperscale-replicas.md
402-
- name: Replicas FAQ
403-
displayName: Hyperscale replicas frequently asked questions
404-
href: database/service-tier-hyperscale-named-replicas-faq.yml
399+
- name: FAQ
400+
displayName: Hyperscale frequently asked questions
401+
href: database/service-tier-hyperscale-frequently-asked-questions-faq.yml
402+
403+
405404

406405
- name: Purchasing models
407406
items:

docs/database-engine/configure-windows/register-a-service-principal-name-for-kerberos-connections.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,20 @@ For more information on the Setspn tool, required permissions and examples on ho
144144
The following example illustrates the syntax used to manually register an SPN for a TCP/IP connection using a domain user account:
145145

146146
```
147-
setspn -A MSSQLSvc/myhost.redmond.microsoft.com:1433 redmond\accountname
147+
setspn -S MSSQLSvc/myhost.redmond.microsoft.com:1433 redmond\accountname
148148
```
149149

150150
> [!NOTE]
151151
> If an SPN already exists, it must be deleted before it can be reregistered. You do this by using the `setspn` command together with the `-D` switch. The following examples illustrate how to manually register a new instance-based SPN. For a default instance using a domain user account, use:
152152
153153
```
154-
setspn -A MSSQLSvc/myhost.redmond.microsoft.com redmond\accountname
154+
setspn -S MSSQLSvc/myhost.redmond.microsoft.com redmond\accountname
155155
```
156156

157157
For a named instance, use:
158158

159159
```
160-
setspn -A MSSQLSvc/myhost.redmond.microsoft.com:instancename redmond\accountname
160+
setspn -S MSSQLSvc/myhost.redmond.microsoft.com:instancename redmond\accountname
161161
```
162162

163163
## <a name="Client"></a> Client Connections

0 commit comments

Comments
 (0)