简体   繁体   English

当 wal_level 设置为最小时,postgres 11.4 无法启动

[英]postgres 11.4 fails to start when wal_level is set to minimal

I have migrated my data by dumping and reloading it from pg9.3 to pg11.4 which went fine.我已经通过转储并将其从 pg9.3 重新加载到 pg11.4 来迁移我的数据,这一切顺利。 And I am able to run the new server with default config我可以使用默认配置运行新服务器

The pg11.4 works fine but it fails to restart when I set in postgres.conf to pg11.4 工作正常,但是当我在postgres.conf中设置为时它无法重新启动

wal_level = minimal

This same setting works in my 9.3 instance but not in 11.4同样的设置适用于我的 9.3 实例但不适用于 11.4

Is there any config setting that could conflict with wal_level = minimal ?是否有任何配置设置可能与wal_level = minimal冲突?

It is no problem to start PostgreSQL v11 with wal_level=minimal unless there is another configuration setting that conflicts with it.使用wal_level=minimal启动 PostgreSQL v11 没有问题,除非有另一个配置设置与之冲突。 For example, archive_mode cannot be on .例如, archive_mode不能为on

Look into the PostgreSQL log file for the error message, or start PostgreSQL manually with查看 PostgreSQL 日志文件以获取错误消息,或使用以下命令手动启动 PostgreSQL

pg_ctl start -D datadir

to see the message that will tell you the exact reason why the server failed to start.查看将告诉您服务器无法启动的确切原因的消息。

暂无
暂无

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

相关问题 Postgres 致命:热备用是不可能的,因为 wal_level 在主服务器上没有设置为“副本”或更高 - Postgres FATAL: hot standby is not possible because wal_level was not set to "replica" or higher on the master server AWS RDS Postgres:更改 rds.logical_replication = 1 后 WAL_LEVEL 未设置为“逻辑” - AWS RDS Postgres: WAL_LEVEL not set to 'logical' after changing rds.logical_replication = 1 Patroni 不会更改 postgresql.conf 中的 wal_level - Patroni Does Not Change wal_level in postgresql.conf 错误:无法创建复制槽“my_subscription”:错误:逻辑解码需要 wal_level >= 逻辑 - ERROR: could not create replication slot "my_subscription": ERROR: logical decoding requires wal_level >= logical 我可以将 wal_level 从逻辑更改为副本吗? 如果是,对复制有什么影响吗? - Can I change the wal_level from logical to replica? If so are any impact on the replication? 在 PostgreSQL 13 上更改“wal_level”(通过客户端会话)未得到尊重 - Changing "wal_level" on PostgreSQL 13 (via client session) is not being respected Postgres HA(基于WAL装运)失败 - Postgres HA (based on WAL-shipping) fails 使用gzip时,WAL存档会挂在postgres中 - WAL Archive hangs in postgres when gzip is used 如何在设置时更改 postgres docker image wal 级别? - How to change postgres docker image wal level on setup? 如何将 Postgres pg_wal 设置为符号链接 - How to set Postgres pg_wal as symbolic link
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM