myyou
V2EX  ›  Redis

redis 有一对键值假设占用内存为 1M 更新此对键值,键不变,值大小和更新前大小一样,此时 redis 内存占用会变成 2M 吗(存储为 rdb 存储)?

  •  
  •   myyou · Mar 1, 2016 · 3917 views
    This topic created in 3748 days ago, the information mentioned may be changed or developed.
    2 replies    2016-03-02 09:41:02 +08:00
    soli
        1
    soli  
       Mar 1, 2016
    取决于你编译 Redis 时使用的内存管理库。
    myyou
        2
    myyou  
    OP
       Mar 2, 2016
    @soli 编译时直接 make & make install 没有选择内存管理库
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2733 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:47 · PVG 12:47 · LAX 21:47 · JFK 00:47
    ♥ Do have faith in what you're doing.