Java API修改Postgres参数:GCP Postgres

发布于 2025-01-29 16:57:14 字数 136 浏览 3 评论 0原文

我们的组织计划从本地迁移到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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

潜移默化 2025-02-05 16:57:15

您可以使用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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文