Skip to content

Commit f8187d7

Browse files
authored
Merge pull request #224321 from jonels-msft/cdbpg-burstable
Burstable compute
2 parents 23a151b + decc1ad commit f8187d7

File tree

6 files changed

+135
-36
lines changed

6 files changed

+135
-36
lines changed

articles/cosmos-db/postgresql/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@
103103
items:
104104
- name: Scheduled maintenance
105105
href: concepts-maintenance.md
106+
- name: Burstable compute
107+
href: concepts-burstable-compute.md
106108
- name: Upgrade
107109
href: concepts-upgrade.md
108110
- name: Business continuity
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Burstable compute - Azure Cosmos DB for PostgreSQL
3+
description: Definition and workloads of burstable compute.
4+
ms.author: jonels
5+
author: jonels-msft
6+
ms.service: cosmos-db
7+
ms.subservice: postgresql
8+
ms.topic: conceptual
9+
ms.date: 01/18/2023
10+
---
11+
12+
# Burstable compute
13+
14+
[!INCLUDE [PostgreSQL](../includes/appliesto-postgresql.md)]
15+
16+
Burstable compute on a single node cluster is ideal for workloads like
17+
development environments or small databases that don't need the full
18+
performance of the node's CPU continuously. These workloads typically have
19+
burstable performance requirements.
20+
21+
The Azure burstable compute options allow you to configure a single node with
22+
baseline performance that can build up credits when it's using less than its
23+
baseline. When the node has accumulated credits, the node can burst above the
24+
baseline when your workload requires higher CPU performance. You can use the
25+
**CPU credits remaining** and **CPU credits consumed** metrics to track
26+
accumulated and used credits respectively.
27+
28+
> [!IMPORTANT]
29+
>
30+
> Scaling for burstable compute is available, but only in certain combinations:
31+
>
32+
> * You can change 1 vCore burstable to 2 vCore burstable, and the other way
33+
> around.
34+
> * You can convert a burstable (1 or 2 vCores) single node configuration to
35+
> either
36+
> 1. a single node cluster with regular (non-burstable) compute; or
37+
> 2. a multi-node cluster.
38+
>
39+
> You also can't go back from a regular (non-burstable) single node to
40+
> burstable compute.
41+
42+
**Next steps**
43+
44+
* See the [limits and limitations](reference-limits.md#burstable-compute) of
45+
burstable compute.
46+
* Review available [cluster metrics](concepts-monitoring.md#metrics).

articles/cosmos-db/postgresql/concepts-monitoring.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: cosmos-db
77
ms.subservice: postgresql
88
ms.custom: ignite-2022
99
ms.topic: conceptual
10-
ms.date: 09/27/2022
10+
ms.date: 01/18/2023
1111
---
1212

1313
# Monitor and tune Azure Cosmos DB for PostgreSQL
@@ -56,6 +56,8 @@ These metrics are available for nodes:
5656
|---|---|---|---|
5757
|active_connections|Active Connections|Count|The number of active connections to the server.|
5858
|apps_reserved_memory_percent|Reserved Memory Percent|Percent|Calculated from the ratio of Committed_AS/CommitLimit as shown in /proc/meminfo.|
59+
|cpu_credits_consumed|CPU credits consumed|Credits|Total number of credits consumed by the node. (Only available when burstable compute is provisioned on the node.)|
60+
|cpu_credits_remaining|CPU credits remaining|Credits|Total number of credits available to burst. (Only available when burstable compute is provisioned on the node.)|
5961
|cpu_percent|CPU percent|Percent|The percentage of CPU in use.|
6062
|iops|IOPS|Count|See the [IOPS definition](../../virtual-machines/premium-storage-performance.md#iops) and [Azure Cosmos DB for PostgreSQL throughput](resources-compute.md)|
6163
|memory_percent|Memory percent|Percent|The percentage of memory in use.|

articles/cosmos-db/postgresql/product-updates.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.custom: mvc
77
ms.service: cosmos-db
88
ms.subservice: postgresql
99
ms.topic: conceptual
10-
ms.date: 01/11/2023
10+
ms.date: 01/23/2023
1111
---
1212

1313
# Product updates for Azure Cosmos DB for PostgreSQL
@@ -22,6 +22,11 @@ Updates that don’t directly affect the internals of a cluster are rolled out g
2222

2323
Updates that change cluster internals, such as installing a [new minor PostgreSQL version](https://www.postgresql.org/developer/roadmap/), are delivered to existing clusters as part of the next [scheduled maintenance](concepts-maintenance.md) event. Such updates are available immediately to newly created clusters.
2424

25+
### January 2023
26+
27+
* General availability: 1- and 2-vCore [burstable compute](concepts-burstable-compute.md) options for single-node clusters (for dev/test and smaller workloads).
28+
* Available in all supported regions. See compute and storage details [here](resources-compute.md#single-node-cluster).
29+
2530
### December 2022
2631

2732
* General availability: Azure Cosmos DB for PostgreSQL is now available in the Sweden Central and Switzerland West regions.

articles/cosmos-db/postgresql/reference-limits.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ to keep nodes healthy:
3535
* 300 for 0-3 vCores
3636
* 500 for 4-15 vCores
3737
* 1000 for 16+ vCores
38+
* Maximum connections per node with burstable compute
39+
* 20 for 1 vCore burstable
40+
* 40 for 2 vCores burstable
3841

3942
The connection limits above are for *user* connections (`max_connections` minus
4043
`superuser_reserved_connections`). We reserve extra connections for
@@ -74,6 +77,20 @@ Azure Cosmos DB for PostgreSQL. If you do need more vCores for a region in your
7477
subscription, see how to [adjust compute
7578
quotas](howto-compute-quota.md).
7679

80+
### Burstable compute
81+
82+
In Azure Cosmos DB for PostgreSQL clusters with [burstable
83+
compute](concepts-burstable-compute.md) enabled, the following features are
84+
currently **not supported**:
85+
86+
* Accelerated networking
87+
* Local caching
88+
* PostgreSQL and Citus version upgrades
89+
* PostgreSQL 11 support
90+
* Read replicas
91+
* High availability
92+
* The [azure_storage](howto-ingest-azure-blob-storage.md) extension
93+
7794
## PostgreSQL
7895

7996
### Database creation

articles/cosmos-db/postgresql/resources-compute.md

Lines changed: 61 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,30 @@ ms.service: cosmos-db
77
ms.subservice: postgresql
88
ms.custom: ignite-2022
99
ms.topic: conceptual
10-
ms.date: 07/08/2022
10+
ms.date: 01/27/2023
1111
---
1212

1313
# Azure Cosmos DB for PostgreSQL compute and storage
1414

1515
[!INCLUDE [PostgreSQL](../includes/appliesto-postgresql.md)]
16+
17+
Compute resources are provided as vCores, which represent the logical CPU of
18+
the underlying hardware. The storage size for provisioning refers to the
19+
capacity available to the coordinator and worker nodes in your cluster. The
20+
storage includes database files, temporary files, transaction logs, and the
21+
Postgres server logs.
22+
23+
## Multi-node cluster
1624

17-
You can select the compute and storage settings independently for
18-
worker nodes and the coordinator node in a cluster.
19-
Compute resources are provided as vCores, which represent
20-
the logical CPU of the underlying hardware. The storage size for
21-
provisioning refers to the capacity available to the coordinator
22-
and worker nodes in your cluster. The storage
23-
includes database files, temporary files, transaction logs, and
24-
the Postgres server logs.
25+
You can select the compute and storage settings independently for worker nodes
26+
and the coordinator node in a multi-node cluster.
2527

2628
| Resource | Worker node | Coordinator node |
2729
|-----------------------|--------------------------------|--------------------------|
2830
| Compute, vCores | 4, 8, 16, 32, 64, 96, 104 | 4, 8, 16, 32, 64, 96 |
2931
| Memory per vCore, GiB | 8 | 4 |
3032
| Storage size, TiB | 0.5, 1, 2 | 0.5, 1, 2 |
3133
| Storage type | General purpose (SSD) | General purpose (SSD) |
32-
| IOPS | Up to 3 IOPS/GiB | Up to 3 IOPS/GiB |
3334

3435
The total amount of RAM in a single node is based on the
3536
selected number of vCores.
@@ -49,36 +50,62 @@ available to each worker and coordinator node.
4950

5051
| Storage size, TiB | Maximum IOPS |
5152
|-------------------|--------------|
52-
| 0.5 | 1,536 |
53-
| 1 | 3,072 |
54-
| 2 | 6,148 |
53+
| 0.5 | 2,300 |
54+
| 1 | 5,000 |
55+
| 2 | 7,500 |
5556

5657
For the entire cluster, the aggregated IOPS work out to the
5758
following values:
5859

5960
| Worker nodes | 0.5 TiB, total IOPS | 1 TiB, total IOPS | 2 TiB, total IOPS |
6061
|--------------|---------------------|-------------------|-------------------|
61-
| 2 | 3,072 | 6,144 | 12,296 |
62-
| 3 | 4,608 | 9,216 | 18,444 |
63-
| 4 | 6,144 | 12,288 | 24,592 |
64-
| 5 | 7,680 | 15,360 | 30,740 |
65-
| 6 | 9,216 | 18,432 | 36,888 |
66-
| 7 | 10,752 | 21,504 | 43,036 |
67-
| 8 | 12,288 | 24,576 | 49,184 |
68-
| 9 | 13,824 | 27,648 | 55,332 |
69-
| 10 | 15,360 | 30,720 | 61,480 |
70-
| 11 | 16,896 | 33,792 | 67,628 |
71-
| 12 | 18,432 | 36,864 | 73,776 |
72-
| 13 | 19,968 | 39,936 | 79,924 |
73-
| 14 | 21,504 | 43,008 | 86,072 |
74-
| 15 | 23,040 | 46,080 | 92,220 |
75-
| 16 | 24,576 | 49,152 | 98,368 |
76-
| 17 | 26,112 | 52,224 | 104,516 |
77-
| 18 | 27,648 | 55,296 | 110,664 |
78-
| 19 | 29,184 | 58,368 | 116,812 |
79-
| 20 | 30,720 | 61,440 | 122,960 |
80-
81-
**Next steps**
62+
| 2 | 4,600 | 10,000 | 15,000 |
63+
| 3 | 6,900 | 15,000 | 22,500 |
64+
| 4 | 9,200 | 20,000 | 30,000 |
65+
| 5 | 11,500 | 25,000 | 37,500 |
66+
| 6 | 13,800 | 30,000 | 45,000 |
67+
| 7 | 16,100 | 35,000 | 52,500 |
68+
| 8 | 18,400 | 40,000 | 60,000 |
69+
| 9 | 20,700 | 45,000 | 67,500 |
70+
| 10 | 23,000 | 50,000 | 75,000 |
71+
| 11 | 25,300 | 55,000 | 82,500 |
72+
| 12 | 27,600 | 60,000 | 90,000 |
73+
| 13 | 29,900 | 65,000 | 97,500 |
74+
| 14 | 32,200 | 70,000 | 105,000 |
75+
| 15 | 34,500 | 75,000 | 112,500 |
76+
| 16 | 36,800 | 80,000 | 120,000 |
77+
| 17 | 39,100 | 85,000 | 127,500 |
78+
| 18 | 41,400 | 90,000 | 135,000 |
79+
| 19 | 43,700 | 95,000 | 142,500 |
80+
| 20 | 46,000 | 100,000 | 150,000 |
81+
82+
## Single node cluster
83+
84+
Single-node cluster resource options differ between [burstable
85+
compute](concepts-burstable-compute.md) and regular compute.
86+
87+
**Burstable compute**
88+
89+
| Resource | Resource value |
90+
|----------|----------------|
91+
| Burstable compute, vCores | 1, 2 |
92+
| Burstable compute memory per vCore, GiB | 4 |
93+
| Storage size, GiB | 32, 64, 128 |
94+
| Storage IOPS | Up to 500 |
95+
| Storage type | General purpose (SSD) |
96+
97+
**Regular compute**
98+
99+
| Resource | Resource value |
100+
|----------|----------------|
101+
| Compute, vCores | 2, 4, 8, 16, 32, 64 |
102+
| Compute memory per vCore, GiB | 4 |
103+
| Storage size, GiB (IOPS, up to) | 128 (500), 256 (1,100), 512 (2,300), 1024† (5,000), 2048† (7,500) |
104+
| Storage type | General purpose (SSD) |
105+
106+
† 1024 GiB and 2048 GiB are supported with 8 vCores or greater.
107+
108+
## Next steps
82109

83110
* Learn how to [create a cluster in the portal](quickstart-create-portal.md)
84111
* Change [compute quotas](howto-compute-quota.md) for a subscription and region

0 commit comments

Comments
 (0)