将数据从Cassandra群集迁移到单台计算机

时间:2018-08-20 10:36:24

标签: cassandra

cluster data size我在四台机器上有一个Cassandra集群(四个节点),每个节点的数据大小为745.54 GiB,670.79 GiB,695.65 GiB 634.43 GiB。我需要将所有数据迁移到具有单节点。所有键空间的复制因子均为3,我需要将复制因子更改为1。我在任何地方都找不到任何解决方案,有人告诉我如何将该群集迁移到单台计算机上。

1 个答案:

答案 0 :(得分:1)

您需要拍摄快照:

https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsSnapShot.html

例如单个表快照:

nodetool snapshot --table cyclist_name cycling

还原过程记录在这里: https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsBackupSnapshotRestore.html

相关问题