From 8c435aa4b97246428e920842bb2d624af7e6871b Mon Sep 17 00:00:00 2001 From: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:18:22 +0800 Subject: [PATCH] cherry pick #3661 to release-3.1 Signed-off-by: ti-srebot --- sync-diff-inspector/sync-diff-inspector-overview.md | 2 +- tidb-binlog/tidb-binlog-faq.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sync-diff-inspector/sync-diff-inspector-overview.md b/sync-diff-inspector/sync-diff-inspector-overview.md index ad842ee184ab7..66c2b95293a97 100644 --- a/sync-diff-inspector/sync-diff-inspector-overview.md +++ b/sync-diff-inspector/sync-diff-inspector-overview.md @@ -22,7 +22,7 @@ This guide introduces the key features of sync-diff-inspector and describes how ### Restrictions -* At present, online check is not supported. Ensure that no data is written into the upstream-downstream checklist, and that data in a certain range is not changed. You can check data in this range by setting `range`. +* Online check is not supported for data migration between MySQL and TiDB. Ensure that no data is written into the upstream-downstream checklist, and that data in a certain range is not changed. You can check data in this range by setting `range`. * `JSON`, `BIT`, `BINARY`, `BLOB` and other types of data are not supported. When you perform a data check, you need to set `ignore-columns` to skip checking these types of data. diff --git a/tidb-binlog/tidb-binlog-faq.md b/tidb-binlog/tidb-binlog-faq.md index 29c681a104035..04ba6d16e56b0 100644 --- a/tidb-binlog/tidb-binlog-faq.md +++ b/tidb-binlog/tidb-binlog-faq.md @@ -14,6 +14,10 @@ This document collects the frequently asked questions (FAQs) about TiDB Binlog. - There is a slight performance impact on `INSERT`, `DELETE` and `UPDATE` transactions. In latency, a p-binlog is written concurrently in the TiKV prewrite stage before the transactions are committed. Generally, writing binlog is faster than TiKV prewrite, so it does not increase latency. You can check the response time of writing binlog in Pump's monitoring panel. +## How high is the replication latency of TiDB Binlog? + +The latency of TiDB Binlog replication is measured in seconds, which is generally about 3 seconds during off-peak hours. + ## What privileges does Drainer need to replicate data to the downstream MySQL or TiDB cluster? To replicate data to the downstream MySQL or TiDB cluster, Drainer must have the following privileges: