• antirez's avatar
    New RDB v7 opcode: RESIZEDB. · e8614a1a
    antirez authored
    The new opcode is an hint about the size of the dataset (keys and number
    of expires) we are going to load for a given Redis database inside the
    RDB file. Since hash tables are resized accordingly ASAP, useless
    rehashing is avoided, speeding up load times significantly, in the order
    of ~ 20% or more for larger data sets.
    
    Related issue: #1719
    e8614a1a
rdb.c 57.7 KB