you can unify database with write-ahead log using a persistent data structure. It also gives you cheap/free snapshots/checkpoints.