Redis 教程 Redis Lastsave 命令

weldon · 2022-03-04 10:33:40 · 热度: 2

Redis Lastsave 命令返回最近一次 Redis 成功将数据保存到磁盘上的时间,以 UNIX 时间戳格式表示。

语法

redis Lastsave 命令基本语法如下:

redis 127.0.0.1:6379> LASTSAVE

可用版本

>= 1.0.0

返回值

字符串,文本行的集合。

实例

redis 127.0.0.1:6379> LASTSAVE 
(integer) 1410853592

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册