BGREWRITEAOFStart an append-only-file rewrite in the background.
| 構文 | BGREWRITEAOF |
| グループ | server |
| 引数の数 | 1 |
| 導入バージョン | 1.0.0 |
| フラグ | write, admin |
| 計算量 | O(S) fan-out; each shard freezes a copy-on-write view and hands serialise plus fsync to its own worker |
| Redis 互換性 | differs: replies +OK rather than Redis's status line, rewrites one AOF per shard, and replies +OK even when AOF is disabled |