Maintenance

mem-sync maintain
mem-sync status
  1. Backup the local database.
  2. Prune low-score observations.
  3. Rebuild FTS indexes.
  4. Optimize SQLite.
  5. Validate integrity and restore backup on failure.
Tune pruning carefully

Use conservative maintenancePruneOlderThanDays and maintenancePruneScoreThreshold values.