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
Specifies the maximum size of the database. The maximum size must comply with the valid set of values for the EDITION property of the database. Changing the maximum size of the database may cause the database EDITION to be changed. Following table lists the supported MAXSIZE values and the defaults (D) for the [!INCLUDE[ssSDS](../../includes/sssds-md.md)] service tiers.
410
-
411
+
Specifies the maximum size of the database. The maximum size must comply with the valid set of values for the EDITION property of the database. Changing the maximum size of the database may cause the database EDITION to be changed.
412
+
413
+
> [!NOTE]
414
+
> The **MAXSIZE** argument does not apply to single databases in the Hyperscale service tier. Hyperscale tier databases grow as needed, up to 100 TB. The SQL Database service adds storage automatically - you do not need to set a maximum size.
For service objective descriptions and more information about the size, editions, and the service objectives combinations, see [Azure SQL Database Service Tiers and Performance Levels](https://azure.microsoft.com/documentation/articles/sql-database-service-tiers/), [DTU-based resource limits](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits) and [vCore-based resource limits](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits). Support for PRS service objectives have been removed. For questions, use this e-mail alias: premium-rs@microsoft.com.
To add an existing database to an elastic pool, set the SERVICE_OBJECTIVE of the database to ELASTIC_POOL and provide the name of the elastic pool. You can also use this option to change the database to a different elastic pool within the same server. For more information, see [Create and manage a SQL Database elastic pool](https://azure.microsoft.com/documentation/articles/sql-database-elastic-pool-portal/). To remove a database from an elastic pool, use ALTER DATABASE to set the SERVICE_OBJECTIVE to a single database performance level.
488
493
494
+
> [!NOTE]
495
+
> Databases in the Hyperscale service tier cannot be added to an elastic pool.
496
+
489
497
ADD SECONDARY ON SERVER \<partner_server_name>
490
498
491
499
Creates a geo-replication secondary database with the same name on a partner server, making the local database into a geo-replication primary, and begins asynchronously replicating data from the primary to the new secondary. If a database with the same name already exists on the secondary, the command fails. The command is executed on the master database on the server hosting the local database that becomes the primary.
500
+
501
+
> [!IMPORTANT]
502
+
> The Hyperscale service tier does not currently support geo-replication.
- Single and pooled databases on a logical server. The available values are: 'basic', 'standard', 'premium', 'GeneralPurpose', and 'BusinessCritical'. Support for 'premiumrs' has been removed. For questions, use this e-mail alias: premium-rs@microsoft.com.
965
-
- Databases in a Managed Instance: The available value is 'GeneralPurpose'.
968
+
Single and pooled databases on a logical server. The available values are: 'basic', 'standard', 'premium', 'GeneralPurpose', 'BusinessCritical', and 'Hyperscale'.
966
969
967
970
When EDITION is specified but MAXSIZE is not specified, MAXSIZE is set to the most restrictive size that the edition supports.
968
971
969
972
MAXSIZE
970
973
971
974
Specifies the maximum size of the database. MAXSIZE must be valid for the specified EDITION (service tier) Following are the supported MAXSIZE values and defaults (D) for the service tiers.
972
975
976
+
> [!NOTE]
977
+
> The **MAXSIZE** argument does not apply to single databases in the Hyperscale service tier. Hyperscale tier databases grow as needed, up to 100 TB. The SQL Database service adds storage automatically - you do not need to set a maximum size.
978
+
973
979
**DTU-based model for single and pooled databases on a logical server**
|Max data size (GB)|1024|1024|1024|1024|2048|4096|4096|4096|
1024
1030
1025
-
If no `MAXSIZE`value is set when using the vCore model, the default is 32 GB. For additional details regarding resource limitsations for vCore-based model, see [vCore-based resource limits](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits).
1026
-
1031
+
If no `MAXSIZE`value is set when using the vCore model, the default is 32 GB. For additional details regarding resource limitations for vCore-based model, see [vCore-based resource limits](https://docs.microsoft.com/azure/sql-database/sql-database-dtu-resource-limits).
1032
+
1027
1033
**vCore-based model for databases in a managed instance**
1028
1034
1029
1035
**General Purpose service tier - Generation 4 compute platform**
@@ -1044,8 +1050,10 @@ SERVICE_OBJECTIVE
1044
1050
1045
1051
-**For single and pooled databases on a logical server**
-**For single databases on a logical server in the Hyperscale service tier**
1055
+
Specifies the performance level. Available values for service objective are: `HS_GEN4_1``HS_GEN4_2``HS_GEN4_4``HS_GEN4_8``HS_GEN4_16`, `HS_GEN4_24`, `HS_Gen5_2`, `HS_Gen5_4`, `HS_Gen5_8`, `HS_Gen5_16`, `HS_Gen5_24`, `HS_Gen5_32`, `HS_Gen5_48`, `HS_Gen5_80`.
1056
+
1049
1057
-**For databases on a Managed Instance**
1050
1058
1051
1059
Specifies the performance level. Available values for service objective are: `GP_GEN4_8`, `GP_GEN4_16`, `GP_Gen5_8`, `GP_Gen5_16`, `GP_Gen5_24`, `GP_Gen5_32`, `GP_Gen5_40`.
@@ -1054,9 +1062,9 @@ For service objective descriptions and more information about the size, editions
1054
1062
1055
1063
ELASTIC_POOL (name = \<elastic_pool_name>)
1056
1064
1057
-
**Applies to:** Single and pooled databases only.
1065
+
**Applies to:** Single and pooled databases only. Does not apply to databases in the Hyperscale service tier.
1058
1066
1059
-
To create a new database in an elastic database pool, set the SERVICE_OBJECTIVE of the database to ELASTIC_POOL and provide the name of the pool. For more information, see [Create and manage a SQL Database elastic database pool (preview)](https://azure.microsoft.com/documentation/articles/sql-database-elastic-pool-portal/).
1067
+
To create a new database in an elastic database pool, set the SERVICE_OBJECTIVE of the database to ELASTIC_POOL and provide the name of the pool. For more information, see [Create and manage a SQL Database elastic pool](https://azure.microsoft.com/documentation/articles/sql-database-elastic-pool-portal/).
1060
1068
1061
1069
AS COPY OF [source_server_name.]source_database_name
0 commit comments