Skip to content

Commit 249c1fd

Browse files
authored
Merge pull request #198523 from MeeraDi/wb-article-cleanup-606098
Article Clean-up: 606098
2 parents 33d0064 + e12293f commit 249c1fd

File tree

2 files changed

+35
-40
lines changed

2 files changed

+35
-40
lines changed

articles/postgresql/hyperscale/howto-restart.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Restart server - Hyperscale (Citus) - Azure Database for PostgreSQL
3-
description: How to restart the database in Azure Database for PostgreSQL - Hyperscale (Citus)
3+
description: Learn how to restart all nodes in a Hyperscale (Citus) server group from the Azure portal.
4+
ms.custom: kr2b-contr-experiment
45
ms.author: jonels
56
author: jonels-msft
67
ms.service: postgresql
@@ -11,19 +12,18 @@ ms.date: 05/06/2022
1112

1213
# Restart Azure Database for PostgreSQL - Hyperscale (Citus)
1314

14-
If you'd like to restart your Hyperscale (Citus) server group, you can do it
15-
from the group's **Overview** page in the Azure portal. Select the **Restart**
16-
button on the top bar. A confirmation dialog will appear. Select **Restart
17-
all** to continue.
15+
You can restart your Hyperscale (Citus) server group for the Azure portal. Restarting the server group applies to all nodes; you can't selectively restart
16+
individual nodes. The restart applies to all PostgreSQL server processes in the nodes. Any applications attempting to use the database will experience
17+
connectivity downtime while the restart happens.
1818

19-
> [!NOTE]
20-
> If the Restart button is not yet present for your server group, please open
21-
> an Azure support request to restart the server group.
19+
1. In the Azure portal, navigate to the server group's **Overview** page.
2220

23-
Restarting the server group applies to all nodes; you can't selectively restart
24-
individual nodes. The restart applies to the PostgreSQL server processes in the
25-
nodes. Any applications attempting to use the database will experience
26-
connectivity downtime while the restart happens.
21+
1. Select **Restart** on the top bar.
22+
> [!NOTE]
23+
> If the Restart button is not yet present for your server group, please open
24+
> an Azure support request to restart the server group.
25+
26+
1. In the confirmation dialog, select **Restart all** to continue.
2727

2828
**Next steps**
2929

articles/postgresql/hyperscale/howto-scale-rebalance.md

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Rebalance shards - Hyperscale (Citus) - Azure Database for PostgreSQL
3-
description: Distribute shards evenly across servers for better performance
3+
description: Learn how to use the Azure portal to rebalance data in a server group using the Shard rebalancer.
4+
ms.custom: kr2b-contr-experiment
45
ms.author: jonels
56
author: jonels-msft
67
ms.service: postgresql
@@ -11,49 +12,43 @@ ms.date: 07/20/2021
1112

1213
# Rebalance shards in Hyperscale (Citus) server group
1314

14-
To take advantage of newly added nodes you must rebalance distributed table
15-
[shards](concepts-distributed-data.md#shards), which means moving
16-
some shards from existing nodes to the new ones. Hyperscale (Citus) offers
17-
zero-downtime rebalancing, meaning queries can run without interruption during
15+
To take advantage of newly added nodes, rebalance distributed table
16+
[shards](concepts-distributed-data.md#shards). Rebalancing moves shards from existing nodes to the new ones. Hyperscale (Citus) offers
17+
zero-downtime rebalancing, meaning queries continue without interruption during
1818
shard rebalancing.
1919

20-
## Determine if the server group needs a rebalance
20+
## Determine if the server group is balanced
2121

22-
The Azure portal can show you whether data is distributed equally between
23-
worker nodes in a server group. To see it, go to the **Shard rebalancer** page
24-
in the **Server group management** menu. If data is skewed between workers,
25-
you'll see the message **Rebalancing is recommended**, along with a list of the
26-
size of each node.
22+
The Azure portal shows whether data is distributed equally between
23+
worker nodes in a server group or not. From the **Server group management** menu, select **Shard rebalancer**.
2724

28-
If data is already balanced, you'll see the message **Rebalancing is not
29-
recommended at this time**.
25+
- If data is skewed between workers: You'll see the message, **Rebalancing is recommended** and a list of the size of each node.
3026

31-
## Run the shard rebalancer
27+
- If data is balanced: You'll see the message, **Rebalancing is not recommended at this time**.
3228

33-
To start the shard rebalancer, you need to connect to the coordinator node of
34-
the server group and run the
35-
[rebalance_table_shards](reference-functions.md#rebalance_table_shards)
36-
SQL function on distributed tables. The function rebalances all tables in the
29+
## Run the Shard rebalancer
30+
31+
To start the Shard rebalancer, connect to the coordinator node of the server group and then run the [rebalance_table_shards](reference-functions.md#rebalance_table_shards) SQL function on distributed tables.
32+
33+
The function rebalances all tables in the
3734
[colocation](concepts-colocation.md) group of the table named in its
38-
argument. Thus you do not have to call the function for every distributed
39-
table, just call it on a representative table from each colocation group.
35+
argument. You don't have to call the function for every distributed
36+
table. Instead, call it on a representative table from each colocation group.
4037

4138
```sql
4239
SELECT rebalance_table_shards('distributed_table_name');
4340
```
4441

4542
## Monitor rebalance progress
4643

47-
To watch the rebalancer after you start it, go back to the Azure portal. Open
48-
the **Shard rebalancer** page in **Server group management**. It will show the
49-
message **Rebalancing is underway** along with two tables.
44+
You can view the rebalance progress from the Azure portal. From the **Server group management** menu, select **Shard rebalancer** . The
45+
message **Rebalancing is underway** displays with two tables:
5046

51-
The first table shows the number of shards moving into or out of a node, for
52-
example, "6 of 24 moved in." The second table shows progress per database
53-
table: name, shard count affected, data size affected, and rebalancing status.
47+
- The first table shows the number of shards moving into or out of a node. For
48+
example, "6 of 24 moved in."
49+
- The second table shows progress per database table: name, shard count affected, data size affected, and rebalancing status.
5450

55-
Select the **Refresh** button to update the page. When rebalancing is complete,
56-
it will again say **Rebalancing is not recommended at this time**.
51+
Select **Refresh** to update the page. When rebalancing is complete, you'll see the message **Rebalancing is not recommended at this time**.
5752

5853
## Next steps
5954

0 commit comments

Comments
 (0)