创建 Snowflake Postgres 实例

概述

You can create Snowflake Postgres instances by using either Snowsight or by executing Snowflake SQL statements. You can configure the size of the instance, the storage size, and the Postgres major version when creating an instance. You can also apply network policies to instances at creation time.

权限

要创建 Snowflake Postgres 实例,您必须使用已在账户上被授予 CREATE POSTGRES INSTANCE 权限的角色。默认向 ACCOUNTADMIN 角色授予此权限。

要将此权限授予其他角色,拥有 ACCOUNTADMIN 角色的用户可以运行 GRANT <privileges> ... TO ROLE 命令:

GRANT CREATE POSTGRES INSTANCE ON ACCOUNT TO your_role;
Copy

创建 Postgres 实例

您可以通过 Create 菜单,或在 Postgres Instances 页面中使用 Create 按钮来创建 Postgres 实例。

使用主 Create 菜单:

  1. 在导航菜单顶部,选择 添加仪表板磁贴 (Create)。

  2. 选择 Postgres Instance

  3. 配置实例。

  4. 选择 Create

使用 Postgres 实例页面上的 Create 按钮:

  1. 在导航菜单中,选择 Postgres

  2. Postgres Instances 页面,选择右上角的 Create 按钮。

  3. 选择您的实例配置。

  4. 选择 Create

创建 Snowflake Postgres 实例

创建实例时,将显示连接详情,包括连接实例所需的主机名和凭证。请将这些凭证保存在安全的位置;它们将不会再次显示。如有需要,您可以稍后重新生成凭据。

如果您未选择网络策略,将可以从实例详情页面配置网络设置。有关更多详细信息,请参阅 Snowflake Postgres 网络

Snowflake Postgres 连接信息显示

Creating a new instance takes some time to complete. The instance displays its current state as it is building. See the list of instance states for details about the states that you see while instances are being created.