美文网首页
Redis常用迁移方法

Redis常用迁移方法

作者: hhl419 | 来源:发表于2016-09-08 18:58 被阅读0次

一、Redis-prot
1.1.项目地址:https://github.com/CodisLabs/redis-port

1.2.总结用途:

  1. redis 集群的扩容与收缩,最经典的需求
  2. 数据异构同步,从 redis 到 mysql等等
  3. redis 原有集群的拆分,按业务线打散成多个集群
  4. redis 当前内存使用,key占比分析
  5. 无用数据的检测和清除
  6. 对于 rdb 文件的备份

1.3.安装
3.1 下载 && 安装
go get -u -d github.com/CodisLabs/redis-port
切换到$GOPATH/src/github.com/CodisLabs/redis-port 目录后执行 make 命令;

二、唯品会Redis 实时迁移工具
https://github.com/vipshop/redis-migrate-tool

相关文章

网友评论

      本文标题:Redis常用迁移方法

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