redisBgRewriteAOF: redisBgRewriteAOF

Description Usage Details Value Author(s) References

View source: R/controlCMD.R

Description

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

Usage

1

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


bwlewis/rredis documentation built on Jan. 3, 2022, 4:53 p.m.