Skip to content

Commit

Permalink
modify some desc about compaction and replication-between-clusters (#…
Browse files Browse the repository at this point in the history
…2107) (#2111)

* modify some desc

* Update docs-2.0/8.service-tuning/compaction.md

Co-authored-by: jinyingsunny <112+sunny.liu@vesoft.com>
Co-authored-by: abby.huang <78209557+abby-cyber@users.noreply.github.com>

Co-authored-by: jinyingsunny <106510322+jinyingsunny@users.noreply.github.com>
Co-authored-by: jinyingsunny <112+sunny.liu@vesoft.com>
  • Loading branch information
3 people committed Sep 2, 2022
1 parent 18dccc1 commit 8f954b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/8.service-tuning/compaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ nebula> SHOW JOB <job_id>;
- 白天时设置`disable_auto_compactions`为`false`,提升短时间内的读取性能。
-->

- 为控制`Compaction`的读写速率,请在配置文件`nebula-storaged.conf`中设置如下参数:
- 为控制`Compaction`的写入速率,请在配置文件`nebula-storaged.conf`中设置如下参数(注:此参数限制全部写入,包括正常写入和 Compaction)

```bash
# 读写速率限制为 20MB/S。
# 写入速度限制为 20MB/S。
--rocksdb_rate_limit=20 (in MB/s)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。

### 从集群中已经有 data 了,数据同步会有影响吗?

仍然会进行全量数据同步。如果从集群中的数据是主集群数据的子集,最终会数据一致;如果不是主集群数据的子集,从集群不会进行反向同步,而且这部分数据会保留,请确保主从集群数据不会冲突。
仍然会进行全量数据同步。如果从集群中的数据是主集群数据的子集,最终会数据一致;如果不是主集群数据的子集,从集群不会进行反向同步,而且这部分数据可能会受到影响,请确保主从集群数据不会冲突;建议保持从集群数据为空

### 从集群中已经有 Schema 了,数据同步会有影响吗?

Expand Down

0 comments on commit 8f954b4

Please sign in to comment.