Redis Server: BGREWRITEAOF
Description
Redis BGREWRITEAOF command instruct Redis to start rewriting process in an Append-Only File. If BGREWRITEAOF fails, no data gets lost as the old AOF will be untouched. The rewrite will be only triggered by Redis if there is not already a background process doing persistence.
If an AOF rewrite is already in progress the command returns an error and no AOF rewrite will be scheduled for a later time.
Syntax:
Basic syntax of redis BGREWRITEAOF command is shown below:
BGREWRITEAOF
Available since
1.0.0.
Return Value
Simple string reply: always OK.
Return Value Type
String
Previous:
Redis Connection SELECT
Next:
BGSAVE
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework