myyou
V2EX  ›  Redis

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

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