Skip to content

Commit c938489

Browse files
20240404 improve linkage to manage article
1 parent 0c03d71 commit c938489

2 files changed

Lines changed: 25 additions & 20 deletions

File tree

azure-sql/database/elastic-pool-manage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Create and manage Azure SQL Database elastic pools using the Azure
44
author: arvindshmicrosoft
55
ms.author: arvindsh
66
ms.reviewer: wiassaf, mathoma
7-
ms.date: 09/26/2022
7+
ms.date: 04/04/2024
88
ms.service: sql-database
99
ms.subservice: elastic-pools
1010
ms.topic: conceptual
@@ -15,7 +15,7 @@ ms.custom:
1515

1616
# Manage elastic pools in Azure SQL Database
1717

18-
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
18+
[!INCLUDE [appliesto-sqldb](../includes/appliesto-sqldb.md)]
1919

2020
With an elastic pool, you determine the amount of resources that the elastic pool requires to handle the workload of its databases, and the amount of resources for each pooled database.
2121

@@ -87,7 +87,7 @@ To create and move databases within existing elastic pools or to return informat
8787
| Command | Description |
8888
| --- | --- |
8989
|[CREATE DATABASE (Azure SQL Database)](/sql/t-sql/statements/create-database-azure-sql-database)|Creates a new database in an existing pool or as a single database. You must be connected to the `master` database to create a new database.|
90-
| [ALTER DATABASE (Azure SQL Database)](/sql/t-sql/statements/alter-database-azure-sql-database) |Move a database into, out of, or between elastic pools.|
90+
|[ALTER DATABASE (Azure SQL Database)](/sql/t-sql/statements/alter-database-azure-sql-database) |Move a database into, out of, or between elastic pools.|
9191
|[DROP DATABASE (Transact-SQL)](/sql/t-sql/statements/drop-database-transact-sql)|Deletes a database.|
9292
|[sys.elastic_pool_resource_stats (Azure SQL Database)](/sql/relational-databases/system-catalog-views/sys-elastic-pool-resource-stats-azure-sql-database)|Returns resource usage statistics for all the elastic pools on a server. For each elastic pool, there is one row for each 15 second reporting window (four rows per minute). This includes CPU, IO, Log, storage consumption and concurrent request/session utilization by all databases in the pool.|
9393
|[sys.dm_elastic_pool_resource_stats (Azure SQL Database)](/sql/relational-databases/system-dynamic-management-views/sys-dm-elastic-pool-resource-stats-azure-sql-database)|Returns resource usage statistics for the elastic pool containing the current database on an Azure SQL Database [logical server](./logical-servers.md). This includes CPU, Data IO, Log IO, storage consumption and concurrent request/session utilization by the pool. This data is retained for roughly 40 minutes.|
@@ -112,7 +112,7 @@ To create and manage SQL Database elastic pools and pooled databases, use these
112112
|[Databases - List by server](/rest/api/sql/databases/list-by-server)|Returns a list of databases in a server.|
113113
|[Databases - Update](/rest/api/sql/databases/update)|Updates an existing database.|
114114

115-
## Next steps
115+
## Related content
116116

117117
- To learn more about design patterns for SaaS applications using elastic pools, see [Design Patterns for Multi-tenant SaaS Applications with Azure SQL Database](saas-tenancy-app-design-patterns.md).
118118
- For a SaaS tutorial using elastic pools, see [Introduction to the Wingtip SaaS application](saas-dbpertenant-wingtip-app-overview.md).

azure-sql/database/elastic-pool-overview.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Manage and scale multiple databases in Azure SQL Database, as many
44
author: arvindshmicrosoft
55
ms.author: arvindsh
66
ms.reviewer: wiassaf, mathoma, maghan
7-
ms.date: 09/27/2023
7+
ms.date: 04/04/2024
88
ms.service: sql-database
99
ms.subservice: elastic-pools
1010
ms.topic: conceptual
@@ -28,7 +28,7 @@ SaaS developers build applications on top of large-scale data tiers with multipl
2828
- Underprovision to save cost at the expense of performance and customer satisfaction during peaks.
2929

3030
Elastic pools solve this problem by ensuring that databases get the performance resources they need when they need them. They provide a simple resource allocation mechanism within a predictable budget. To learn more about design patterns for SaaS applications using elastic pools, see [Design patterns for multitenant SaaS applications with SQL Database](saas-tenancy-app-design-patterns.md).
31-
>
31+
3232
> [!IMPORTANT]
3333
> There's no per-database charge for elastic pools. You're billed for each hour a pool exists at the highest eDTU or vCores, regardless of usage or whether the pool was active for less than an hour.
3434
@@ -42,7 +42,7 @@ The amount of resources available to the pool is controlled by your budget. All
4242

4343
You can use pools to seamlessly grow your service from a lean startup to a mature business at an ever-increasing scale.
4444

45-
Within the pool, individual databases are given the flexibility to use resources within set parameters. Under heavy load, a database can consume more resources to meet demand. Databases under light loads consume less, and databases under no load consume no resources. Provisioning resources for the entire pool rather than for single databases simplifies your management tasks. Plus, you have a predictable budget for the pool.
45+
Within the pool, individual databases are given the flexibility to use resources within set parameters. Under heavy load, a database can consume more resources to meet demand. Databases under light loads consume less, and databases under no load consume no resources. Provisioning resources for the entire pool rather than for single databases simplifies your [management tasks](elastic-pool-manage.md). Plus, you have a predictable budget for the pool.
4646

4747
More resources can be added to an existing pool with minimum downtime. If extra resources are no longer needed, they can be removed from an existing pool anytime. You can also add or remove databases from the pool. If a database is predictably underutilizing resources, you can move it out.
4848

@@ -61,17 +61,17 @@ The following sections help you understand how to assess if your specific collec
6161

6262
The following figure shows an example of a database that spends much of its idle time but periodically spikes with activity. This utilization pattern is suited for a pool.
6363

64-
:::image type="content" source="./media/elastic-pool-overview/one-database.png" alt-text="Chart that shows a single database suitable for a pool.":::
64+
:::image type="content" source="media/elastic-pool-overview/one-database.png" alt-text="Chart that shows a single database suitable for a pool.":::
6565

6666
The chart illustrates DTU usage over one hour from 12:00 to 1:00 where each data point has one-minute granularity. At 12:10, DB1 peaks up to 90 DTUs, but its overall average usage is fewer than five DTUs. An S3 compute size is required to run this workload in a single database, but this size leaves most resources unused during periods of low activity.
6767

6868
A pool allows these unused DTUs to be shared across multiple databases. A pool reduces the DTUs needed and the overall cost.
6969

7070
Building on the previous example, suppose other databases have similar utilization patterns as DB1. In the following two figures, the utilization of 4 databases and 20 databases are layered onto the same graph to illustrate the nonoverlapping nature of their utilization over time by using the DTU-based purchasing model:
7171

72-
:::image type="content" source="./media/elastic-pool-overview/four-databases.png" alt-text="Chart that shows four databases with a utilization pattern suitable for a pool.":::
72+
:::image type="content" source="media/elastic-pool-overview/four-databases.png" alt-text="Chart that shows four databases with a utilization pattern suitable for a pool.":::
7373

74-
:::image type="content" source="./media/elastic-pool-overview/twenty-databases.png" alt-text="Chart that shows 20 databases with a utilization pattern suitable for a pool.":::
74+
:::image type="content" source="media/elastic-pool-overview/twenty-databases.png" alt-text="Chart that shows 20 databases with a utilization pattern suitable for a pool.":::
7575

7676
The black line in the preceding chart illustrates the aggregate DTU utilization across all 20 databases. This line shows that the aggregate DTU utilization never exceeds 100 DTUs and indicates that the 20 databases can share 100 eDTUs over this period. The result is a 20-time reduction in DTUs and a 13-time price reduction compared to placing each database in S3 compute sizes for single databases.
7777

@@ -149,28 +149,32 @@ You can create an elastic pool in the Azure portal in two ways:
149149
- Create an elastic pool and select an existing or new server.
150150
- Create an elastic pool from an existing server.
151151

152-
To create an elastic pool and select an existing or new server:
152+
**To create an elastic pool and select an existing or new server:**
153153

154154
1. Go to the [Azure portal](https://portal.azure.com) to create an elastic pool. Search for and select **Azure SQL**.
155155

156156
1. Select **Create** to open the **Select SQL deployment option** pane. To view more information about elastic pools, on the **Databases** tile, select **Show details**.
157157

158158
1. On the **Databases** tile, in the **Resource type** dropdown list, select **Elastic pool**. Then select **Create**.
159159

160-
:::image type="content" source="./media/elastic-pool-overview/create-elastic-pool.png" alt-text="Screenshot that shows creating an elastic pool." lightbox="./media/elastic-pool-overview/create-elastic-pool.png":::
160+
:::image type="content" source="media/elastic-pool-overview/create-elastic-pool.png" alt-text="Screenshot that shows creating an elastic pool." lightbox="media/elastic-pool-overview/create-elastic-pool.png":::
161161

162-
To create an elastic pool from an existing server:
162+
1. Then, [manage your elastic pool](elastic-pool-manage.md) via the Azure portal, PowerShell, Azure CLI, REST API, or T-SQL.
163163

164-
- Go to an existing server and select **New pool** to create a pool directly in that server.
164+
**To create an elastic pool from an existing server:**
165165

166-
> [!NOTE]
167-
> You can create multiple pools on a server, but you can't add databases from different servers into the same pool.
166+
1. Go to an existing server and select **New pool** to create a pool directly in that server.
167+
168+
> [!NOTE]
169+
> You can create multiple pools on a server, but you can't add databases from different servers into the same pool.
170+
171+
The pool's service tier determines the features available to the elastics in the pool, and the maximum amount of resources available to each database. For more information, see resource limits for elastic pools in the [DTU model](resource-limits-dtu-elastic-pools.md#elastic-pool-storage-sizes-and-compute-sizes). For vCore-based resource limits for elastic pools, see [vCore-based resource limits - elastic pools](resource-limits-vcore-elastic-pools.md).
168172

169-
The pool's service tier determines the features available to the elastics in the pool, and the maximum amount of resources available to each database. For more information, see resource limits for elastic pools in the [DTU model](resource-limits-dtu-elastic-pools.md#elastic-pool-storage-sizes-and-compute-sizes). For vCore-based resource limits for elastic pools, see [vCore-based resource limits - elastic pools](resource-limits-vcore-elastic-pools.md).
173+
1. To configure the resources and pricing of the pool, select **Configure pool**. Then select a service tier, add databases to the pool, and configure the resource limits for the pool and its databases.
170174

171-
To configure the resources and pricing of the pool, select **Configure pool**. Then select a service tier, add databases to the pool, and configure the resource limits for the pool and its databases.
175+
1. After configuring the pool, select **Apply**, name the pool, and select **OK** to create the pool.
172176

173-
After configuring the pool, select **Apply**, name the pool, and select **OK** to create the pool.
177+
1. Then, [manage your elastic pool](elastic-pool-manage.md) via the Azure portal, PowerShell, Azure CLI, REST API, or T-SQL.
174178

175179
## Monitor an elastic pool and its databases
176180

@@ -180,14 +184,15 @@ You can use the built-in [performance monitoring](./performance-guidance.md) and
180184

181185
## Customer case studies
182186

183-
`- [SnelStart](https://azure.microsoft.com/resources/videos/azure-sql-database-case-study-snelstart/): SnelStart used elastic pools with SQL Database to rapidly expand its business services at a rate of 1,000 new SQL databases per month.
187+
- [SnelStart](https://azure.microsoft.com/resources/videos/azure-sql-database-case-study-snelstart/): SnelStart used elastic pools with SQL Database to rapidly expand its business services at a rate of 1,000 new SQL databases per month.
184188
- [Umbraco](https://azure.microsoft.com/resources/videos/azure-sql-database-case-study-umbraco/): Umbraco uses elastic pools with SQL Database to quickly provision and scale services for thousands of tenants in the cloud.
185189
- [Daxko/CSI](https://customers.microsoft.com/story/726277-csi-daxko-partner-professional-service-azure): Daxko/CSI uses elastic pools with SQL Database to accelerate its development cycle and to enhance its customer services and performance.
186190

187191
## Related content
188192

189193
- For pricing information, see [Elastic pool pricing](https://azure.microsoft.com/pricing/details/sql-database/elastic).
190194
- To scale elastic pools, see [Scale elastic pools](elastic-pool-scale.md) and [Scale an elastic pool - sample code](scripts/monitor-and-scale-pool-powershell.md).
195+
- Learn how to [manage elastic pools in Azure SQL Database](elastic-pool-manage.md).
191196
- To learn more about design patterns for SaaS applications by using elastic pools, see [Design patterns for multitenant SaaS applications with SQL Database](saas-tenancy-app-design-patterns.md).
192197
- For a SaaS tutorial by using elastic pools, see [Introduction to the Wingtip SaaS application](saas-dbpertenant-wingtip-app-overview.md).
193198
- To learn about resource management in elastic pools with many databases, see [Resource management in dense elastic pools](elastic-pool-resource-management.md).

0 commit comments

Comments
 (0)