rewrite
UK[ˌri:ˈraɪt] US[riˈraɪt]
vt. Rewrite; written reply; processing and writing; rewrite, revise
n. Rewritten or rewritten manuscript; rewritten work
Third person singular: rewrites Plural: rewrites Present participle: rewriting Past tense: rewrote Past participle: rewritten
redis BGREWRITEAOF command syntax
Function:Perform an AOF file rewrite operation. Overwriting creates a size-optimized version of the current AOF file.
Syntax:BGREWRITEAOF
Description:Starting from Redis 2.4, AOF rewriting is triggered by Redis itself, BGREWRITEAOF is only used to manually trigger rewriting operate.
Available versions:>= 1.0.0
Time complexity:O(N), N is to be appended to the AOF file amount of data.
Return:Feedback information.
redis BGREWRITEAOF command example
redis> BGREWRITEAOF Background append only file rewriting started