【文件属性】:
文件名称:去重新迁移
文件大小:15KB
文件格式:ZIP
更新时间:2024-03-06 13:37:32
Go
去重新迁移
通过键模式将数据从一个Redis实例复制到另一个实例的脚本。
用法
go-redis-migrate copy [sourceHost:port] [targetHost:port] --pattern= " prefix:* "
模式-可以是命令支持的全局样式的模式。
其他标志:
--report int Report current status every N seconds (default 1)
--scanCount int COUNT parameter for redis SCAN command (default 100)
--exportRoutines int Number of parallel export goroutines (default 30)
--pushRoutines int
【文件预览】:
go-redis-migrate-master
----go.mod(210B)
----main.go(693B)
----go.sum(4KB)
----src()
--------reporter()
--------scanner()
--------pusher()
----LICENSE(11KB)
----README.md(3KB)
----docker-compose.yml(366B)
----cmd()
--------copy.go(2KB)
--------fill.go(2KB)
--------root.go(3KB)