当前位置:网站首页>Redis data migration: Method 1 RDB
Redis data migration: Method 1 RDB
2022-07-19 03:53:00 【Lao Wang's notes】
Single machine migration , adopt RDB transfer
Source instance :127.0.0.1:7000
Examples of goals :127.0.0.1:8000
127.0.0.1:7000 There is k1-k100, altogether 100 individual key;
step1,redis 7000 perform bgsave, Save the data
standalone]# redis-cli -h 127.0.0.1 -p 7000 bgsave
Background saving startedstep2, Copy 7000.rdb by 8000.rdb
standalone]# cp 7000.rdb 8000.rdbstep3, start-up 8000.rdb
standalone]# redis-server 8000.confstep4 verification redis 800 Medium key
standalone]# redis-cli -h 127.0.0.1 -p 8000 keys "*"
1) "k10"
2) "k4"
3) "k45"
4) "k64"
5) "k67"
6) "k13"
7) "k97"
8) "k90"
9) "k43"
10) "k39"
11) "k68"
12) "k3"
13) "k29"
14) "k26"Migration complete
边栏推荐
- AI opencvsharp big picture to small picture (case version)
- 程序分析与优化 - 11 多分支分析
- Matlab在线性代数中的应用
- [C language errata] error in getting array length in function
- SparkCore核心设计:RDD,220716,
- Group convolution
- Redis Data Migration Method III
- [nodejs] npm/nrm cannot load the file because the script solution is prohibited in this system
- 容器适配器-栈,队列,优先级队列
- Artifact website directories are all websites that are just needed and easy to use
猜你喜欢

电脑绘画软件哪个好用:试试Artweaver Plus吧,媲美sai绘画软件 | 最新版本的artweaver下载

v-for 中 key 的作用

【论文摘要】记录一些感兴趣的摘要和特别领域论文的方法截图。

(21) blender source code analysis: click the mouse to add the message to the queue

kubernetes学习之持久化存储StorageClass(4)

Doris学习笔记之查询

go环境安装

HCIP第六天笔记

Mouse slide two pictures before and after comparison JS plug-in

EfficientNet系列(1): EfficientNetV2网络详解
随机推荐
数字孪生-第二章、数字孪生技术
掩饰性治疗
初识ESP8266(二)————搭建网络服务器实现远程控制
SparkCore核心设计:RDD,220716,
h5内嵌app,后和web如何进行通信?h5和web通信
神器网站目录,全都是刚需好用的网站
Masked treatment
Group 卷积
Matlab绘制激活函数sigmoid,Relu
AI opencvsharp big picture to small picture (case version)
kubernetes学习之持久化存储StorageClass(4)
企业钟情于混合 App 开发,小程序容器技术能让效率提升 100%
Underline shortcut
【LeetCode】558. Intersection of quadtree
Redis数据迁移方法四
Frequency school and Bayes school
【C语言】0基础教程——文件操作(未完待续)
Mouse slide two pictures before and after comparison JS plug-in
Understanding of random forest
QT OpenGL moves 3D objects with mouse and keyboard (set camera)