• Redis 持久化配置(兼论瞎翻译的问题)


    redis.conf 文件中配置 save

    默认配置项:

    save 900 1
    save 300 10
    save 60 10000

    查了好几个地方都是这么说的:

      第一句的意思:15分钟内修改了一个键就保存???

    往 Redis 里加了一个值,重启服务,没有保存!

    查官网文档:

    save after 900 seconds if there is at least 1 change to the dataset,
    and after 300 seconds if there are at least 10 changes to the dataset

    用自己的CET4 英文水品看下就懂了,

    明显是:修改了至少一个键后过 900 秒保存,

    看起来还是要看官网的,不能偷懒啊。

  • 相关阅读:
    002-mybatis主配置文件
    001-mybatis框架
    mybatis学习
    tcp连接与释放
    浏览器输入url的全过程
    设备
    读写分离(三)
    读写分离(二)
    读写分离(一)
    主从复制(三)
  • 原文地址:https://www.cnblogs.com/mib23/p/11550605.html
Copyright © 2020-2023  润新知