Dataproc Metastore 缩放比例

创建 Dataproc Metastore 服务时,您可以选择使用 Dataproc Metastore 2 服务Dataproc Metastore 1 服务

本文档介绍了如何控制 Dataproc Metastore 2 的资源消耗。

扩缩因素和版本

Dataproc Metastore 2 使用伸缩比例版本(工作负载)来处理不同级别的稳定性和工作负载。您可以在创建 Dataproc Metastore 服务时选择伸缩系数和版本。

创建 Dataproc Metastore 服务后,您可以通过修改扩缩系数来向上或向下扩缩该服务。缩放因子的范围为 smallXLarge,由介于 0.16.0 之间的数字表示。

如需详细了解版本和伸缩系数,请参阅伸缩系数和工作负载

自动扩缩

Dataproc Metastore 2 还支持自动扩缩。如果您开启自动扩缩功能,则需要设置最小缩放比例和最大缩放比例。设置这些参数后,您的服务会自动增加或减少资源消耗,以运行工作负载。自动扩缩功能仅适用于单区域 Dataproc Metastore 实例。

如需详细了解如何设置自动扩缩,请参阅创建自动扩缩服务

资源受限的区域

Dataproc Metastore 存在于多个资源可用性低于其他地区的区域。这些区域将最大伸缩比例限制为 1,并且不支持自动伸缩。Dataproc Metastore 将以下区域视为资源受限区域:

  • australia-southeast2
  • europe-southwest1
  • europe-west8
  • europe-west9
  • europe-west12
  • southamerica-west1
  • us-east5
  • us-south1
  • me-central1
  • me-central2
  • me-west1

后续步骤