X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/851ac9d072a0a95e93b4e0949da95bd72abe8056..8e2a225aa6cd1848a282d3d96742759cc24fc7e8:/redis.conf?ds=sidebyside diff --git a/redis.conf b/redis.conf index 97aea334..0920fe73 100644 --- a/redis.conf +++ b/redis.conf @@ -311,6 +311,26 @@ slave-priority 100 # # maxmemory-samples 3 +################################# MDB ARCHIVAL ################################ + +# When keys are delete due to the memory limit, they are forever lost. In +# some situations, it is valuable to instead "archive" them by storing them +# in another database, even if that database is slower than Redis. Turning +# on keyarchive will store these keys to OpenLDAP's MDB, a very fast embedded +# key/value storage system. When keys are next used, they will be recovered +# back into Redis; further edits will not be saved back to the key archival +# system until the key is again spilled to disk. + +keyarchive no + +# The directory in which the database files will reside. +# +# mdb-environment archive + +# Set the size of the memory map to use for this environment. +# +# mdb-mapsize 10485760 + ############################## APPEND ONLY MODE ############################### # By default Redis asynchronously dumps the dataset on disk. This mode is