You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/database/scale-resources.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,12 @@ Scaling resources is the easiest and the most effective way to improve performan
73
73
-[Read scale-out](read-scale-out.md) is an available feature where you are getting one read-only replica of your data where you can execute demanding read-only queries such as reports. A read-only replica will handle your read-only workload without affecting resource usage on your primary database.
74
74
-[Database sharding](elastic-scale-introduction.md) is a set of techniques that enables you to split your data into several databases and scale them independently.
75
75
76
+
## Scaling operations for geo-replicas
77
+
78
+
When your Azure SQL resource has a geo-replica, consider the following guidance for your scaling operations:
- For information about improving database performance by changing database code, see [Find and apply performance recommendations](database-advisor-find-recommendations-portal.md).
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/failover-group-configure-sql-mi.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -471,7 +471,9 @@ Instances in a failover group remain separate Azure resources, and no changes ma
471
471
This section is duplicated in /managed-instance/failover-group-sql-mi.md.. Please ensure changes are made to both documents.
472
472
-->
473
473
474
-
The configuration of your primary and secondary instance should be the same. This includes the compute size, storage size, and service tier. If you need to change the configuration of your failover group, you can do so by scaling each instance to the same configuration accordingly.
474
+
The configuration of your primary and secondary instance should be the same. This includes the compute size, storage size, and service tier. If you need to change the configuration of your failover group, you can do so by scaling each instance to the same configuration accordingly.
475
+
476
+
Downgrading the secondary instance to a lower service tier or compute size than the primary instance can cause performance degradation after failover.
475
477
476
478
To avoid problems from a lower service tier or under-resourced geo-secondary getting overloaded, or having to reseed during an upgrade or downgrade process, consider the following:
477
479
@@ -484,7 +486,12 @@ To avoid problems from a lower service tier or under-resourced geo-secondary get
484
486
- Scaling the storage size.
485
487
-[Changing the memory allocation](resource-limits.md#flexible-memory) of your [Next-gen General Purpose](service-tiers-next-gen-general-purpose-use.md) instance.
486
488
489
+
When trying to scale the service tier, vCores, and storage at the same time (for example, scaling up vCores and service tier while scaling down storage), don't change all three simultaneously. Instead, use one of the following approaches:
490
+
491
+
-**Option 1**: Scale the service tier first (keep storage and vCores the same), following the upgrade/downgrade order described previously. Then scale storage and vCores separately.
492
+
-**Option 2**: Scale storage first (keep service tier and vCores the same), following the upgrade/downgrade order described previously. Then scale the service tier and vCores separately.
487
493
494
+
This two-step approach prevents the secondary replica with fewer resources from becoming overloaded, which can cause reseeding during the scaling process.
0 commit comments