Why it matters
Partition by time for retention drops and query pruning.
Practical steps
- Choose storage for misc data partition deliberately (SQLite vs Postgres vs KV); document why.
- Implement partition by time for retention drops and query pruning with migrations that are additive and reversible where possible.
- Use transactions / idempotency keys so retries of misc data partition do not double-write.
- Add a fixture DB and migration test covering misc data partition.
- Document backup/restore touching tables used by misc data partition.
Watch out for
- Copy-pasting outdated snippets for misc data partition without re-reading current official docs.
- Shipping misc data partition to production without a staging rehearsal and a documented rollback.