简体   繁体   English

在AWS RDS PostgreSQL实例中启用地理数据库

[英]Enabling geodatabase in AWS RDS PostgreSQL instance

Superuser permission is required to create a geodatabase in PostgreSQL. 在PostgreSQL中创建地理数据库需要超级用户权限。

However, in AWS RDS instance we are receiving: 但是,在AWS RDS实例中,我们收到:

rds_superuser permission and rds_superuser is not superuser. rds_superuser权限和rds_superuser不是超级用户。

Is there a way to enable geodatabase in AWS RDS PostgreSQL with rds_superuser permission? 有没有办法在AWS RDS PostgreSQL中使用rds_superuser权限启用地理数据库?

You need to create the database and the sde login manually using eg pgAdmin, and grant the rds_superuser group role to the sde login. 您需要使用例如pgAdmin手动创建数据库和sde登录,并将rds_superuser组角色授予sde登录。 Also create a schema named sde in your database, and make the sde login the owner of that schema. 还要在数据库中创建名为sde的模式,并使sde登录成为该模式的所有者。

Then you can create a .sde database connection in ArcCatalog using the sde login and, importantly, the *.rds.amazonaws.com hostname. 然后,您可以使用sde登录在ArcCatalog中创建.sde数据库连接,更重要的是,可以使用* .rds.amazonaws.com主机名创建.sde数据库连接。 Finally you can run the Enable Enterprise Geodatabase using this connection as your input. 最后,您可以使用此连接作为输入运行启用企业级地理数据库。

This only works if you connect to the database using the *.rds.amazonaws.com hostname. 仅当使用* .rds.amazonaws.com主机名连接到数据库时,此选项才有效。 Apparently, ESRI uses the hostname to determine if the database in question is an RDS server. 显然,ESRI使用主机名来确定相关数据库是否是RDS服务器。

Once you've enabled the geodatabase you can connect to it with .sde connections using other dns aliases as well. 启用地理数据库后,您也可以使用其他dns别名与.sde连接进行连接。

Refer to the ESRI documentation for further details: http://server.arcgis.com/en/server/latest/cloud/amazon/create-geodatabase-in-amazon-rds-for-postgresql.htm 有关更多详细信息,请参阅ESRI文档: http//server.arcgis.com/en/server/latest/cloud/amazon/create-geodatabase-in-amazon-rds-for-postgresql.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM