本页面介绍了使用
RPM 部署选项的 AlloyDB Omni 版本
18.1.0。
选择其他部署选项。
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
配置 AlloyDB Omni 数据库参数
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
选择文档版本:
如需为 AlloyDB Omni 配置数据库参数,您可以在以下任一位置更新
全局统一配置 (GUC) 参数:
postgresql.conf 文件,适用于在虚拟机上运行 AlloyDB Omni 的环境。
使用 RPM 在 AlloyDB Omni 中更新参数
在采用 RPM 安装的 AlloyDB Omni 中,您可以通过修改 postgresql.conf 文件来更新参数,如下所示:
找到用于 AlloyDB Omni 安装的 postgresql.conf 配置文件。
使用文本编辑器在 postgresql.conf 中添加或更新数据库标志。
例如,如需强制执行密码到期,请在 postgresql.conf 文件中设置以下标志:
password.enforce_expiration = ON
添加或修改数据库标志后,请通过重启 AlloyDB Omni 服务来重新加载 postgresql.conf 文件,以使更改生效:
sudo systemctl restart alloydbomni18
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-07-15。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-07-15。"],[],[]]