REWRITEAOF
Syntax
REWRITEAOF
Module
adminCategories
admin dangerous fastDescription
Trigger re-writing of append process.
Examples
- Go (Embedded)
- CLI
Trigger re-writing of append process:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
count, err := db.RewriteAOF()
Trigger re-writing of append process:
> REWRITEAOF