您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

缩放超大规模 (Citus) 服务器组Scale a Hyperscale (Citus) server group

Azure Database for PostgreSQL-超大规模 (Citus) 提供自助扩展,以处理增加的负载。Azure Database for PostgreSQL - Hyperscale (Citus) provides self-service scaling to deal with increased load. Azure 门户可以轻松地添加新的辅助角色节点,以及增加现有节点的 Vcore。The Azure portal makes it easy to add new worker nodes, and to increase the vCores of existing nodes. 添加节点会导致不停机,甚至会将分片移动到新节点 (称为 分片重新平衡) 发生,而不会中断查询。Adding nodes causes no downtime, and even moving shards to the new nodes (called shard rebalancing) happens without interrupting queries.

添加辅助角色节点Add worker nodes

若要添加节点,请在超大规模 (Citus) 服务器组中转到 " 计算 + 存储 " 选项卡。To add nodes, go to the Compute + storage tab in your Hyperscale (Citus) server group. 拖动 辅助节点计数 的滑块将更改该值。Dragging the slider for Worker node count changes the value.

资源滑块

单击 " 保存 " 按钮以使更改的值生效。Click the Save button to make the changed value take effect.

备注

增加并保存后,使用滑块无法减少工作节点数。Once increased and saved, the number of worker nodes cannot be decreased using the slider.

备注

若要利用新添加的节点,必须重新 平衡分布式表分片,这意味着将某些 分片 从现有节点移到新节点。To take advantage of newly added nodes you must rebalance distributed table shards, which means moving some shards from existing nodes to the new ones.

增加或减少节点上的 VcoreIncrease or decrease vCores on nodes

除了添加新节点以外,还可以增加现有节点的功能。In addition to adding new nodes, you can increase the capabilities of existing nodes. 向上和向下调整计算容量可用于性能试验,以及对流量需求的短期或长期更改。Adjusting compute capacity up and down can be useful for performance experiments as well as short- or long-term changes to traffic demands.

若要更改所有辅助节点的 Vcore,请在 "配置 (每个辅助角色节点) 下调整 vcore 滑块。To change the vCores for all worker nodes, adjust the vCores slider under Configuration (per worker node). 协调器节点的 Vcore 可以独立进行调整。The coordinator node's vCores can be adjusted independently. 调整 "配置 (协调器" 节点 下的 " vcore " 滑块) 。Adjust the vCores slider under Configuration (coordinator node).

后续步骤Next steps