Java API修改Postgres参数:GCP Postgres
我们的组织计划从本地迁移到GCP Postgres。当前,我们有一个Java程序,可以修改Postgres的配置参数。我知道CloudSQL提供了一个CLI工具来修改或自动化DB参数的修改。但是,我们可以从Java程序调用任何API来修改参数吗? 提前致谢!
Our organisation is planning to migrate to GCP Postgres from on-premise. Currently, we have a JAVA program that modifies the config parameters of Postgres. I understand that CloudSQL provides a CLI tool to modify or automate the modification of DB parameters. However are there any APIs which we can call from the JAVA program to modify the parameters?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用Cloud SQL Admin API使用Cloud SQL实例进行管理。有“ nofollow noreferrer”> client 。
You can use the Cloud SQL Admin API to administrate with Cloud SQL instances. There are Client Libraries for many languages, including Java.