DBAtlas · 数据库运维图谱

更改集群设置

Elasticsearch集群/节点

命令

PUT /_cluster/settings
{
  "persistent": {
    "indices.recovery.max_bytes_per_sec": "100mb"
  }
}

作用

更改集群范围的 persistent 或 transient 设置。

适用场景

调整恢复速度等集群行为时。

注意

persistent 设置在重启后保留;transient 设置会丢失,且自 7.16 起已弃用,请勿使用。要将设置恢复为默认值,将其值设为 null。错误的值会影响集群稳定性。

在 DBAtlas 中打开 →

相关内容