SAVE

简介:

SAVE 命令执行一个同步操作,以RDB文件的方式保存所有数据的快照 很少在生产环境直接使用SAVE 命令,因为它会阻塞所有的客户端的请求,可以使用BGSAVE 命令代替. 如果在BGSAVE命令的保存数据的子进程发生错误的时,用 SAVE命令保存最新的数据是最后的手段,详细的说明请参考持久化文档

##返回值

simple-string-reply: 命令成功返回OK.






本文作者:陈群
本文来自云栖社区合作伙伴rediscn,了解相关信息可以关注redis.cn网站。
目录
相关文章
|
9月前
--save 和 --save-dev简述
--save 和 --save-dev简述
60 0
--save 和 --save-dev简述
A2019 Save the Room
A2019 Save the Room
49 0
A2019 Save the Room
|
移动开发
同样是保存模型,model.save()和model. save_weights ()有何区别
同样是保存模型,model.save()和model. save_weights ()有何区别
552 0
|
数据挖掘 TensorFlow 算法框架/工具
Load and preprocess images
This tutorial shows how to load and preprocess an image dataset in three ways. First, you will use high-level Keras preprocessing utilities and layers to read a directory of images on disk. Next, you will write your own input pipeline from scratch using tf.data. Finally, you will download a dataset
171 0
|
NoSQL 数据库 Redis
|
Docker 容器 开发者
|
关系型数据库 Oracle 开发工具