Skip to content

Commit

Permalink
add Move Tables section
Browse files Browse the repository at this point in the history
Signed-off-by: Verónica López <gveronicalg@gmail.com>
  • Loading branch information
Verolop committed Feb 9, 2024
1 parent 94cf414 commit 9c6b4fb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/zh/docs/19.0/concepts/move-tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Move Tables
---

"MoveTables"基于VReplication的新流程,能让你实现零停机时间内,把表从一个键空间迁移到另一个,即在不同的物理MySQL实例间搬迁数据。

## 生产流量影响小秘诀
内部来说,MoveTables 操作既包含了表的复制,也涉及到对表更改的实时订阅。Vitess利用批处理技术,旨在提升表复制和应用订阅更改的效率。通俗讲,修改频率低的表迁移会更快一些。

迁移过程中,数据是从副本而非主库复制的,几乎对生产流量无影响。

在 MoveTables 操作的`SwitchTraffic` 阶段,对主库来说,Vitess可能短暂不可用。这种情况通常只持续几秒钟,但如果系统主从复制延迟较大,不可用时间可能会相应增长。

0 comments on commit 9c6b4fb

Please sign in to comment.