Files
redis-docs/docs/BgrewriteaofCommand.rst
T
Kenneth Reitz 525e9fd3d3 all into sphinx
2011-04-06 13:27:48 -04:00

31 lines
1.1 KiB
ReStructuredText
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`|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