【问题标题】:Postgres: increasing the bdr.max_databases variable failsPostgres:增加 bdr.max_databases 变量失败
【发布时间】:2018-08-09 11:07:11
【问题描述】:

我目前遇到了关于 BDR 的 postgres 数据库的问题。具体来说,一个 bdr 集群中允许的最大数据库数量。 根据日志,我需要增加 bdr.max_databases 持有的值

运行 postgres=# ALTER SYSTEM SET bdr.max_databases = '64'; 似乎失败了: ERROR: unrecognized configuration parameter "bdr.max_databases"

我找不到关于这个变量的任何文档,所以我有点迷茫。

有没有办法设置 bdr.max_databases 的值?

Postgre 版本:(PostgreSQL) 9.4.14

原来的错误:

2018-08-08 14:04:55 GMT d=db p=45359 a=bdr (6467878782116338286,1,33381,): perdb ERROR:  Too many databases BDR-enabled for bdr.max_databases
2018-08-08 14:04:55 GMT d=db p=45359 a=bdr (6467878782116338286,1,33381,): perdb HINT:  Increase bdr.max_databases above the current limit of 61

【问题讨论】:

    标签: database postgresql replication postgresql-9.4 postgresql-bdr


    【解决方案1】:

    您是否尝试在 postgresql.conf 中设置它,而不是在 ALTER SYSTEM 中设置?我不确定 ALTER SYSTEM 是否处理由扩展添加的配置参数。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-04-26
      • 1970-01-01
      • 2011-02-16
      • 2011-12-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多