mirror of
https://github.com/kennethreitz-archive/redis-docs.git
synced 2026-06-05 23:40:18 +00:00
31 lines
1.1 KiB
ReStructuredText
31 lines
1.1 KiB
ReStructuredText
`|Redis Documentation| <index.html>`_
|
||
**BgrewriteaofCommand: Contents**
|
||
`BGREWRITEAOF <#BGREWRITEAOF>`_
|
||
`Return value <#Return%20value>`_
|
||
BgrewriteaofCommand
|
||
===================
|
||
|
||
#sidebar `ControlCommandsSidebar <ControlCommandsSidebar.html>`_
|
||
BGREWRITEAOF
|
||
~~~~~~~~~~~~
|
||
|
||
Please for detailed information about the Redis Append Only File
|
||
check`the Append Only File Howto <AppendOnlyFileHowto.html>`_.
|
||
|
||
BGREWRITEAOF rewrites the Append Only File in background when it
|
||
gets toobig. The Redis Append Only File is a Journal, so every
|
||
operation modifyingthe dataset is logged in the Append Only File
|
||
(and replayed at startup).This means that the Append Only File
|
||
always grows. In order to rebuildits content the BGREWRITEAOF
|
||
creates a new version of the append only filestarting directly form
|
||
the dataset in memory in order to guarantee thegeneration of the
|
||
minimal number of commands needed to rebuild the database.
|
||
|
||
The `Append Only File Howto <AppendOnlyFileHowto.html>`_ contains
|
||
further details.
|
||
|
||
Return value
|
||
------------
|
||
|
||
`Status code reply <ReplyTypes.html>`_
|
||
.. |Redis Documentation| image:: redis.png |