gpt4 book ai didi

postgresql - 如何在 Azure PostgreSQL 上编辑 postgresql.conf?

转载 作者:行者123 更新时间:2023-12-03 01:34:08 26 4
gpt4 key购买 nike

我需要将 log_hostname 更改为关闭,以尝试按照建议修复性能问题 here 。如何访问 Azure PostgreSQL 实例的 postgresql.conf 文件?

log_hostname 不是 GUI 中服务器参数下提供的参数之一。

如何编辑它?是否可以通过 pgAdmin 访问它?

<小时/>

编辑:嗯,我所要求的可能是不可能的:

Not all PostgreSQL parameters are available for you to reconfigure in Azure Database for PostgreSQL. If a PostgreSQL parameter is not listed in your server's Azure portal Server parameters window, then it cannot be reconfigured from the default.

To review the current list of configurable parameters, navigate to the Server parameters window in the Azure portal. A few Postgres parameters require you to restart the server for them to take effect. These are indicated by the property 'Static'

.

最佳答案

除了那里的文档之外,您的说法是正确的。

您还可以使用 az cli 搜索配置参数详细信息: https://learn.microsoft.com/en-us/azure/postgresql/howto-configure-server-parameters-using-cli

或者像您一样通过门户: https://learn.microsoft.com/en-us/azure/postgresql/howto-configure-server-parameters-using-portal

但目前看来 log_hostname 在 Azure 中无法更改: az cli postgres

关于postgresql - 如何在 Azure PostgreSQL 上编辑 postgresql.conf?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59724265/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com