Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: update some description about tidb-binlog and sync-diff-inspector (#4040) #4043

Merged
merged 1 commit into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sync-diff-inspector/sync-diff-inspector-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GitHub 地址:[sync-diff-inspector](https://github.com/pingcap/tidb-tools/tree

### 使用限制

* 目前不支持在线校验,需要保证上下游校验的表中没有数据写入,或者保证某个范围内的数据不再变更,通过配置 `range` 来校验这个范围内的数据。
* 对于 MySQL 和 TiDB 之间的数据同步不支持在线校验,需要保证上下游校验的表中没有数据写入,或者保证某个范围内的数据不再变更,通过配置 `range` 来校验这个范围内的数据。

* 不支持 JSON、BIT、BINARY、BLOB 等类型的数据,在校验时需要设置 `ignore-columns` 忽略检查这些类型的数据。

Expand Down
4 changes: 4 additions & 0 deletions tidb-binlog/tidb-binlog-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ aliases: ['/docs-cn/v3.1/reference/tidb-binlog/faq/']

- 对于有写入或更新数据的事务有一点性能影响。延迟上,在 Prewrite 阶段要并发写一条 p-binlog 成功后才可以提交事务,一般写 binlog 比 KV Prewrite 快,所以不会增加延迟。可以在 Pump 的监控面板看到写 binlog 的响应时间。

## TiDB Binlog 的同步延迟一般为多少?

TiDB Binlog 的同步延迟为秒级别,在非业务高峰时延迟一般为 3 秒左右。

## Drainer 同步下游 TiDB/MySQL 的帐号需要哪些权限?

Drainer 同步帐号需要有如下权限:
Expand Down