美文网首页
redis迁移工具参考说明

redis迁移工具参考说明

作者: 小黑佬 | 来源:发表于2020-03-06 15:46 被阅读0次

    这两天在弄redis 集群迁移····从自建环境8节点迁移到自建环境6节点。折腾了很久···
    redis 集群模式是Cluster 5.0.0版本以上。
    目前还是测试紧阿里得redis-shake 工具。
    终于测试完毕,使用RedisShake工具,集群迁移通过。

    2020/03/06 16:42:56 [INFO] dbSyncer[0] sync:  +forwardCommands=12     +filterCommands=0      +writeBytes=330
    2020/03/06 16:42:56 [INFO] dbSyncer[3] sync:  +forwardCommands=4095   +filterCommands=0      +writeBytes=282629
    2020/03/06 16:42:56 [INFO] dbSyncer[2] total = 178.303MB -    178.303MB [100%]  entry=200915      
    2020/03/06 16:42:56 [INFO] dbSyncer[2] total = 178.303MB -    178.303MB [100%]  entry=200915      
    2020/03/06 16:42:56 [INFO] dbSyncer[2] sync rdb done
    

    找了很多工具:


    image.png

    迁移工具参考说明
    使用Redis-cli的AOF文件回放方式迁移
    使用Redis-cli的RDB文件导出方式迁移
    Redis Cluster集群迁移(推荐使用RedisShake)

    相关文章

      网友评论

          本文标题:redis迁移工具参考说明

          本文链接:https://www.haomeiwen.com/subject/cjnirhtx.html