mirror of https://github.com/tikv/website.git
parent
0e7fd0a378
commit
7df7e5ef3d
|
@ -353,12 +353,12 @@ tikv-cdc cli processor list --pd=http://192.168.100.122:2379`
|
|||
|
||||
同步存量数据的步骤:
|
||||
|
||||
1) 通过 TiKV-BR 备份上游集群数据,并指定足够长的 `--gcttl` 参数。参考 [Backup Raw Data]。
|
||||
1) 通过 TiKV-BR 备份上游集群数据,并指定足够长的 `--gcttl` 参数。参考 [备份 Raw 模式数据]。
|
||||
> 注意:`--gcttl` 需要包括数据备份时长、数据恢复时长、以及其他准备工作的时长。如果无法预计这些时长,可以临时停止 GC(`SET GLOBAL tidb_gc_enable = "OFF";`,见 [tidb_gc_enable]),并在 changefeed 启动后恢复(`SET GLOBAL tidb_gc_enable = "ON";`)。
|
||||
|
||||
2) 记录步骤 1 备份结果中的 `backup-ts`。
|
||||
|
||||
3) 将备份数据恢复到下游集群。参考 [Restore Raw Data]。
|
||||
3) 将备份数据恢复到下游集群。参考 [恢复 Raw 模式数据]。
|
||||
|
||||
4) 创建 changefeed,并指定 `--start-ts=<backup-ts>`。
|
||||
|
||||
|
@ -370,6 +370,6 @@ tikv-cdc cli processor list --pd=http://192.168.100.122:2379`
|
|||
[TiKV-BR]: ../../br/backup-restore
|
||||
[NFS]: https://en.wikipedia.org/wiki/Network_File_System
|
||||
[S3]: https://aws.amazon.com/s3/
|
||||
[Backup Raw Data]: ../../br/backup-restore/#backup-raw-data
|
||||
[Restore Raw Data]: ../../br/backup-restore/#restore-raw-data
|
||||
[备份 Raw 模式数据]: ../../br/backup-restore-cn/#备份集群-raw-模式数据
|
||||
[恢复 Raw 模式数据]: ../../br/backup-restore-cn/#恢复-raw-模式备份数据
|
||||
[tidb_gc_enable]: https://docs.pingcap.com/zh/tidb/stable/system-variables#tidb_gc_enable-%E4%BB%8E-v50-%E7%89%88%E6%9C%AC%E5%BC%80%E5%A7%8B%E5%BC%95%E5%85%A5
|
||||
|
|
|
@ -18,5 +18,5 @@ TiKV offers the following key features:
|
|||
| [CAS (Compare-And-Swap) on RawKV](../cas) | RawKV supports the compare-and-swap operation to achieve synchronization in multi-threading. |
|
||||
| [Distributed Transaction](../distributed-transaction) | Similar to [Google Spanner](https://ai.google/research/pubs/pub39966), TiKV supports externally consistent distributed transactions. |
|
||||
| [TiKV API V2](../api-v2) | TiKV API v2 provides new storage format to support more features, such as **Changed Data Capture** and **Key Space**. |
|
||||
| [RawKV BR](../br/backup-restore.md) | RawKV supports backup and restoration. |
|
||||
| [RawKV BR](../br/backup-restore) | RawKV supports backup and restoration. |
|
||||
| [RawKV CDC](../cdc/cdc) | RawKV supports Changed Data Capture. |
|
Loading…
Reference in New Issue