Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

redisBgRewriteAOF

redisBgRewriteAOF


Description

Re-write the Redis append-only file in the background.

Usage

redisBgRewriteAOF()

Details

BGREWRITEAOF rewrites the Append Only File in the background when it gets too big. The Redis Append Only File is a Journal, so every operation modifying the dataset is logged in the Append Only File (and replayed at startup). This means that the Append Only File always grows. In order to rebuild its content the BGREWRITEAOF creates a new version of the append only file starting directly form the dataset in memory in order to guarantee the generation of the minimal number of commands needed to rebuild the database. (These details are copied verbatim from the Redis master documentation, see the references below.)

Value

Nothing is returned.

Author(s)

B. W. Lewis

References

http://redis.io/commands


rredis

"Redis" Key/Value Database Client

v1.7.0
Apache License (>= 2.0)
Authors
B. W. Lewis
Initial release
2015-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.