You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> TiCDC is experimental. It is **not recommended** to use this feature in the production environment.
13
+
10
14
[TiCDC](https://github.com/pingcap/ticdc) is a tool for replicating the incremental data of TiDB. This tool is implemented by pulling TiKV change logs. It can restore data to a consistent state with any upstream TSO, and provides [TiCDC Open Protocol](/ticdc/ticdc-open-protocol.md) to support other systems to subscribe to data changes.
11
15
12
16
## TiCDC Architecture
@@ -41,13 +45,28 @@ Currently, the TiCDC sink component supports replicating data to the following d
41
45
- Databases compatible with MySQL protocol. The sink component provides the final consistency support.
42
46
- Kafka based on the TiCDC Open Protocol. The sink component ensures the row-level order, final consistency or strict transactional consistency.
43
47
44
-
### Black and white table lists
45
-
46
-
You can write blacklist and whitelist filtering rules to filter or only replicate all changed data in certain databases or tables. The filtering rules are similar to those of MySQL such as `replication-rules-db` or `replication-rules-table`.
47
-
48
48
## Restrictions
49
49
50
50
To replicate data to TiDB or MySQL, you must ensure that the following requirements are satisfied to guarantee data correctness:
51
51
52
52
- The table to be replicated has the primary key or a unique index.
53
53
- If the table to be replicated only has unique indexes, each column of at least one unique index is explicitly defined in the table schema as `NOT NULL`.
54
+
55
+
### Unsupported scenarios
56
+
57
+
Currently, The following scenarios are not supported:
58
+
59
+
- The TiKV cluster that uses RawKV alone.
60
+
- The [new framework for collations](/character-set-and-collation.md#new-framework-for-collations) in TiDB v4.0. Before you enable this feature, make sure that the downstream cluster is the TiDB cluster with the same collation as those in the upstream; otherwise, inconsistent collations lead to the issue that the data cannot be located.
61
+
- The [DDL operation `CREATE SEQUENCE`](/sql-statements/sql-statement-create-sequence.md) and the [SEQUENCE function](/sql-statements/sql-statement-create-sequence.md#sequence-function) in TiDB v4.0. When the upstream TiDB uses `SEQUENCE`, TiCDC ignores `SEQUENCE` DDL operations/functions performed upstream. However, DML operations using `SEQUENCE` functions can be correctly replicated.
62
+
- The [TiKV Hibernate Region](https://github.com/tikv/tikv/blob/master/docs/reference/configuration/raftstore-config.md#hibernate-region). TiCDC prevents the Region from entering the hibernated state.
63
+
- The scheduling of existing replication tables to new TiCDC nodes, after the capacity of the TiCDC cluster is scaled out.
64
+
- The replication of Black and white table lists.
65
+
66
+
## Manage TiCDC Cluster and Replication Tasks
67
+
68
+
For details, see [Manage TiCDC Cluster and Replication Tasks](/ticdc/manage-ticdc.md).
69
+
70
+
## TiCDC Open Protocol
71
+
72
+
TiCDC Open Protocol is a row-level data change notification protocol that provides data sources for monitoring, caching, full-text indexing, analysis engines, and master-slave replication between different databases. TiCDC complies with TiCDC Open Protocol and replicates data changes of TiDB to third-party data medium such as MQ (Message Queue). For more information, see [TiCDC Open Protocol](/ticdc/ticdc-open-protocol.md).
0 commit comments